Hi folks, this patch adds creation of pkg-config descriptors for libflac and libflac++ cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service - http://www.metux.de/ --------------------------------------------------------------------- Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ --------------------------------------------------------------------- -------------- next part -------------- diff -ruN flac-1.1.2.orig/FLAC++.pc.in flac-1.1.2/FLAC++.pc.in --- flac-1.1.2.orig/FLAC++.pc.in Thu Jan 1 01:00:00 1970 +++ flac-1.1.2/FLAC++.pc.in Thu Jul 27 05:36:48 2006 @@ -0,0 +1,13 @@ + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: FLAC++ +Description: FLAC++ - free lossless audio compressor - C++ binding +Version: @VERSION@ +Requires: FLAC +Conflicts: +Libs: -L${libdir} -lFLAC++ +Cflags: -I${includedir} diff -ruN flac-1.1.2.orig/FLAC.pc.in flac-1.1.2/FLAC.pc.in --- flac-1.1.2.orig/FLAC.pc.in Thu Jan 1 01:00:00 1970 +++ flac-1.1.2/FLAC.pc.in Thu Jul 27 05:35:48 2006 @@ -0,0 +1,13 @@ + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: FLAC +Description: FLAC - free lossless audio compressor +Version: @VERSION@ +Requires: +Conflicts: +Libs: -L${libdir} -lFLAC +Cflags: -I${includedir} diff -ruN flac-1.1.2.orig/Makefile.am flac-1.1.2/Makefile.am --- flac-1.1.2.orig/Makefile.am Thu Jul 27 05:34:01 2006 +++ flac-1.1.2/Makefile.am Thu Jul 27 05:50:57 2006 @@ -28,6 +28,9 @@ # distclean: remove everything except what goes in the distribution # +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = FLAC.pc FLAC++.pc + SUBDIRS = doc include man src test build flac.pbproj obj DISTCLEANFILES = libtool-disable-static diff -ruN flac-1.1.2.orig/configure.in flac-1.1.2/configure.in --- flac-1.1.2.orig/configure.in Thu Jul 27 05:34:01 2006 +++ flac-1.1.2/configure.in Thu Jul 27 05:37:10 2006 @@ -303,4 +303,6 @@ obj/release/bin/Makefile \ obj/release/lib/Makefile \ flac.pbproj/Makefile \ + FLAC.pc \ + FLAC++.pc )