diff options
Diffstat (limited to 'meta/recipes-multimedia/libmad/libmad/add-pkgconfig.patch')
-rw-r--r-- | meta/recipes-multimedia/libmad/libmad/add-pkgconfig.patch | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/meta/recipes-multimedia/libmad/libmad/add-pkgconfig.patch b/meta/recipes-multimedia/libmad/libmad/add-pkgconfig.patch deleted file mode 100644 index b49dc8c983..0000000000 --- a/meta/recipes-multimedia/libmad/libmad/add-pkgconfig.patch +++ /dev/null | |||
@@ -1,70 +0,0 @@ | |||
1 | Here is a patch for adding pkg-config support to libmad. | ||
2 | It would make life a bit easier for distro maintainers if this was applied. | ||
3 | In case you didn't know, pkg-config is a tool for providing LDFLAGS and | ||
4 | CFLAGS for packages using shared libraries. It's on freedesktop.org. | ||
5 | Debian has already been distributing the pkg-config file mad.pc with | ||
6 | libmad for some time, and people developing on debian (notably xmms2 | ||
7 | developers) have started relying on this support being present, causing | ||
8 | some confusion for people installing from source and on some BSDs which | ||
9 | do not provide mad.pc (google: pkgconfig libmad). | ||
10 | |||
11 | EMH | ||
12 | |||
13 | Upstream-Status: Inappropriate [configuration] | ||
14 | |||
15 | --h31gzZEtNLTqOjlF | ||
16 | Content-Type: text/plain; charset=us-ascii | ||
17 | Content-Disposition: attachment; filename="libmad-0.15.1b-pkgconfig.patch" | ||
18 | |||
19 | diff -Naur libmad-0.15.1b.old/configure.ac libmad-0.15.1b/configure.ac | ||
20 | --- libmad-0.15.1b.old/configure.ac 2004-01-23 10:41:32.000000000 +0100 | ||
21 | +++ libmad-0.15.1b/configure.ac 2004-08-07 02:25:24.633462168 +0200 | ||
22 | @@ -429,5 +429,5 @@ | ||
23 | dnl AC_SUBST(LTLIBOBJS) | ||
24 | |||
25 | AC_CONFIG_FILES([Makefile msvc++/Makefile \ | ||
26 | - libmad.list]) | ||
27 | + libmad.list mad.pc]) | ||
28 | AC_OUTPUT | ||
29 | diff -Naur libmad-0.15.1b.old/mad.pc.in libmad-0.15.1b/mad.pc.in | ||
30 | --- libmad-0.15.1b.old/mad.pc.in 1970-01-01 01:00:00.000000000 +0100 | ||
31 | +++ libmad-0.15.1b/mad.pc.in 2004-08-07 02:04:59.617692872 +0200 | ||
32 | @@ -0,0 +1,14 @@ | ||
33 | +# libmad pkg-config source file | ||
34 | + | ||
35 | +prefix=@prefix@ | ||
36 | +exec_prefix=@exec_prefix@ | ||
37 | +libdir=@libdir@ | ||
38 | +includedir=@includedir@ | ||
39 | + | ||
40 | +Name: mad | ||
41 | +Description: MPEG Audio Decoder | ||
42 | +Version: @VERSION@ | ||
43 | +Requires: | ||
44 | +Conflicts: | ||
45 | +Libs: -L${libdir} -lmad -lm | ||
46 | +Cflags: -I${includedir} | ||
47 | diff -Naur libmad-0.15.1b.old/Makefile.am libmad-0.15.1b/Makefile.am | ||
48 | --- libmad-0.15.1b.old/Makefile.am 2004-02-17 03:02:03.000000000 +0100 | ||
49 | +++ libmad-0.15.1b/Makefile.am 2004-08-07 02:03:19.859858368 +0200 | ||
50 | @@ -24,6 +24,9 @@ | ||
51 | SUBDIRS = | ||
52 | DIST_SUBDIRS = msvc++ | ||
53 | |||
54 | +pkgconfigdir = $(libdir)/pkgconfig | ||
55 | +pkgconfig_DATA = mad.pc | ||
56 | + | ||
57 | lib_LTLIBRARIES = libmad.la | ||
58 | include_HEADERS = mad.h | ||
59 | |||
60 | @@ -34,7 +37,8 @@ | ||
61 | minimad_LDADD = libmad.la | ||
62 | |||
63 | EXTRA_DIST = mad.h.sed \ | ||
64 | - CHANGES COPYRIGHT CREDITS README TODO VERSION | ||
65 | + CHANGES COPYRIGHT CREDITS README TODO VERSION \ | ||
66 | + mad.pc.in | ||
67 | |||
68 | exported_headers = version.h fixed.h bit.h timer.h stream.h frame.h \ | ||
69 | synth.h decoder.h | ||
70 | |||