[xiph-commits] r17150 - trunk/Tremor

conrad at svn.xiph.org conrad at svn.xiph.org
Tue Apr 20 00:06:36 PDT 2010


Author: conrad
Date: 2010-04-20 00:06:36 -0700 (Tue, 20 Apr 2010)
New Revision: 17150

Added:
   trunk/Tremor/vorbisidec.pc.in
Modified:
   trunk/Tremor/Makefile.am
   trunk/Tremor/configure.in
Log:
add a pkgconfig file

Modified: trunk/Tremor/Makefile.am
===================================================================
--- trunk/Tremor/Makefile.am	2010-04-20 07:06:28 UTC (rev 17149)
+++ trunk/Tremor/Makefile.am	2010-04-20 07:06:36 UTC (rev 17150)
@@ -2,6 +2,9 @@
 
 INCLUDES = -I./
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = vorbisidec.pc
+
 lib_LTLIBRARIES = libvorbisidec.la
 
 libvorbisidec_la_SOURCES = mdct.c block.c window.c \
@@ -31,6 +34,8 @@
 
 include_HEADERS = ivorbiscodec.h ivorbisfile.h ogg.h os_types.h config_types.h
 
+EXTRA_DIST = vorbisidec.pc.in
+
 example:
 	-ln -fs . vorbis
 	$(MAKE) ivorbisfile_example

Modified: trunk/Tremor/configure.in
===================================================================
--- trunk/Tremor/configure.in	2010-04-20 07:06:28 UTC (rev 17149)
+++ trunk/Tremor/configure.in	2010-04-20 07:06:36 UTC (rev 17150)
@@ -128,4 +128,4 @@
 AC_SUBST(DEBUG)
 AC_SUBST(PROFILE)
 
-AC_OUTPUT(Makefile Version_script)
+AC_OUTPUT(Makefile Version_script vorbisidec.pc)

Added: trunk/Tremor/vorbisidec.pc.in
===================================================================
--- trunk/Tremor/vorbisidec.pc.in	                        (rev 0)
+++ trunk/Tremor/vorbisidec.pc.in	2010-04-20 07:06:36 UTC (rev 17150)
@@ -0,0 +1,14 @@
+# libvorbisidec pkg-config source file
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: vorbisidec
+Description: vorbisidec is the integer Ogg Vorbis library
+Version: @VERSION@
+Requires: ogg
+Conflicts:
+Libs: -L${libdir} -lvorbisidec -lm
+Cflags: -I${includedir}



More information about the commits mailing list