You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.2 KiB
63 lines
1.2 KiB
6 years ago
|
--- libmad-0.15.1b/configure.ac
|
||
|
+++ libmad-0.15.1b/configure.ac
|
||
|
@@ -26,9 +26,9 @@
|
||
|
|
||
|
AC_CONFIG_SRCDIR([decoder.h])
|
||
|
|
||
|
-AM_INIT_AUTOMAKE
|
||
|
-
|
||
|
-AM_CONFIG_HEADER([config.h])
|
||
|
+AM_INIT_AUTOMAKE([foreign])
|
||
|
+
|
||
|
+AC_CONFIG_HEADERS([config.h])
|
||
|
|
||
|
dnl System type.
|
||
|
|
||
|
@@ -429,5 +428,5 @@
|
||
|
dnl AC_SUBST(LTLIBOBJS)
|
||
|
|
||
|
AC_CONFIG_FILES([Makefile msvc++/Makefile \
|
||
|
- libmad.list])
|
||
|
+ libmad.list mad.pc])
|
||
|
AC_OUTPUT
|
||
|
--- libmad-0.15.1b/mad.pc.in
|
||
|
+++ libmad-0.15.1b/mad.pc.in
|
||
|
@@ -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/Makefile.am
|
||
|
+++ libmad-0.15.1b/Makefile.am
|
||
|
@@ -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
|
||
|
|