summaryrefslogtreecommitdiffstats
path: root/recipes/libid3tag/files/libid3tag-pkg-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libid3tag/files/libid3tag-pkg-config.patch')
-rw-r--r--recipes/libid3tag/files/libid3tag-pkg-config.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes/libid3tag/files/libid3tag-pkg-config.patch b/recipes/libid3tag/files/libid3tag-pkg-config.patch
new file mode 100644
index 0000000000..16da613a6b
--- /dev/null
+++ b/recipes/libid3tag/files/libid3tag-pkg-config.patch
@@ -0,0 +1,38 @@
+upstream: unmaintained
+source: http://gentoo.mindzoo.de/index.cgi/export/586/openmoko/trunk/openmoko-target/media-libs/libid3tag/files/0.15.1b/libid3tag-pkg-config.patch
+
+--- /dev/null 2009-07-02 12:43:53.540375369 +0200
++++ b/id3tag.pc.in 2009-07-02 16:19:21.000000000 +0200
+@@ -0,0 +1,11 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: id3tag
++Description: ID3 tag reading library
++Requires:
++Version: @VERSION@
++Libs: -L${libdir} -lid3tag -lz
++Cflags: -I${includedir}
+--- a/Makefile.am 2004-02-17 03:11:28.000000000 +0100
++++ b/Makefile.am 2009-07-02 16:17:35.000000000 +0200
+@@ -94,6 +94,9 @@
+
+ BUILT_SOURCES = frametype.c compat.c genre.dat
+
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = id3tag.pc
++
+ $(srcdir)/frametype.c: $(srcdir)/frametype.gperf Makefile.am
+ cd $(srcdir) && \
+ gperf -tCcTonD -K id -N id3_frametype_lookup -s -3 -k '*' \
+--- a/configure.ac 2004-01-24 00:22:46.000000000 +0100
++++ b/configure.ac 2009-07-02 16:19:00.000000000 +0200
+@@ -201,5 +201,5 @@
+ dnl AC_SUBST(LTLIBOBJS)
+
+ AC_CONFIG_FILES([Makefile msvc++/Makefile \
+- libid3tag.list])
++ libid3tag.list id3tag.pc])
+ AC_OUTPUT