summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libid3tag
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 20:59:03 (GMT)
committerTudor Florea <tudor.florea@enea.com>2015-10-09 20:59:03 (GMT)
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-multimedia/libid3tag
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-multimedia/libid3tag')
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag/addpkgconfig.patch43
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag/obsolete_automake_macros.patch15
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb22
3 files changed, 80 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libid3tag/libid3tag/addpkgconfig.patch b/meta/recipes-multimedia/libid3tag/libid3tag/addpkgconfig.patch
new file mode 100644
index 0000000..38d40c3
--- /dev/null
+++ b/meta/recipes-multimedia/libid3tag/libid3tag/addpkgconfig.patch
@@ -0,0 +1,43 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: libid3tag-0.15.1b/Makefile.am
4===================================================================
5--- libid3tag-0.15.1b.orig/Makefile.am 2009-07-29 09:29:20.000000000 +0100
6+++ libid3tag-0.15.1b/Makefile.am 2009-07-29 09:29:47.000000000 +0100
7@@ -27,6 +27,9 @@
8 lib_LTLIBRARIES = libid3tag.la
9 include_HEADERS = id3tag.h
10
11+pkgconfigdir = $(libdir)/pkgconfig
12+pkgconfig_DATA = id3tag.pc
13+
14 ## From the libtool documentation on library versioning:
15 ##
16 ## CURRENT
17Index: libid3tag-0.15.1b/configure.ac
18===================================================================
19--- libid3tag-0.15.1b.orig/configure.ac 2009-07-29 09:27:15.000000000 +0100
20+++ libid3tag-0.15.1b/configure.ac 2009-07-29 09:27:45.000000000 +0100
21@@ -201,5 +201,5 @@
22 dnl AC_SUBST(LTLIBOBJS)
23
24 AC_CONFIG_FILES([Makefile msvc++/Makefile \
25- libid3tag.list])
26+ libid3tag.list id3tag.pc])
27 AC_OUTPUT
28Index: libid3tag-0.15.1b/id3tag.pc.in
29===================================================================
30--- /dev/null 1970-01-01 00:00:00.000000000 +0000
31+++ libid3tag-0.15.1b/id3tag.pc.in 2009-07-29 09:29:10.000000000 +0100
32@@ -0,0 +1,11 @@
33+prefix=@prefix@
34+exec_prefix=@exec_prefix@
35+libdir=@libdir@
36+includedir=@includedir@
37+
38+Name: id3tag
39+Description: ID3 tag reading library
40+Requires:
41+Version: @VERSION@
42+Libs: -L${libdir} -lid3tag -lz
43+Cflags: -I${includedir}
diff --git a/meta/recipes-multimedia/libid3tag/libid3tag/obsolete_automake_macros.patch b/meta/recipes-multimedia/libid3tag/libid3tag/obsolete_automake_macros.patch
new file mode 100644
index 0000000..2845fb1
--- /dev/null
+++ b/meta/recipes-multimedia/libid3tag/libid3tag/obsolete_automake_macros.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Submitted [https://sourceforge.net/tracker/?func=detail&aid=3599280&group_id=12349&atid=112349]
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4diff -Nurd libid3tag-0.15.1b/configure.ac libid3tag-0.15.1b/configure.ac
5--- libid3tag-0.15.1b/configure.ac 2004-01-24 01:22:46.000000000 +0200
6+++ libid3tag-0.15.1b/configure.ac 2013-01-03 06:41:02.734835014 +0200
7@@ -28,7 +28,7 @@
8
9-AM_INIT_AUTOMAKE
10+AM_INIT_AUTOMAKE([foreign])
11
12-AM_CONFIG_HEADER([config.h])
13+AC_CONFIG_HEADERS([config.h])
14
15 dnl System type.
diff --git a/meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb b/meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb
new file mode 100644
index 0000000..05a8a47
--- /dev/null
+++ b/meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Library for interacting with ID3 tags in MP3 files"
2HOMEPAGE = "http://sourceforge.net/projects/mad/"
3BUGTRACKER = "http://sourceforge.net/tracker/?group_id=12349&atid=112349"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
6 file://COPYRIGHT;md5=5e6279efb87c26c6e5e7a68317a6a87a \
7 file://version.h;beginline=1;endline=8;md5=86ac68b67f054b7afde9e149bbc3fe63"
8SECTION = "libs"
9DEPENDS = "zlib gperf-native"
10PR = "r7"
11
12SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
13 file://addpkgconfig.patch \
14 file://obsolete_automake_macros.patch \
15"
16
17SRC_URI[md5sum] = "e5808ad997ba32c498803822078748c3"
18SRC_URI[sha256sum] = "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151"
19
20S = "${WORKDIR}/libid3tag-${PV}"
21
22inherit autotools pkgconfig