diff options
author | Cody Russell <crussell@canonical.com> | 2009-12-09 11:58:22 -0600 |
---|---|---|
committer | Cody Russell <crussell@canonical.com> | 2009-12-09 11:58:22 -0600 |
commit | bae74eff1707ab9abac1f6122506ff1b7cc20098 (patch) | |
tree | a3a2fd7b3bbe09567b467e89a59291484809ef5e /src | |
parent | cd2a4a9104edd5558b2d610b3f17d93edd990b55 (diff) | |
parent | 02ab21b5f931e12103420893137819688e607154 (diff) | |
download | ayatana-indicator-application-bae74eff1707ab9abac1f6122506ff1b7cc20098.tar.gz ayatana-indicator-application-bae74eff1707ab9abac1f6122506ff1b7cc20098.tar.bz2 ayatana-indicator-application-bae74eff1707ab9abac1f6122506ff1b7cc20098.zip |
Add pkgconfig support, fixes bug #494583
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 | ||||
-rw-r--r-- | src/libappindicator/appindicator-0.1.pc.in | 14 |
2 files changed, 18 insertions, 1 deletions
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..b80fded --- /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: dbusmenu-glib gtk+-2.0 +Libs: -L${libdir} -lappindicator + +Name: appindicator-0.1 +Description: Application indicators +Version: @VERSION@ + |