summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-05-29 12:14:54 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-05-29 12:14:54 +0000
commit0fe9ca750aa2a651e2e1e522aec4af3cb962f49b (patch)
tree54b07adf7b676a9c2ab4a5983182d39797caf078 /media-libs/tunepimp
parentBinary needs GLIBCXX_3.4.9 (>=gcc4.2), bug #271647 (diff)
downloadhistorical-0fe9ca750aa2a651e2e1e522aec4af3cb962f49b.tar.gz
historical-0fe9ca750aa2a651e2e1e522aec4af3cb962f49b.tar.bz2
historical-0fe9ca750aa2a651e2e1e522aec4af3cb962f49b.zip
Revision bump. Fixing gcc issues. Per bug #271615. Thx to hirakendu for patch.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'media-libs/tunepimp')
-rw-r--r--media-libs/tunepimp/ChangeLog9
-rw-r--r--media-libs/tunepimp/Manifest14
-rw-r--r--media-libs/tunepimp/files/tunepimp-0.5.3-gcc44.patch13
-rw-r--r--media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild70
4 files changed, 104 insertions, 2 deletions
diff --git a/media-libs/tunepimp/ChangeLog b/media-libs/tunepimp/ChangeLog
index 121c54d00614..d47b6c4ccb50 100644
--- a/media-libs/tunepimp/ChangeLog
+++ b/media-libs/tunepimp/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/tunepimp
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/ChangeLog,v 1.67 2009/04/27 15:25:52 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/ChangeLog,v 1.68 2009/05/29 12:14:54 scarabeus Exp $
+
+*tunepimp-0.5.3-r2 (29 May 2009)
+
+ 29 May 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ +tunepimp-0.5.3-r2.ebuild, +files/tunepimp-0.5.3-gcc44.patch:
+ Revision bump. Fixing gcc issues. Per bug #271615. Thx to hirakendu for
+ patch.
27 Apr 2009; Jeroen Roovers <jer@gentoo.org> tunepimp-0.5.3-r1:
Marked ~hppa (bug #260777).
diff --git a/media-libs/tunepimp/Manifest b/media-libs/tunepimp/Manifest
index e8227df9b79a..e71038720004 100644
--- a/media-libs/tunepimp/Manifest
+++ b/media-libs/tunepimp/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX tunepimp-0.5.3-build-fix.patch 1996 RMD160 cee043ff0a2068123f47641537b99ede832827e9 SHA1 884d39899beec2dfecb77ae1a199fa2d4a084e6e SHA256 e848053e08c075c8df02fd2f48a93e9330bb790c7b8e48453c90e8e011a17e36
AUX tunepimp-0.5.3-gcc43.patch 4810 RMD160 a180a2a703083f940a2a1bb081018a3bfef320c6 SHA1 ac441ed5903621ebea70ec9e3f4b71f6781d4a05 SHA256 d248c1a84f2157b44e714982e239d2ed93731f39b5455130a3aef422ca48842d
+AUX tunepimp-0.5.3-gcc44.patch 473 RMD160 3f4b6d0cc213ffa7ff42b3b701ae5bc3d113a5d0 SHA1 b761a9733ee6d7d0fa81b22d5b6a2819fc446d0b SHA256 5329927dc730e77040a112448772bab190c5fd8db6a93041ce4266b2e3e57a03
AUX tunepimp-0.5.3-libtool.patch 1169 RMD160 73479770ef2b9fc320de2ed3be2c6dbbf96a7b4c SHA1 ea28badda640e0de0c7d7d7229f3dbf3fd9f46f7 SHA256 7d9b29199b7186b7b57980fd5bcb08e26e0f13e4f989dc6b8ee04e968f919b40
DIST libtunepimp-0.5.3.tar.gz 1097005 RMD160 6bc312591b98a5b74824fc3103137cbf60d4b012 SHA1 1b904cd97ce009588fe57336f40e79b6edf9947e SHA256 341744a0be386387632fc4bb906b97d2b3346137beb2c776a41dedaeeb0f2468
EBUILD tunepimp-0.5.3-r1.ebuild 1740 RMD160 b0ca08dd0eefc94409d32f8c366a2c54a6babe5e SHA1 03bc1f36746d308ac5b7c631ea5229c163bbf18f SHA256 c362174ba2b25cec9fe822462a33124796a3af75f86d73792b1240381e0b660c
+EBUILD tunepimp-0.5.3-r2.ebuild 1782 RMD160 0ea16187474e3b72f84600d8d51782f01df945a8 SHA1 6cfcf78ac7c3b260b1bf0a207c04d50ccad456a9 SHA256 351b2220e0bce2648818fd6cb7162b623a3c6fe04c7e2f0789966120a1981fd9
EBUILD tunepimp-0.5.3.ebuild 1520 RMD160 9fcbeb72d1b2a76c311ccd123a04091952cd058b SHA1 d5d3d7780ee463010fb9b278ec691a3495e760b2 SHA256 bb2d9cf6fbc64bf309ff5d23c40a0c51a6946fc8d0ec5342c47bda121bfae5e9
-MISC ChangeLog 8750 RMD160 a9b7e901aa2c66d11831b41f450a09e8ff3ff1e2 SHA1 6baef3c3456af83cabfdd06026f4c80bf75f7c4b SHA256 4d21728f935d69e1e0f8ce947e86aa2fb49a8bbea9947b41cff935d769a17fb6
+MISC ChangeLog 8993 RMD160 aea688ae7005b1d755f1975ac11424dfbd69ae26 SHA1 3598d4072c18c6edd1d5fb467549aa75e8072d6f SHA256 7191b1d6bd2e5aa69248730e785f9b8bc897e3dd1686007876dc4d8ff3ab21dd
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkof0dkACgkQHB6c3gNBRYfSpQCgvPkAzI+7qePXEf615bpStCiv
+u6AAoKzMfiIxfLsxNJOqACqIwd2u4PdM
+=l+nv
+-----END PGP SIGNATURE-----
diff --git a/media-libs/tunepimp/files/tunepimp-0.5.3-gcc44.patch b/media-libs/tunepimp/files/tunepimp-0.5.3-gcc44.patch
new file mode 100644
index 000000000000..2c5e4f9dbf2d
--- /dev/null
+++ b/media-libs/tunepimp/files/tunepimp-0.5.3-gcc44.patch
@@ -0,0 +1,13 @@
+diff -ruN libtunepimp-0.5.3.orig/lib/fileio.cpp libtunepimp-0.5.3/lib/fileio.cpp
+--- libtunepimp-0.5.3.orig/lib/fileio.cpp 2009-05-28 11:49:43.000000000 -0700
++++ libtunepimp-0.5.3/lib/fileio.cpp 2009-05-28 11:59:05.000000000 -0700
+@@ -124,7 +124,8 @@
+
+ void tmktempname(const char *path, char *newPath, int newPathLen)
+ {
+- char *ptr, *temp;
++ const char *ptr;
++ char *temp;
+
+ temp = (char *)malloc(strlen(path) + 32);
+ ptr = strrchr(path, dirSepChar);
diff --git a/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild b/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild
new file mode 100644
index 000000000000..bef98d3214ad
--- /dev/null
+++ b/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/tunepimp-0.5.3-r2.ebuild,v 1.1 2009/05/29 12:14:54 scarabeus Exp $
+
+EAPI="1"
+
+inherit eutils distutils autotools
+
+MY_P="lib${P}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="TunePimp is a library to create MusicBrainz enabled tagging applications."
+HOMEPAGE="http://www.musicbrainz.org/products/tunepimp"
+SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+# Most use flags were void as not deterministic - needs a patch sooner or later.
+#IUSE="flac mp3 readline perl python vorbis"
+IUSE="python"
+
+RDEPEND="sys-libs/zlib
+ dev-libs/expat
+ net-misc/curl
+ >=media-libs/flac-1.1.2
+ media-libs/libmad
+ >=media-libs/musicbrainz-2.1.0:1
+ media-libs/libofa
+ media-libs/libvorbis
+ !media-sound/trm
+ sys-libs/readline"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+# parallel build is broken - https://bugs.gentoo.org/204174
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch \
+ "${FILESDIR}/${P}-gcc43.patch" \
+ "${FILESDIR}/${P}-libtool.patch" \
+ "${FILESDIR}/${P}-build-fix.patch" \
+ "${FILESDIR}/${P}-gcc44.patch"
+
+ sed -i -e "s: tta::" configure.in
+
+ eautoreconf
+}
+
+src_compile() {
+ # We need to override distutils_src_compile, bug 160145
+ econf || die 'econf failed'
+ emake || die 'emake failed'
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog INSTALL README TODO || die "installing docs failed"
+
+ if use python; then
+ cd "${S}/python"
+ distutils_src_install
+ insinto /usr/share/doc/${PF}/examples/
+ doins examples/* || die "installing examples failed"
+ fi
+}