summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-23 18:09:26 -0400
committerChristian Hergert <chergert@redhat.com>2019-10-28 10:16:57 -0700
commitdce9ad9576d87cb1244f76e14571b73d09a6a3d8 (patch)
tree8b630d56c414ecf3718940270e60499ced81b0ec
parent6912a8e85a2c05117a47603a49ecb4949607e6de (diff)
downloadlibpeas-dce9ad9576d87cb1244f76e14571b73d09a6a3d8.tar.gz
libpeas-gtk: correct pc file
All of the Requires in this .pc got moved to Requries.private with the move to meson. Here's a diff for visualization: -Name: libpeas-gtk -Description: libpeas-gtk, a GObject plugins library (Gtk widgets) -Requires: glib-2.0 >= 2.38.0, gtk+-3.0 >= 3.0.0, libpeas-1.0 >= 1.22.0 -Version: 1.22.0 +Name: libpeas-gtk-1.0 +Description: GObject plugins library widgetery +Version: 1.24.0 +Requires.private: libpeas-1.0, glib-2.0 >= 2.38.0, gobject-2.0 >= 2.38.0, gobject-introspection-1.0 >= 1.39.0, gtk+-3.0 >= 3.0.0, gmodule-2.0 >= 2.38.0, gio-2.0 >= 2.38.0 +Libs: -L${prefix}//lib -lpeas-gtk-1.0 Cflags: -I${includedir}/libpeas-1.0 -Libs: -L${libdir} -lpeas-gtk-1.0 This commit makes it generally the same as it was before.
-rw-r--r--libpeas-gtk/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpeas-gtk/meson.build b/libpeas-gtk/meson.build
index bf590de..00def42 100644
--- a/libpeas-gtk/meson.build
+++ b/libpeas-gtk/meson.build
@@ -111,10 +111,17 @@ libpeas_gtk_test_dep = declare_dependency(
sources: libpeas_gtk_dep_sources,
)
+libpeas_gtk_pc_reqs = [
+ glib_dep,
+ gtk_dep,
+ package_string + ' >= @0@'.format(version)
+]
+
libpeas_gtk_pc = pkg.generate(
libpeas_gtk_sha,
name: package_gtk_string,
description: 'GObject plugins library widgetery',
+ requires: libpeas_gtk_pc_reqs,
subdirs: package_string,
install_dir: pkgconfigdir,
)