aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-08-09 11:16:09 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-08-09 11:16:09 +0200
commit36bb21d4932e886f6fde10b3d6f956c9243597a5 (patch)
tree349961eeed822ac043a88bc39755dad7accac260
parent71960d285d047c73be334655b0ea2a6d32279948 (diff)
downloadgterm-36bb21d4932e886f6fde10b3d6f956c9243597a5.tar.gz
add glib dep
-rw-r--r--gterm.spec1
-rw-r--r--meson.build9
2 files changed, 6 insertions, 4 deletions
diff --git a/gterm.spec b/gterm.spec
index 3fb4bd5..83c1785 100644
--- a/gterm.spec
+++ b/gterm.spec
@@ -7,6 +7,7 @@ Source: %{name}-%{version}.tar.gz
BuildRequires: gcc binutils
BuildRequires: meson ninja-build
+BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(vte-2.91)
diff --git a/meson.build b/meson.build
index 182bbe2..1fcf142 100644
--- a/meson.build
+++ b/meson.build
@@ -5,12 +5,13 @@ add_global_arguments('-D_POSIX_SOURCE=1', language : 'c')
add_global_arguments('-D_GNU_SOURCE=1', language : 'c')
# pkg-config deps
-gtk_dep = dependency('gtk+-3.0', method: 'pkg-config')
-vte_dep = dependency('vte-2.91', method: 'pkg-config')
+glib_dep = dependency('glib-2.0', method: 'pkg-config')
+gtk_dep = dependency('gtk+-3.0', method: 'pkg-config')
+vte_dep = dependency('vte-2.91', method: 'pkg-config')
executable('gterm',
sources : [ 'gterm.c', 'gcfg.c' ],
- dependencies : [ gtk_dep, vte_dep ],
+ dependencies : [ glib_dep, gtk_dep, vte_dep ],
install : true)
install_man('gterm.1')
install_data('gterm.desktop',
@@ -18,6 +19,6 @@ install_data('gterm.desktop',
executable('gload',
sources : [ 'gload.c', 'gcfg.c' ],
- dependencies : [ gtk_dep ],
+ dependencies : [ glib_dep, gtk_dep ],
install : true)
install_man('gload.1')