summaryrefslogtreecommitdiffstats
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libid3tag/Manifest6
-rw-r--r--media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-a_capella.patch8
-rw-r--r--media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch5
-rw-r--r--media-libs/libid3tag/files/libid3tag-0.15.1b-fix-signature.patch12
-rw-r--r--media-libs/libid3tag/libid3tag-0.15.1b-r5.ebuild60
5 files changed, 82 insertions, 9 deletions
diff --git a/media-libs/libid3tag/Manifest b/media-libs/libid3tag/Manifest
index 9c59ebc..e787d46 100644
--- a/media-libs/libid3tag/Manifest
+++ b/media-libs/libid3tag/Manifest
@@ -1,14 +1,16 @@
AUX 0.15.1b/libid3tag-0.15.1b-64bit-long.patch 567 BLAKE2B 1f1797d093abb56e87be3151f958d9bb06a9320cac1a441c0ebad6114d8e632e0da7ceede7ef6c218c95f4f3be8c7542e71a541f8fbaeaf358860b9fa01f17ab SHA512 f2c19dd5138d1cf58764dfb2acb58b4f36ad18749b0a29de9110f3bf81ae1c56c24701b4a906692863501c175fab81c44d486a94a7ee63ea67f552a68f14dcaa
-AUX 0.15.1b/libid3tag-0.15.1b-a_capella.patch 1365 BLAKE2B 84166df42a1620cf905a9b081a988e6737b3c7c77ad16e37294fb302260c788a63e10e8890dc1ea2022eb866f5474a80ae561025490e5ed8b15f4e4acb595e70 SHA512 496c624ad79bafb7255830bb4a9c638d837aa3d119435a1a7d16d138dad0626e9fcc50f1b6f3f7f03c346bd28e1da844be0c6e0ff38e850bf9852ad377fd0840
+AUX 0.15.1b/libid3tag-0.15.1b-a_capella.patch 1303 BLAKE2B 14ab259f31d2389735d35ecd138dac696368b35496c7de94513268fdbbaf3d9d56af74cd7dfcf2592bd14f5d1401c7a52e213851d24eb745d3e1904661b363e7 SHA512 a14fe71d32d620033afc73da9e4be3ecb1b88b750b96b5da960e3d323f0a45030e221d5a001ed9fbdb45d9072fa2f82946bae6a73a1e116355a88deada99435e
AUX 0.15.1b/libid3tag-0.15.1b-compat.patch 452 BLAKE2B c43437ca0319e383e375cb7826f1afa61774f2fb3cb52136ad3a267ea17a4f6bb7532d82e0b354168464f16e69bb3e8a1ea8dd313f5895d9c2e5c8d6b928985f SHA512 91364db67a02106ebd0f8930f16adb25f078f707f95c695b0da6b42f1519e6aadd7cf181d19f2fea6454b3ed64d0388222f279bb1e5c802365b5d3faeb9f30c3
AUX 0.15.1b/libid3tag-0.15.1b-file-write.patch 1344 BLAKE2B ba1e43314a4e286db21a6236929ef125294a1826724cf13a33c30a906a03dc2e6ec26acc66419c4007208ca8c99324178c3c932569e70c1cf699d7595c3b75ff SHA512 a24cd37eefd6dc282c71f59ea1f612c2347deb87a15bd6aa5c163a61cabe77a0cc882adabae35d5090c711f7f796fb6e3787968e506627336f0f0d4ad7957414
AUX 0.15.1b/libid3tag-0.15.1b-fix_overflow.patch 324 BLAKE2B 229a97eb0c9d136a36a629185fde8541727d5fe5f4ecfb93c34fc8e0e70cd1024e0988d3f66f069e952d13040dfa13d1aa8b894b31b2b9dc92384a92d328548a SHA512 895d6a71540c8a60258e8900479bbce8f3eef67c9b0ff631130862778b3688568c5e363e0ba2a7b55a2e4a9109e22673eda69903e7bcaa77776de876cb09295b
AUX 0.15.1b/libid3tag-0.15.1b-tag.patch 527 BLAKE2B 045268d964d4dddad836a1a8e2a75db9762d6fc442f95cc1155639979c120941876c35d31587378be69f0610449babb583ff41fd8d4f5c7e261a3b2ccee6590b SHA512 d610b108b896126ff721d1910e882ba06089aef1d3d8db60b6b76548b777f03962200fc5f046d96f1b655de4dff0a3031231f78094037c9506f7ad7798e01c8f
AUX 0.15.1b/libid3tag-0.15.1b-unknown-encoding.patch 879 BLAKE2B 77541d2bc967a46a4557e614309f403ac8320fe1380117da21f99a9b80fb31b49fd06e6ba0234589102b26a733447ff17fe3a448e9400c7a904822354f7b5b97 SHA512 b5fab5bec89ac1d1180edae3871718170b442ec79ebde0536b50a70d6aba98761fd93fe79ebb81ee21a12643d5fb84085b7c7fd62c321284da1d61c48bd34809
-AUX 0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch 753 BLAKE2B f40175f29ec3f890b835b4a648da6320cdb5fe0adf798312dc9b6c5849a91e67249d6b525b8be40b98e94e36be8504f79491aef0fec7817a87b8afb493d0cfa7 SHA512 d06dc1481b9dd4f541c3b94944a91a270a6c418612fb98eec3b71d04907d96f662fdcb678536dd584ee72e1451b04375969733e557c0eb00142f64affcb26697
+AUX 0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch 583 BLAKE2B 1ce651271b297fb1aadf952549b44946ca15643b733abfe6573e898345748086b5db4641c52dea76b0d19b17ad86ddf67930ef265c1d43d93d641212c578356d SHA512 973d037f116dc9ac5d11895eb6043cbdb18c9d87165a20c4a1989fbcebdff067739d754b6233f41b8b6a88d9cf90848ef3ee22f1439e3ebdff0be6d6fc348a53
AUX id3tag.pc 222 BLAKE2B ba92bbe9ffc85d906b845d81f5a2e8f3044f707fb3f11ddfe8e669d10dd5660262559d1c830b1655d6b416655ea6f7d3eca1296d50562bf932f3be21508ed1a4 SHA512 09a04b6ae35bacb91291ec432aab64c785ba43dae94f3c97f8cd2c4a91d27ed80cfd438703cd8a82472251b17a0929fc7dcc821ae33fd5820d2a2eb0864aa2b6
AUX libid3tag-0.15.1b-ds-rcc.patch 7724 BLAKE2B 20b7793331828d8c96f79b98140c509c51dc7da32eba647ba4d8c26c8911345c1a5b470257a7e4d639514b15cedc9da01a5941dddeda695518838e15a5052596 SHA512 af4b716326b61b2bf43a7b8bf0b77927c46a56bfd12fd8829f9700d2ee3487ff6c826e83b33c5703f961520caf1899a0a8ef82e932350bfb4b0ef25c9b3dee4d
+AUX libid3tag-0.15.1b-fix-signature.patch 424 BLAKE2B f3dce1cb1372f175758b7c48b3ee3a6f1c95c840f7103116f9ea3ef805c5aa186c2c87747f02cb67fda1e4c13c806c5a0b32b304c2f66941fddac0942761b62e SHA512 3f320d1d8719afd84aa0cf2a9e5615f3f535f84d1987f12df0a9d3f2b7c02e2c87fbc3aa41d538cdc4f8a30e629de6f3fc3a4e79f23448fd39d4c0c438c803fb
DIST libid3tag-0.15.1b.tar.gz 338143 BLAKE2B a4e4e66177eae9aaa251c71d605034488fdd9a0a207a41a41f85793ecbb763dd4a4c8f01183eb45a5c8563c4ad120e73b29578fd4c3bb8e467e39c5427b530b5 SHA512 ade7ce2a43c3646b4c9fdc642095174b9d4938b078b205cd40906d525acd17e87ad76064054a961f391edcba6495441450af2f68be69f116549ca666b069e6d3
EBUILD libid3tag-0.15.1b-r1.ebuild 1183 BLAKE2B 8a4a260ddb5c01e22e31905cfc3651a98092ebc709ed03d7917fe42b9c95b709051de31028c93485f3f994a324ff7e0c3cc29c628a1bcddaec6dcc108623ece7 SHA512 badea955823e0fc32decd28ddb173a5c2fd1cea799a6c3dcd1c7d67644d268091fe2c13fb9d34cf6b3b951c53b0f4d0210074dd7d393b52180afb7d5c5ec8111
EBUILD libid3tag-0.15.1b-r3.ebuild 1320 BLAKE2B b23f5636e68aa370d9fc8a625127f75d6fad18f7ae5339cfce9b696cbd0a761c1863b55a5c3e6923850133d7de329804e7173dfaf9eef55952cac71613431e6d SHA512 6380b53c7a0244cab28cae055bf2b1071157b819d1118d39001939214d83b435280414098ea6298375f67ac1fbff15b0270c1122576004f9e270f89c8d54ac13
EBUILD libid3tag-0.15.1b-r4.ebuild 1354 BLAKE2B d790c247479e69264ccb1f4e0b295be818e712f397ed6f5677f5265f791d27e92b5f1069248e454d5211e555f0df6395f29297511a77ea8f8f4769b057229dbc SHA512 f48338a7766103172f5bd89fa03eb15de473110708edbde9ce67a388e33451038cccb80b5d9914966227c39ee476cdb5df7401812cb11fdc519ec5c5cd6d3b35
+EBUILD libid3tag-0.15.1b-r5.ebuild 1738 BLAKE2B c31c774bc230bedebd4edfe97a14781dffd005651adb9fd1434b15ee770db5778135ea572239cbdea58e371a6fa2d93415c77213e8229b67b151c6b7de54752b SHA512 c722a0e6bc9caef3ee85579ae7f93779d4eccb03756ca956075a7832bea9816de43e46f86f7e9bac5e64447fc9e2522bf30a35317d273c7ee5a0b703f958b1bb
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-a_capella.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-a_capella.patch
index a453080..2adc2e6 100644
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-a_capella.patch
+++ b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-a_capella.patch
@@ -1,6 +1,6 @@
diff -urNad /home/debian/mad/libid3tag-0.15.1b/libid3tag-0.15.1b/genre.dat libid3tag-0.15.1b/genre.dat
---- /home/debian/mad/libid3tag-0.15.1b/libid3tag-0.15.1b/genre.dat 2004-02-16 21:34:39.000000000 -0500
-+++ libid3tag-0.15.1b/genre.dat 2004-09-06 09:50:33.000000000 -0400
+--- a/libid3tag-0.15.1b/genre.dat 2004-02-16 21:34:39.000000000 -0500
++++ b/libid3tag-0.15.1b/genre.dat 2004-09-06 09:50:33.000000000 -0400
@@ -277,8 +277,8 @@
{ 'P', 'u', 'n', 'k', ' ', 'R', 'o', 'c', 'k', 0 };
static id3_ucs4_t const genre_DRUM_SOLO[] =
@@ -22,8 +22,8 @@ diff -urNad /home/debian/mad/libid3tag-0.15.1b/libid3tag-0.15.1b/genre.dat libid
genre_DANCE_HALL,
genre_GOA,
diff -urNad /home/debian/mad/libid3tag-0.15.1b/libid3tag-0.15.1b/genre.dat.in libid3tag-0.15.1b/genre.dat.in
---- /home/debian/mad/libid3tag-0.15.1b/libid3tag-0.15.1b/genre.dat.in 2004-01-23 04:41:32.000000000 -0500
-+++ libid3tag-0.15.1b/genre.dat.in 2004-09-06 09:50:33.000000000 -0400
+--- a/libid3tag-0.15.1b/genre.dat.in 2004-01-23 04:41:32.000000000 -0500
++++ b/libid3tag-0.15.1b/genre.dat.in 2004-09-06 09:50:33.000000000 -0400
@@ -153,7 +153,7 @@
Duet
Punk Rock
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch
index 72ed118..e2e6eae 100644
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch
+++ b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch
@@ -1,6 +1,5 @@
-diff -urNad libid3tag-0.15.1b/utf16.c /tmp/dpep.tKvO7a/libid3tag-0.15.1b/utf16.c
---- libid3tag-0.15.1b/utf16.c 2006-01-13 15:26:29.000000000 +0100
-+++ /tmp/dpep.tKvO7a/libid3tag-0.15.1b/utf16.c 2006-01-13 15:27:19.000000000 +0100
+--- libid3tag-0.15.1b/utf16.c
++++ libid3tag-0.15.1b/utf16.c
@@ -282,5 +282,18 @@
free(utf16);
diff --git a/media-libs/libid3tag/files/libid3tag-0.15.1b-fix-signature.patch b/media-libs/libid3tag/files/libid3tag-0.15.1b-fix-signature.patch
new file mode 100644
index 0000000..a365811
--- /dev/null
+++ b/media-libs/libid3tag/files/libid3tag-0.15.1b-fix-signature.patch
@@ -0,0 +1,12 @@
+diff -pur libid3tag-0.15.1b-orig/compat.h libid3tag-0.15.1b/compat.h
+--- libid3tag-0.15.1b-orig/compat.h 2004-01-23 10:41:32.000000000 +0100
++++ libid3tag-0.15.1b/compat.h 2017-03-15 01:49:23.808834401 +0100
+@@ -34,7 +34,7 @@ struct id3_compat {
+ };
+
+ struct id3_compat const *id3_compat_lookup(register char const *,
+- register unsigned int);
++ register size_t);
+
+ int id3_compat_fixup(struct id3_tag *);
+
diff --git a/media-libs/libid3tag/libid3tag-0.15.1b-r5.ebuild b/media-libs/libid3tag/libid3tag-0.15.1b-r5.ebuild
new file mode 100644
index 0000000..67269f9
--- /dev/null
+++ b/media-libs/libid3tag/libid3tag-0.15.1b-r5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+# eutils for einstalldocs
+# SDS - autotools
+inherit epatch epunt-cxx eutils libtool ltprune multilib multilib-minimal autotools
+
+
+DESCRIPTION="The MAD id3tag library"
+HOMEPAGE="http://www.underbit.com/products/mad/"
+SRC_URI="mirror://sourceforge/mad/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="debug static-libs"
+
+RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-util/gperf"
+
+src_prepare() {
+ epunt_cxx #74489
+ epatch "${FILESDIR}/${PV}"/*.patch
+ # gperf 3.1 and newer generate code with a size_t length parameter,
+ # older versions are incompatible and take an unsigned int.
+ has_version '>=dev-util/gperf-3.1' && epatch "${FILESDIR}/${P}-fix-signature.patch"
+
+#SDS
+ epatch "${FILESDIR}"/libid3tag-0.15.1b-ds-rcc.patch || die
+ eautoreconf || die
+#EDS
+
+ elibtoolize #sane .so versionning on fbsd and .so -> .so.version symlink
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ $(use_enable debug debugging)
+}
+
+multilib_src_install() {
+ default
+
+ # This file must be updated with every version update
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins "${FILESDIR}"/id3tag.pc
+ sed -i \
+ -e "s:prefix=.*:prefix=${EPREFIX}/usr:" \
+ -e "s:libdir=\${exec_prefix}/lib:libdir=${EPREFIX}/usr/$(get_libdir):" \
+ -e "s:0.15.0b:${PV}:" \
+ "${ED}"/usr/$(get_libdir)/pkgconfig/id3tag.pc || die
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+ einstalldocs
+}