[gnome-builder/wip/libide] libide: add libide-1.0.pc



commit 98fc0c6ecb4c3aa2b8a76713a2eb8d900b2cf272
Author: Christian Hergert <christian hergert me>
Date:   Sun Feb 15 22:40:08 2015 -0800

    libide: add libide-1.0.pc

 Makefile.am           |    3 +++
 configure.ac          |    1 +
 data/.gitignore       |    1 +
 data/libide-1.0.pc.in |   11 +++++++++++
 4 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 8d3945d..ecea72f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,9 @@ include tests/tests.mk
 # icon installation that doesn't require subdirs.
 SUBDIRS = . data/icons po
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(top_builddir)/data/libide-1.0.pc
+
 EXTRA_DIST += \
        tap-driver.sh \
        tap-test
diff --git a/configure.ac b/configure.ac
index 208c362..bf364b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,7 @@ AC_CONFIG_FILES([
        Makefile
        src/util/gb-version.h
        data/icons/Makefile
+       data/libide-1.0.pc
        data/org.gnome.builder.editor.gschema.xml
        data/org.gnome.builder.editor.language.gschema.xml
        data/org.gnome.builder.editor.vim.gschema.xml
diff --git a/data/.gitignore b/data/.gitignore
index f52f974..b5b2c9d 100644
--- a/data/.gitignore
+++ b/data/.gitignore
@@ -1,3 +1,4 @@
 org.gnome.Builder.service
 *.gschema.xml
 *.valid
+libide-1.0.pc
diff --git a/data/libide-1.0.pc.in b/data/libide-1.0.pc.in
new file mode 100644
index 0000000..ba961e7
--- /dev/null
+++ b/data/libide-1.0.pc.in
@@ -0,0 +1,11 @@
+prefix= prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${exec_prefix}/include
+
+Name: LibIDE
+Description: IDE components of GNOME Builder.
+Version: @VERSION@
+Libs: -L${libdir} -lide-1.0
+Cflags: -I${includedir}/ide-1.0
+Requires: gio-2.0 gtk+-3.0 gtksourceview-3.0


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