diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2005-12-01 23:25:20 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2005-12-01 23:25:20 +0000 |
commit | 23f772022b408a3452f347a2f4dfb1c2aace9aea (patch) | |
tree | 8ea4d57b9f27651844b1ef84df00bd622d8b2c18 /media-libs/tunepimp | |
parent | Stable on alpha wrt sec bug #113888 (diff) | |
download | historical-23f772022b408a3452f347a2f4dfb1c2aace9aea.tar.gz historical-23f772022b408a3452f347a2f4dfb1c2aace9aea.tar.bz2 historical-23f772022b408a3452f347a2f4dfb1c2aace9aea.zip |
version bump
Package-Manager: portage-2.0.53
Diffstat (limited to 'media-libs/tunepimp')
-rw-r--r-- | media-libs/tunepimp/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/tunepimp/Manifest | 15 | ||||
-rw-r--r-- | media-libs/tunepimp/files/digest-tunepimp-0.4.0 | 1 | ||||
-rw-r--r-- | media-libs/tunepimp/files/tunepimp-0.4.0-gcc41.patch | 79 | ||||
-rw-r--r-- | media-libs/tunepimp/tunepimp-0.4.0.ebuild | 67 |
5 files changed, 158 insertions, 12 deletions
diff --git a/media-libs/tunepimp/ChangeLog b/media-libs/tunepimp/ChangeLog index 32b11b7bd050..4b62514d4cc9 100644 --- a/media-libs/tunepimp/ChangeLog +++ b/media-libs/tunepimp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/tunepimp # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/ChangeLog,v 1.28 2005/11/28 13:04:10 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/ChangeLog,v 1.29 2005/12/01 23:25:20 carlo Exp $ + +*tunepimp-0.4.0 (01 Dec 2005) + + 01 Dec 2005; Carsten Lohrke <carlo@gentoo.org> + +files/tunepimp-0.4.0-gcc41.patch, +tunepimp-0.4.0.ebuild: + version bump + gcc 4.1 patch thanks to Hanno 28 Nov 2005; <mcumming@gentoo.org> tunepimp-0.3.0-r1.ebuild, tunepimp-0.3.0.ebuild: diff --git a/media-libs/tunepimp/Manifest b/media-libs/tunepimp/Manifest index 4deb811c2e85..0168259046dc 100644 --- a/media-libs/tunepimp/Manifest +++ b/media-libs/tunepimp/Manifest @@ -1,17 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 ac3d44d973631c7a914d251c50007972 ChangeLog 3202 +MD5 74f6b622224ddfb94357a0e981df7cba ChangeLog 3387 MD5 f79074eba8191dbaded3e898a9e6faf9 files/digest-tunepimp-0.3.0 69 MD5 f79074eba8191dbaded3e898a9e6faf9 files/digest-tunepimp-0.3.0-r1 69 +MD5 fece1b04a4c8f1f15a7b8cb159d2612f files/digest-tunepimp-0.4.0 69 MD5 9df04c3c157b652e3e895eeabb7015e6 files/thread.patch 393 +MD5 ddfcf1401793f2157f523dd4445f2d6d files/tunepimp-0.4.0-gcc41.patch 2059 MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 MD5 aad89f402df803452c0a722a2498de3f tunepimp-0.3.0-r1.ebuild 1706 MD5 87514ccfe6474baeda0cca5a197df66d tunepimp-0.3.0.ebuild 1518 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDiwBTtG5z4I8BtQoRAgSkAJ4qdmTcvKGAog4jvEQNMmX/J0YaCACeOZIM -/6HnGm9YcVI6VetbI1/MoAs= -=T71Q ------END PGP SIGNATURE----- +MD5 f50365f457548be7ca0116e86db3d026 tunepimp-0.4.0.ebuild 1794 diff --git a/media-libs/tunepimp/files/digest-tunepimp-0.4.0 b/media-libs/tunepimp/files/digest-tunepimp-0.4.0 new file mode 100644 index 000000000000..d64df4b119f4 --- /dev/null +++ b/media-libs/tunepimp/files/digest-tunepimp-0.4.0 @@ -0,0 +1 @@ +MD5 c11c3082ee72896949cb4fdb7acbbf63 libtunepimp-0.4.0.tar.gz 997748 diff --git a/media-libs/tunepimp/files/tunepimp-0.4.0-gcc41.patch b/media-libs/tunepimp/files/tunepimp-0.4.0-gcc41.patch new file mode 100644 index 000000000000..7b8c7592600d --- /dev/null +++ b/media-libs/tunepimp/files/tunepimp-0.4.0-gcc41.patch @@ -0,0 +1,79 @@ +--- libtunepimp-0.4.0/include/tunepimp/metadata.h 2005-11-12 00:45:45.000000000 +0100 ++++ libtunepimp-0.4.0-gcc41/include/tunepimp/metadata.h 2005-11-28 13:03:02.337021584 +0100 +@@ -59,7 +59,7 @@ + // This is only used in case of TRM collision + int numTRMIds; + +- Metadata::Metadata(void) ++ Metadata(void) + { + trackNum = 0; + duration = 0; +@@ -72,11 +72,11 @@ + totalInSet = 0; + }; + +- Metadata::~Metadata(void) ++ ~Metadata(void) + { + } + +- Metadata &Metadata::operator=(const Metadata &other) ++ Metadata &operator=(const Metadata &other) + { + artist = other.artist; + sortName = other.sortName; +@@ -104,7 +104,7 @@ + return *this; + }; + +- bool Metadata::isEmpty(void) ++ bool isEmpty(void) + { + return (artist.empty() && album.empty() && track.empty() && + trackNum == 0 && duration == 0 && fileTrm.empty() && +@@ -112,7 +112,7 @@ + sortName.empty() && fileFormat.empty()); + } + +- bool Metadata::operator==(const Metadata &other) ++ bool operator==(const Metadata &other) + { + if (artist == other.artist && + album == other.album && +@@ -140,7 +140,7 @@ + return false; + }; + +- void Metadata::clear(void) ++ void clear(void) + { + artist = ""; + album = ""; +@@ -164,7 +164,7 @@ + totalInSet = 0; + } + +- void Metadata::readFromC(const metadata_t *mdata) ++ void readFromC(const metadata_t *mdata) + { + artist = mdata->artist; + sortName = mdata->sortName; +@@ -190,7 +190,7 @@ + totalInSet = mdata->totalInSet; + } + +- void Metadata::writeToC(metadata_t *mdata) const ++ void writeToC(metadata_t *mdata) const + { + memset(mdata, 0, sizeof(metadata_t)); + +@@ -218,7 +218,7 @@ + mdata->totalInSet = totalInSet; + } + +- void Metadata::print(void) ++ void print(void) + { + printf("artist: '%s'\n", artist.c_str()); + printf("sortName: '%s'\n", sortName.c_str()); diff --git a/media-libs/tunepimp/tunepimp-0.4.0.ebuild b/media-libs/tunepimp/tunepimp-0.4.0.ebuild new file mode 100644 index 000000000000..aeb9fb825103 --- /dev/null +++ b/media-libs/tunepimp/tunepimp-0.4.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/tunepimp/tunepimp-0.4.0.ebuild,v 1.1 2005/12/01 23:25:20 carlo Exp $ + +inherit eutils distutils perl-app + +MY_P="lib${P}" +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Client 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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples flac mp3 readline perl python vorbis" + +RDEPEND=">=media-libs/musicbrainz-2.1.0 + flac? ( media-libs/flac ) + vorbis? ( media-libs/libvorbis ) + readline? ( sys-libs/readline ) + mp3? ( media-libs/libmad ) + !media-sound/trm" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-gcc41.patch + + # do not try to link against obsolete libtermcap + sed -i -e 's,-ltermcap,-lncurses,' ${S}/configure + sed -i -e 's:-lthr:-lpthread:g' ${S}/lib/threads/posix/Makefile.in +} + +src_compile() { + econf || die "configure failed" + emake || die "emake failed" + if use perl; then + cd ${S}/perl/tunepimp-perl + perl-app_src_compile || die "perl module failed to compile" + fi +} + +src_install() { + cd ${S} + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog INSTALL README TODO + if use python; then + cd ${S}/python + distutils_src_install + if use examples ; then + insinto /usr/share/doc/${PF}/examples/ + doins examples/* + fi + fi + if use perl; then + cd ${S}/perl/tunepimp-perl + perl-module_src_install || die "perl module failed to install" + if use examples ; then + insinto /usr/share/doc/${PF}/examples/ + doins examples/* + fi + fi +} |