[gnome-todo] Add pkgconfig file for external plugins



commit 24901777e38e559bd0687415910cd0c249e6cb46
Author: Patrick Griffis <tingping tingping se>
Date:   Mon Jan 18 20:31:07 2016 -0500

    Add pkgconfig file for external plugins

 configure.ac          |    1 +
 data/Makefile.am      |    4 ++++
 data/gnome-todo.pc.in |    8 ++++++++
 3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c1c63c6..11e0885 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,6 +93,7 @@ AC_CONFIG_FILES([
       src/Makefile
       data/Makefile
       data/icons/Makefile
+      data/gnome-todo.pc
       data/org.gnome.Todo.desktop.in
       plugins/Makefile
       po/Makefile.in
diff --git a/data/Makefile.am b/data/Makefile.am
index 3447944..3cf2bcf 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,5 +1,8 @@
 SUBDIRS = icons
 
+pkgconfigdir = ${libdir}/pkgconfig
+pkgconfig_DATA = gnome-todo.pc
+
 desktopdir = $(datadir)/applications
 desktop_in_files = org.gnome.Todo.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@@ -29,6 +32,7 @@ EXTRA_DIST=                     \
   appdata/org.gnome.Todo.appdata.xml \
   org.gnome.Todo.desktop \
   todo.gresource.xml \
+  gnome-todo.pc.in \
   gtk/menus.ui \
   ui/edit-pane.ui \
   ui/initial-setup.ui \
diff --git a/data/gnome-todo.pc.in b/data/gnome-todo.pc.in
new file mode 100644
index 0000000..9318d6e
--- /dev/null
+++ b/data/gnome-todo.pc.in
@@ -0,0 +1,8 @@
+prefix= prefix@
+exec_prefix=${prefix}
+includedir= includedir@
+
+Name: Gnome Todo
+Description: Header and path for Gnome Todo Plugins
+Version: @VERSION@
+Cflags: -I${includedir}/gnome-todo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]