- Fix copy&pasto of wrong dependency - Depend on proper library, remove needless assignment. - Use correct group. - Fixup to adhere openSUSE specfile requirements. - fix build on > 12.1 by BuildRequires: autoconf automake libtool - call autoreconf to rebuild configure from patched configure.ac - disable static and remove .la files - patch away CFLAGS mangling completely - add patch to keep -O2 in CFLAGS - pass --enable-accuracy - provides mad and mad-devel - follow shared library package policy - add new patch for pkgconfig/mad.pc - add pkgconfig file - First packman release OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmad?expand=0&rev=1
52 lines
1.3 KiB
Diff
52 lines
1.3 KiB
Diff
--- libmad-0.15.1b.old/configure.ac 2004-01-23 10:41:32.000000000 +0100
|
|
+++ libmad-0.15.1b/configure.ac 2004-08-07 02:25:24.633462168 +0200
|
|
@@ -429,5 +429,5 @@
|
|
dnl AC_SUBST(LTLIBOBJS)
|
|
|
|
AC_CONFIG_FILES([Makefile msvc++/Makefile \
|
|
- libmad.list])
|
|
+ libmad.list mad.pc])
|
|
AC_OUTPUT
|
|
|
|
--- libmad-0.15.1b.old/mad.pc.in 1970-01-01 01:00:00.000000000 +0100
|
|
+++ libmad-0.15.1b/mad.pc.in 2004-08-07 02:04:59.617692872 +0200
|
|
@@ -0,0 +1,14 @@
|
|
+# libmad pkg-config source file
|
|
+
|
|
+prefix=@prefix@
|
|
+exec_prefix=@exec_prefix@
|
|
+libdir=@libdir@
|
|
+includedir=@includedir@
|
|
+
|
|
+Name: mad
|
|
+Description: MPEG Audio Decoder
|
|
+Version: @VERSION@
|
|
+Requires:
|
|
+Conflicts:
|
|
+Libs: -L${libdir} -lmad -lm
|
|
+Cflags: -I${includedir}
|
|
|
|
--- libmad-0.15.1b.old/Makefile.am 2004-02-17 03:02:03.000000000 +0100
|
|
+++ libmad-0.15.1b/Makefile.am 2004-08-07 02:03:19.859858368 +0200
|
|
@@ -24,6 +24,9 @@
|
|
SUBDIRS =
|
|
DIST_SUBDIRS = msvc++
|
|
|
|
+pkgconfigdir = $(libdir)/pkgconfig
|
|
+pkgconfig_DATA = mad.pc
|
|
+
|
|
lib_LTLIBRARIES = libmad.la
|
|
include_HEADERS = mad.h
|
|
|
|
@@ -34,7 +37,8 @@
|
|
minimad_LDADD = libmad.la
|
|
|
|
EXTRA_DIST = mad.h.sed \
|
|
- CHANGES COPYRIGHT CREDITS README TODO VERSION
|
|
+ CHANGES COPYRIGHT CREDITS README TODO VERSION \
|
|
+ mad.pc.in
|
|
|
|
exported_headers = version.h fixed.h bit.h timer.h stream.h frame.h \
|
|
synth.h decoder.h
|
|
|