finch/plugins/meson.build

Wed, 03 Jan 2018 15:40:46 +0100

author
Lubomir Rintel <lkundrak@v3.sk>
date
Wed, 03 Jan 2018 15:40:46 +0100
changeset 38863
ec525e2a86e3
parent 38470
c6e12d79611c
child 38865
a62a8251e350
permissions
-rw-r--r--

finch/meson: fix build with -Dgtkui=false

$ meson build -Dgtkui=false
...
Meson encountered an error in file finch/plugins/meson.build, line 2, column 1:
Unknown variable "x11".

if PLUGINS
	if ENABLE_GTK
		gntclipboard = library('gntclipboard', 'gntclipboard.c',
		    dependencies : [x11, libpurple_dep, libfinch_dep, glib],
		    name_prefix : '',
		    install : true, install_dir : FINCH_PLUGINDIR)

		gntgf = library('gntgf', 'gntgf.c',
		    dependencies : [x11, libpurple_dep, libfinch_dep, glib],
		    name_prefix : '',
		    install : true, install_dir : FINCH_PLUGINDIR)
	endif

	gnthistory = library('gnthistory', 'gnthistory.c',
	    dependencies : [libpurple_dep, libfinch_dep, glib],
	    name_prefix : '',
	    install : true, install_dir : FINCH_PLUGINDIR)

	gntlastlog = library('gntlastlog', 'lastlog.c',
	    dependencies : [libpurple_dep, libfinch_dep, glib],
	    name_prefix : '',
	    install : true, install_dir : FINCH_PLUGINDIR)

	gnttinyurl = library('gnttinyurl', 'gnttinyurl.c',
	    dependencies : [libpurple_dep, libfinch_dep, glib],
	    name_prefix : '',
	    install : true, install_dir : FINCH_PLUGINDIR)

	grouping = library('grouping', 'grouping.c',
	    dependencies : [libpurple_dep, libfinch_dep, glib],
	    name_prefix : '',
	    install : true, install_dir : FINCH_PLUGINDIR)
endif  # PLUGINS

mercurial