From: rbdpngn Date: Thu, 15 Jul 2004 19:23:03 +0000 (+0000) Subject: Add support for pkg-config to emotion. X-Git-Tag: submit/2.0alpha-wayland/20121127.222018~617 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4ec0fe8544fa8081740f4164ce318c25d732152;p=profile%2Fivi%2Femotion.git Add support for pkg-config to emotion. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@10847 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/Makefile.am b/Makefile.am index 878499a..d32617d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.in b/configure.in index bea4b3c..6e41320 100644 --- a/configure.in +++ b/configure.in @@ -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 index 0000000..a33aa78 --- /dev/null +++ b/emotion.pc.in @@ -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}