diff options
author | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-02-18 23:57:27 +0000 |
---|---|---|
committer | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-02-18 23:57:27 +0000 |
commit | ab64cda4e1b787a3841aba763ad71371cbc44a08 (patch) | |
tree | 4b579f2c751093fcbb40c049645a9aa45eaf615b /kde-base/kdemultimedia | |
parent | Remove monolithic KDE 4.0, bug 209586. (diff) | |
download | gentoo-2-ab64cda4e1b787a3841aba763ad71371cbc44a08.tar.gz gentoo-2-ab64cda4e1b787a3841aba763ad71371cbc44a08.tar.bz2 gentoo-2-ab64cda4e1b787a3841aba763ad71371cbc44a08.zip |
Remove monolithic KDE 4.0, bug 209586.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-base/kdemultimedia')
-rw-r--r-- | kde-base/kdemultimedia/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdemultimedia/files/kdemultimedia-4.0.0-flac-1.1.3.patch | 46 | ||||
-rw-r--r-- | kde-base/kdemultimedia/kdemultimedia-4.0.0-r1.ebuild | 55 |
3 files changed, 6 insertions, 102 deletions
diff --git a/kde-base/kdemultimedia/ChangeLog b/kde-base/kdemultimedia/ChangeLog index fbf70bcb6e63..2997581f5dd4 100644 --- a/kde-base/kdemultimedia/ChangeLog +++ b/kde-base/kdemultimedia/ChangeLog @@ -1,6 +1,11 @@ # 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.267 2008/02/18 13:11:26 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia/ChangeLog,v 1.268 2008/02/18 23:57:27 ingmar Exp $ + + 18 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org> + -files/kdemultimedia-4.0.0-flac-1.1.3.patch, + -kdemultimedia-4.0.0-r1.ebuild: + Remove monolithic KDE 4.0, bug 209586. 18 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org> -kdemultimedia-3.5.5.ebuild, -kdemultimedia-3.5.6.ebuild, 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 deleted file mode 100644 index 98df4cf05ec6..000000000000 --- a/kde-base/kdemultimedia/files/kdemultimedia-4.0.0-flac-1.1.3.patch +++ /dev/null @@ -1,46 +0,0 @@ -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 deleted file mode 100644 index 169083d28267..000000000000 --- a/kde-base/kdemultimedia/kdemultimedia-4.0.0-r1.ebuild +++ /dev/null @@ -1,55 +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-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 -} |