aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2009-12-09 10:30:50 -0600
committerCody Russell <crussell@canonical.com>2009-12-09 10:30:50 -0600
commit3f16792d25e92a37e12e644ad29e40c454d310de (patch)
tree4cb78266f0616eb64c54c95774dafa758d1988a7
parente0bf73e8c49059647c0b5dcd747f1234de95f010 (diff)
downloadayatana-indicator-application-3f16792d25e92a37e12e644ad29e40c454d310de.tar.gz
ayatana-indicator-application-3f16792d25e92a37e12e644ad29e40c454d310de.tar.bz2
ayatana-indicator-application-3f16792d25e92a37e12e644ad29e40c454d310de.zip
pkgconfig file
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am5
-rw-r--r--src/libappindicator/appindicator-0.1.pc.in14
3 files changed, 19 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b795e93..74cef75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,7 @@ AC_SUBST(DBUSSERVICEDIR)
AC_OUTPUT([
Makefile
src/Makefile
+src/libappindicator/appindicator-0.1.pc
data/Makefile
tests/Makefile
example/Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index 1c19d91..f1878a4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
CLEANFILES =
DISTCLEANFILES =
BUILT_SOURCES =
-EXTRA_DIST =
+EXTRA_DIST = appindicator-0.1.pc.in
include $(top_srcdir)/Makefile.am.enum
include $(top_srcdir)/Makefile.am.marshal
@@ -57,6 +57,9 @@ glib_marshal_prefix = _application_service_marshal
# Library
##################################
+pkgconfig_DATA = libappindicator/appindicator-0.1.pc
+pkgconfigdir = $(libdir)/pkgconfig
+
glib_enum_h = libappindicator/app-indicator-enum-types.h
glib_enum_c = libappindicator/app-indicator-enum-types.c
glib_enum_headers = $(libappindicator_headers)
diff --git a/src/libappindicator/appindicator-0.1.pc.in b/src/libappindicator/appindicator-0.1.pc.in
new file mode 100644
index 0000000..dc7b12a
--- /dev/null
+++ b/src/libappindicator/appindicator-0.1.pc.in
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+bindir=@bindir@
+includedir=@includedir@
+
+Cflags: -I${includedir}/libappindicator-0.1
+Requires: indicator dbusmenu-gtk gtk+-2.0
+Libs: -L${libdir} -ldbusmenu-glib
+
+Name: appindicator-0.1
+Description: Application indicators
+Version: @VERSION@
+