summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <zlin@gentoo.org>2008-01-28 01:53:36 +0000
committerBo Ørsted Andresen <zlin@gentoo.org>2008-01-28 01:53:36 +0000
commit70605aea55ed7ed7157408df52f68c345215d4a4 (patch)
treef98f4ad54834c2cd768e69238c43b04d0eb01c35 /kde-base/kdemultimedia
parentMarking subversion-1.4.6 ppc and ppc64 for bug 207572 (diff)
downloadhistorical-70605aea55ed7ed7157408df52f68c345215d4a4.tar.gz
historical-70605aea55ed7ed7157408df52f68c345215d4a4.tar.bz2
historical-70605aea55ed7ed7157408df52f68c345215d4a4.zip
Add USE=encode. Fix USE=flac.
Package-Manager: portage-2.1.4
Diffstat (limited to 'kde-base/kdemultimedia')
-rw-r--r--kde-base/kdemultimedia/ChangeLog9
-rw-r--r--kde-base/kdemultimedia/Manifest36
-rw-r--r--kde-base/kdemultimedia/files/digest-kdemultimedia-4.0.0-r1 (renamed from kde-base/kdemultimedia/files/digest-kdemultimedia-4.0.0)0
-rw-r--r--kde-base/kdemultimedia/files/kdemultimedia-4.0.0-flac-1.1.3.patch46
-rw-r--r--kde-base/kdemultimedia/kdemultimedia-4.0.0-r1.ebuild55
-rw-r--r--kde-base/kdemultimedia/kdemultimedia-4.0.0.ebuild41
6 files changed, 134 insertions, 53 deletions
diff --git a/kde-base/kdemultimedia/ChangeLog b/kde-base/kdemultimedia/ChangeLog
index 4059a9382a5e..e5bba19a8c2b 100644
--- a/kde-base/kdemultimedia/ChangeLog
+++ b/kde-base/kdemultimedia/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for kde-base/kdemultimedia
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/ChangeLog,v 1.259 2008/01/17 23:50:57 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/ChangeLog,v 1.260 2008/01/28 01:53:36 zlin Exp $
+
+*kdemultimedia-4.0.0-r1 (28 Jan 2008)
+
+ 28 Jan 2008; Bo Ørsted Andresen <zlin@gentoo.org>
+ +files/kdemultimedia-4.0.0-flac-1.1.3.patch, -kdemultimedia-4.0.0.ebuild,
+ +kdemultimedia-4.0.0-r1.ebuild:
+ Add USE=encode. Fix USE=flac.
*kdemultimedia-4.0.0 (17 Jan 2008)
diff --git a/kde-base/kdemultimedia/Manifest b/kde-base/kdemultimedia/Manifest
index 18cb349e5613..d3b08cae2d14 100644
--- a/kde-base/kdemultimedia/Manifest
+++ b/kde-base/kdemultimedia/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX kdemultimedia-3.5.5+flac-1.1.3.patch 2456 RMD160 67dfbe88872adb5fc2064ad0cf545931a895500f SHA1 d6a5b9d518eb465b1174c127593f246fb44109e0 SHA256 bb337df8f696f49f1d121ca59113c95f7aef788bfd574ab20fdaf8c7e090021b
MD5 72791ea8b5767cec50d02375322a2315 files/kdemultimedia-3.5.5+flac-1.1.3.patch 2456
RMD160 67dfbe88872adb5fc2064ad0cf545931a895500f files/kdemultimedia-3.5.5+flac-1.1.3.patch 2456
@@ -6,6 +9,10 @@ AUX kdemultimedia-3.5.6-alsa-tests.patch 10263 RMD160 cf2099a97198c74bc3823d8111
MD5 4ea49001004c3e6ea78c184653b5d987 files/kdemultimedia-3.5.6-alsa-tests.patch 10263
RMD160 cf2099a97198c74bc3823d81114723028b34660c files/kdemultimedia-3.5.6-alsa-tests.patch 10263
SHA256 18caf016dee9e68c2819aec8a223fcf6946a1e2cb861b6afa612af7fa81178ee files/kdemultimedia-3.5.6-alsa-tests.patch 10263
+AUX kdemultimedia-4.0.0-flac-1.1.3.patch 2258 RMD160 945736ab4699b1a56fb604321132a5c5eef6abac SHA1 241c5243aa5af133932135a4dcfbbe62f246bcf2 SHA256 3f9069a670bdab3f93d109719c213a2855c89a76aaffa7f2ef753f26046d5c67
+MD5 7521bd04569d46af148291621e0574e2 files/kdemultimedia-4.0.0-flac-1.1.3.patch 2258
+RMD160 945736ab4699b1a56fb604321132a5c5eef6abac files/kdemultimedia-4.0.0-flac-1.1.3.patch 2258
+SHA256 3f9069a670bdab3f93d109719c213a2855c89a76aaffa7f2ef753f26046d5c67 files/kdemultimedia-4.0.0-flac-1.1.3.patch 2258
AUX kdemultimedia-kioslaves-3.5.8-freebsd.patch 894 RMD160 054c2d7b1e037ac1307281183f0a2ebc753ff26b SHA1 18afed5747e761444bda8788d30c98dd7838e27f SHA256 da6dbdf3939534e5efc6019244321113814de93f4e709f9831a51d57d8902abf
MD5 d28b6a014b02549db3d74ff182a21d11 files/kdemultimedia-kioslaves-3.5.8-freebsd.patch 894
RMD160 054c2d7b1e037ac1307281183f0a2ebc753ff26b files/kdemultimedia-kioslaves-3.5.8-freebsd.patch 894
@@ -39,14 +46,14 @@ EBUILD kdemultimedia-3.5.8.ebuild 2818 RMD160 3c8bdc5e960aeda12f423f51c7d54c9fb8
MD5 ba288ca50f8555de3464bc354a847753 kdemultimedia-3.5.8.ebuild 2818
RMD160 3c8bdc5e960aeda12f423f51c7d54c9fb8cc5325 kdemultimedia-3.5.8.ebuild 2818
SHA256 0dafa2a8567cf38158972b4a85271115f8bdf36b506a432ffc3d205934d768b8 kdemultimedia-3.5.8.ebuild 2818
-EBUILD kdemultimedia-4.0.0.ebuild 1076 RMD160 06596b39c6bd101e903b8eb33dc9726a7b9c2da6 SHA1 9e4a9d6d6a28b33a79146fb865ced6d7efece420 SHA256 e822465271c6edca58aa4f8fe5cd512a43e42817a5a51fb1f0dbb06656a7820b
-MD5 709e6d9850d5f339d227fa319c6c1d20 kdemultimedia-4.0.0.ebuild 1076
-RMD160 06596b39c6bd101e903b8eb33dc9726a7b9c2da6 kdemultimedia-4.0.0.ebuild 1076
-SHA256 e822465271c6edca58aa4f8fe5cd512a43e42817a5a51fb1f0dbb06656a7820b kdemultimedia-4.0.0.ebuild 1076
-MISC ChangeLog 37289 RMD160 e298b712dacf1be578d80eea28beb6ebc5d85451 SHA1 d20f60f85f5368df69e32408866966edd53cccca SHA256 06cbbf42ca83463e5f5e3ff6df2dbf897a95ae96a7e695834d55465dba1d9e62
-MD5 ce6318de8906ad59b064663c53d07da5 ChangeLog 37289
-RMD160 e298b712dacf1be578d80eea28beb6ebc5d85451 ChangeLog 37289
-SHA256 06cbbf42ca83463e5f5e3ff6df2dbf897a95ae96a7e695834d55465dba1d9e62 ChangeLog 37289
+EBUILD kdemultimedia-4.0.0-r1.ebuild 1411 RMD160 ee2e43a342e5425a993302d712861a8e0cad025c SHA1 cdcf86e46dd1157b67a62de150c1d268723fb4b2 SHA256 c13ba8187fccf8bdb37031e2aa245422d890860a14754cfa697255f1fbfaaab7
+MD5 c1a2cf52144de72c8ed11c56947de1f8 kdemultimedia-4.0.0-r1.ebuild 1411
+RMD160 ee2e43a342e5425a993302d712861a8e0cad025c kdemultimedia-4.0.0-r1.ebuild 1411
+SHA256 c13ba8187fccf8bdb37031e2aa245422d890860a14754cfa697255f1fbfaaab7 kdemultimedia-4.0.0-r1.ebuild 1411
+MISC ChangeLog 37518 RMD160 69eba251e257bc9ebff377f1761062f9e329b212 SHA1 1d6933d07bdbd555b6e82de26ae8bc8cdc684e37 SHA256 e3daf7a508ef5e0dcb56e237554022e7917d27980057359352a3bb4902b0c7ca
+MD5 b3508be49ea5aa5bc14474a7801f92ca ChangeLog 37518
+RMD160 69eba251e257bc9ebff377f1761062f9e329b212 ChangeLog 37518
+SHA256 e3daf7a508ef5e0dcb56e237554022e7917d27980057359352a3bb4902b0c7ca ChangeLog 37518
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156
@@ -66,6 +73,13 @@ SHA256 74fc4bdf05515e27c8df29337b0948e9e6c900e4b44010ce065eae5d7fa4ef6c files/di
MD5 21457610efb171320a91b835e6828f86 files/digest-kdemultimedia-3.5.8-r1 265
RMD160 4a266e50b00720b36702d36074f5a2e8a9ca2efb files/digest-kdemultimedia-3.5.8-r1 265
SHA256 74fc4bdf05515e27c8df29337b0948e9e6c900e4b44010ce065eae5d7fa4ef6c files/digest-kdemultimedia-3.5.8-r1 265
-MD5 ef9a48b2f73cdaa0c74cb489972372ca files/digest-kdemultimedia-4.0.0 265
-RMD160 a469db9b76394764a2b13415d847271082bb274b files/digest-kdemultimedia-4.0.0 265
-SHA256 9734be39d215dfe85d190ac2352bbbae66c2d14239b80ec13632772c30dd0ed9 files/digest-kdemultimedia-4.0.0 265
+MD5 ef9a48b2f73cdaa0c74cb489972372ca files/digest-kdemultimedia-4.0.0-r1 265
+RMD160 a469db9b76394764a2b13415d847271082bb274b files/digest-kdemultimedia-4.0.0-r1 265
+SHA256 9734be39d215dfe85d190ac2352bbbae66c2d14239b80ec13632772c30dd0ed9 files/digest-kdemultimedia-4.0.0-r1 265
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHnTWGfxJ68Jl1NeERAg+wAKCuC7gz7mspJXc4fVQkzU8qCJoO5ACePTk+
+nUsp5jYvdtJLUiW6mAIThBo=
+=r0t/
+-----END PGP SIGNATURE-----
diff --git a/kde-base/kdemultimedia/files/digest-kdemultimedia-4.0.0 b/kde-base/kdemultimedia/files/digest-kdemultimedia-4.0.0-r1
index 95b7325c286d..95b7325c286d 100644
--- a/kde-base/kdemultimedia/files/digest-kdemultimedia-4.0.0
+++ b/kde-base/kdemultimedia/files/digest-kdemultimedia-4.0.0-r1
diff --git a/kde-base/kdemultimedia/files/kdemultimedia-4.0.0-flac-1.1.3.patch b/kde-base/kdemultimedia/files/kdemultimedia-4.0.0-flac-1.1.3.patch
new file mode 100644
index 000000000000..98df4cf05ec6
--- /dev/null
+++ b/kde-base/kdemultimedia/files/kdemultimedia-4.0.0-flac-1.1.3.patch
@@ -0,0 +1,46 @@
+Index: kdemultimedia/kioslave/audiocd/plugins/flac/encoderflac.cpp
+===================================================================
+--- kdemultimedia/kioslave/audiocd/plugins/flac/encoderflac.cpp (revision 749997)
++++ kdemultimedia/kioslave/audiocd/plugins/flac/encoderflac.cpp (working copy)
+@@ -48,7 +48,16 @@ public:
+ unsigned long data;
+ };
+
+-static FLAC__StreamEncoderWriteStatus WriteCallback(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame, void *client_data)
++static FLAC__StreamEncoderWriteStatus WriteCallback(const FLAC__StreamEncoder *encoder,
++ const FLAC__byte buffer[],
++#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
++ unsigned bytes,
++#else
++ size_t bytes,
++#endif
++ unsigned samples,
++ unsigned current_frame,
++ void *client_data)
+ {
+ EncoderFLAC::Private *d = (EncoderFLAC::Private*)client_data;
+
+@@ -110,9 +119,11 @@ unsigned long EncoderFLAC::size(long tim
+ long EncoderFLAC::readInit(long size) {
+ kDebug(7117) << "EncoderFLAC::readInit() called";
+ d->data = 0;
++#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
+ FLAC__stream_encoder_set_write_callback(d->encoder, WriteCallback);
+ FLAC__stream_encoder_set_metadata_callback(d->encoder, MetadataCallback);
+ FLAC__stream_encoder_set_client_data(d->encoder, d);
++#endif
+
+ // The options match approximely those of flac compression-level-3
+ FLAC__stream_encoder_set_do_mid_side_stereo(d->encoder, true);
+@@ -125,7 +136,11 @@ long EncoderFLAC::readInit(long size) {
+ if (size > 0)
+ FLAC__stream_encoder_set_total_samples_estimate(d->encoder, size/4);
+
++#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
+ FLAC__stream_encoder_init(d->encoder);
++#else
++ FLAC__stream_encoder_init_stream(d->encoder, WriteCallback, NULL, NULL, MetadataCallback, d);
++#endif
+ return d->data;
+ }
+
diff --git a/kde-base/kdemultimedia/kdemultimedia-4.0.0-r1.ebuild b/kde-base/kdemultimedia/kdemultimedia-4.0.0-r1.ebuild
new file mode 100644
index 000000000000..169083d28267
--- /dev/null
+++ b/kde-base/kdemultimedia/kdemultimedia-4.0.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-4.0.0-r1.ebuild,v 1.1 2008/01/28 01:53:36 zlin Exp $
+
+EAPI="1"
+
+inherit kde4-base
+
+DESCRIPTION="KDE multimedia module"
+HOMEPAGE="http://www.kde.org/"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug encode htmlhandbook flac musicbrainz tunepimp vorbis"
+LICENSE="GPL-2 LGPL-2"
+
+RESTRICT="test"
+
+DEPEND=">=kde-base/kdebase-${PV}:${SLOT}
+ media-libs/taglib
+ media-sound/cdparanoia
+ alsa? ( media-libs/alsa-lib )
+ encode? ( flac? ( >=media-libs/flac-1.1.2
+ >=kde-base/kdelibs-4.0.0-r1:kde-4 )
+ vorbis? ( media-libs/libvorbis ) )
+ musicbrainz? ( media-libs/musicbrainz )
+ tunepimp? ( media-libs/tunepimp )"
+
+PATCHES="${FILESDIR}/${P}-flac-1.1.3.patch"
+
+src_compile() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with alsa Alsa)
+ $(cmake-utils_use_enable musicbrainz MusicBrainz)
+ $(cmake-utils_use_with tunepimp TunePimp)"
+
+ if use encode; then
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with flac Flac)"
+ $(cmake-utils_use_with vorbis OggVorbis)
+ else
+ mycmakeargs="${mycmakeargs}
+ -DWITH_OggVorbis=OFF -DWITH_Flac=OFF"
+ fi
+
+ kde4-base_src_compile
+}
+
+pkg_postinst() {
+ if use encode; then
+ echo
+ elog "In order to use the lame plugin to encode mp3 files you will need to"
+ elog "install media-sound/lame"
+ echo
+ fi
+}
diff --git a/kde-base/kdemultimedia/kdemultimedia-4.0.0.ebuild b/kde-base/kdemultimedia/kdemultimedia-4.0.0.ebuild
deleted file mode 100644
index bb3a4f38730d..000000000000
--- a/kde-base/kdemultimedia/kdemultimedia-4.0.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/kdemultimedia-4.0.0.ebuild,v 1.2 2008/01/18 03:07:52 mr_bones_ Exp $
-
-EAPI="1"
-
-inherit kde4-base
-
-DESCRIPTION="KDE multimedia module"
-HOMEPAGE="http://www.kde.org/"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="debug htmlhandbook alsa flac musicbrainz tunepimp vorbis"
-LICENSE="GPL-2 LGPL-2"
-
-RESTRICT="test"
-
-DEPEND="media-libs/taglib
- media-sound/cdparanoia
- vorbis? ( media-libs/libvorbis )
- tunepimp? ( media-libs/tunepimp )
- musicbrainz? ( media-libs/musicbrainz )
- alsa? ( media-libs/alsa-lib )
- >=kde-base/kdebase-${PV}:${SLOT}"
-
-src_compile() {
- mycmakeargs="${mycmakeargs}
- $(cmake-utils_use_with tunepimp TunePimp)
- $(cmake-utils_use_with vorbis OggVorbis)
- $(cmake-utils_use_with alsa Alsa)
- $(cmake-utils_use_enable musicbrainz MusicBrainz)"
-
- kde4-base_src_compile
-}
-
-pkg_postinst() {
- echo
- elog "In order to use the lame plugin to encode mp3 files you will need to"
- elog "install media-sound/lame"
- echo
-}