Add support for pkg-config to emotion.
authorrbdpngn <rbdpngn>
Thu, 15 Jul 2004 19:23:03 +0000 (19:23 +0000)
committerrbdpngn <rbdpngn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 15 Jul 2004 19:23:03 +0000 (19:23 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@10847 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

Makefile.am
configure.in
emotion.pc.in [new file with mode: 0644]

index 878499a..d32617d 100644 (file)
@@ -10,4 +10,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
 
 bin_SCRIPTS = emotion-config
 
-EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN emotion.spec emotion.c.in gendoc Doxyfile emotion_docs.tar.gz
+EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN emotion.spec emotion.c.in gendoc Doxyfile emotion_docs.tar.gz emotion.pc.in
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = emotion.pc
index bea4b3c..6e41320 100644 (file)
@@ -236,8 +236,12 @@ AC_SUBST(xine_plugins)
 AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 AC_SUBST(dlopen_libs)
 
+requirements="eet evas ecore edje libxine"
+AC_SUBST(requirements)
+
 AC_OUTPUT([
 Makefile
+emotion.pc
 src/Makefile
 src/lib/Makefile
 src/modules/Makefile
diff --git a/emotion.pc.in b/emotion.pc.in
new file mode 100644 (file)
index 0000000..a33aa78
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: emotion
+Description: Emotion evas based multimedia library
+Requires: @requirements@
+Version: @VERSION@
+Libs: -L${libdir} -lemotion
+Cflags: -I${includedir}