Package: libmp3lame-dev Severity: wishlist Tags: upstream patch
Hello. Please generate and install a pkg-config file for user convenience. A patch applying to 3.99.5+repack1-9 is attached. This has been an upstream feature request for a while, and should be forwarded to https://sourceforge.net/p/lame/feature-requests/42/. Thanks.
diff --git a/debian/libmp3lame-dev.install b/debian/libmp3lame-dev.install index f349901..72ae5a0 100644 --- a/debian/libmp3lame-dev.install +++ b/debian/libmp3lame-dev.install @@ -1,3 +1,4 @@ usr/include usr/lib/*/*.a usr/lib/*/*.so +usr/lib/*/pkgconfig/*.pc diff --git a/debian/patches/pkg-config.diff b/debian/patches/pkg-config.diff new file mode 100644 index 0000000..b913f8a --- /dev/null +++ b/debian/patches/pkg-config.diff @@ -0,0 +1,49 @@ +Description: Generate and install a pkg-config file for user convenience. + This has been an upstream feature request for a while, and should be + forwarded to https://sourceforge.net/p/lame/feature-requests/42/. +Author: Nicolas Boulenguez <[email protected]> + +--- a/configure.in ++++ b/configure.in +@@ -1151,6 +1151,8 @@ + + AC_SUBST(CONFIG_DEFS) + +-AC_CONFIG_FILES([Makefile libmp3lame/Makefile libmp3lame/i386/Makefile libmp3lame/vector/Makefile frontend/Makefile mpglib/Makefile doc/Makefile doc/html/Makefile doc/man/Makefile include/Makefile Dll/Makefile misc/Makefile dshow/Makefile ACM/Makefile ACM/ADbg/Makefile ACM/ddk/Makefile ACM/tinyxml/Makefile lame.spec mac/Makefile macosx/Makefile macosx/English.lproj/Makefile macosx/LAME.xcodeproj/Makefile vc_solution/Makefile]) ++AC_CONFIG_FILES([Makefile libmp3lame/Makefile libmp3lame/i386/Makefile libmp3lame/vector/Makefile frontend/Makefile mpglib/Makefile doc/Makefile doc/html/Makefile doc/man/Makefile include/Makefile Dll/Makefile misc/Makefile dshow/Makefile ACM/Makefile ACM/ADbg/Makefile ACM/ddk/Makefile ACM/tinyxml/Makefile lame.spec mac/Makefile macosx/Makefile macosx/English.lproj/Makefile macosx/LAME.xcodeproj/Makefile vc_solution/Makefile ++libmp3lame/mp3lame.pc ++]) + + AC_OUTPUT +--- a/libmp3lame/Makefile.am ++++ b/libmp3lame/Makefile.am +@@ -30,6 +30,7 @@ + + EXTRA_DIST = \ + lame.rc \ ++ mp3lame.pc.in \ + vbrquantize.h \ + logoe.ico + +@@ -99,3 +100,8 @@ + #$(OBJECTS): libtool + #libtool: $(LIBTOOL_DEPS) + # $(SHELL) $(top_builddir)/config.status --recheck ++ ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = mp3lame.pc ++ ++DISTCLEANFILES = $(pkgconfig_DATA) +--- /dev/null ++++ b/libmp3lame/mp3lame.pc.in +@@ -0,0 +1,10 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: @PACKAGE_NAME@ ++Description: MP3 decoding library ++Version: @PACKAGE_VERSION@ ++Libs: -L${libdir} -lmp3lame ++Cflags: -I${includedir}/lame diff --git a/debian/patches/series b/debian/patches/series index 6fc5e03..f046522 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ force_align_arg_pointer.patch 0001-Add-check-for-invalid-input-sample-rate.patch bits_per_sample.patch int_resample_ratio.patch +pkg-config.diff
_______________________________________________ pkg-multimedia-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
