summaryrefslogtreecommitdiff
path: root/media-sound
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2009-06-17 06:49:13 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2009-06-17 06:49:13 +0300
commit291da57d9f9f66edfd5f05c23779c2cc09e199d8 (patch)
tree8de0e7f7001f3bd2de3e0b4db55fbd0bce8e6c2b /media-sound
parent25168ce860d8a6af9208cab24415da438d25287f (diff)
slots
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/amarok/amarok-2.0.2.ebuild104
-rw-r--r--media-sound/amarok/files/2.0.2-qt4.5.patch30
-rw-r--r--media-sound/mpd/mpd-9999.ebuild2
3 files changed, 1 insertions, 135 deletions
diff --git a/media-sound/amarok/amarok-2.0.2.ebuild b/media-sound/amarok/amarok-2.0.2.ebuild
deleted file mode 100644
index 586bfe4..0000000
--- a/media-sound/amarok/amarok-2.0.2.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-KDE_LINGUAS="ar be bg ca cs csb da de el eo es et eu fi fr ga gl he is it ja km
- ko ku lt lv nb nds ne nl nn oc pa pl pt pt_BR ro ru se sl si sk sv th tr uk zh_CN zh_TW"
-
-OPENGL_REQUIRED="optional"
-inherit kde4-base
-
-DESCRIPTION="Advanced audio player based on KDE framework."
-HOMEPAGE="http://amarok.kde.org/"
-SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-SLOT="2"
-IUSE="cdaudio daap debug ifp ipod mp3tunes mp4 mtp njb +semantic-desktop"
-
-DEPEND="
- >=app-misc/strigi-0.5.7
- || (
- >=dev-db/mysql-5.0[embedded]
- >=dev-db/mysql-community-5.0[embedded]
- )
- dev-db/sqlite:3
- >=media-libs/taglib-1.5
- || (
- media-sound/phonon
- x11-libs/qt-phonon:4
- )
- >=kde-base/kdelibs-${KDE_MINIMAL}[kdeprefix=,opengl?,semantic-desktop?]
- >=kde-base/plasma-workspace-${KDE_MINIMAL}[kdeprefix=]
- x11-libs/qt-webkit:4
- cdaudio? (
- >=kde-base/libkcompactdisc-${KDE_MINIMAL}[kdeprefix=]
- >=kde-base/libkcddb-${KDE_MINIMAL}[kdeprefix=]
- )
- ifp? ( media-libs/libifp )
- ipod? ( >=media-libs/libgpod-0.4.2 )
- mp3tunes? (
- dev-libs/libxml2
- dev-libs/openssl
- net-libs/loudmouth
- net-misc/curl
- )
- mp4? ( media-libs/libmp4v2 )
- mtp? ( >=media-libs/libmtp-0.3.0 )
- njb? ( >=media-libs/libnjb-2.2.4 )
-"
-RDEPEND="${DEPEND}
- app-arch/unzip
- daap? ( www-servers/mongrel )
- semantic-desktop? ( >=kde-base/nepomuk-${KDE_MINIMAL}[kdeprefix=] )
-"
-
-pkg_setup() {
- if use amd64 ; then
- echo
- ewarn "Compilation will fail if dev-db/mysql[-community] is built without -fPIC in your CFLAGS!"
- ewarn "Related bug: http://bugs.gentoo.org/show_bug.cgi?id=238487"
- ewarn
- ewarn "To fix this, and to avoid using -fPIC globally in your make.conf (which is not recommended),"
- ewarn "put the following into /etc/portage/env/dev-db/mysql (or mysql-community, depending on which you use;"
- ewarn "create dirs and the file if they don't exist):"
- ewarn
- ewarn "CFLAGS=\"${CFLAGS} -DPIC -fPIC\""
- ewarn "CXXFLAGS=\"${CXXFLAGS} -DPIC -fPIC\""
- echo
- fi
- kde4-base_pkg_setup
-
-}
-
-src_configure() {
-
-
- if ! use mp3tunes; then
- sed -e'/mp3tunes/ s:^:#DONOTWANT :' \
- -i "${S}"/src/services/CMakeLists.txt \
- || die "Deactivating mp3tunes failed."
- fi
-
- # Remove superfluous QT_WEBKIT
- sed -e 's/ -DQT_WEBKIT//g' \
- -i "${S}"/src/scriptengine/generator/generator/CMakeLists.txt \
- || die "Removing unnecessary -DQT_WEBKIT failed."
-
- epatch "${FILESDIR}"/2.0.2-qt4.5.patch
- mycmakeargs="${mycmakeargs}
- -DUSE_SYSTEM_SQLITE=ON
- $(cmake-utils_use_with cdaudio KdeMultimedia)
- $(cmake-utils_use_with ipod Ipod)
- $(cmake-utils_use_with ifp Ifp)
- $(cmake-utils_use_with mp4 Mp4v2)
- $(cmake-utils_use_with mtp Mtp)
- $(cmake-utils_use_with njb Njb)
- $(cmake-utils_use_with semantic-desktop Nepomuk)
- $(cmake-utils_use_with semantic-desktop Soprano)"
-
- kde4-base_src_configure
-}
diff --git a/media-sound/amarok/files/2.0.2-qt4.5.patch b/media-sound/amarok/files/2.0.2-qt4.5.patch
deleted file mode 100644
index 5b7526e..0000000
--- a/media-sound/amarok/files/2.0.2-qt4.5.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ru amarok-2.0.2.org/src/scriptengine/generator/generator/shellimplgenerator.cpp amarok-2.0.2.patched/src/scriptengine/generator/generator/shellimplgenerator.cpp
---- amarok-2.0.2.org/src/scriptengine/generator/generator/shellimplgenerator.cpp 2009-01-06 13:50:14.000000000 +0100
-+++ amarok-2.0.2.patched/src/scriptengine/generator/generator/shellimplgenerator.cpp 2009-02-20 11:26:14.000000000 +0100
-@@ -105,6 +105,7 @@
- declareFunctionMetaTypes(s, functions, registeredTypeNames);
- s << endl;
- }
-+ writeInjectedCode(s, meta_class);
-
- // write constructors
- foreach (const AbstractMetaFunction *ctor, ctors) {
-diff -ru amarok-2.0.2.org/src/scriptengine/generator/generator/typesystem_gui.xml amarok-2.0.2.patched/src/scriptengine/generator/generator/typesystem_gui.xml
---- amarok-2.0.2.org/src/scriptengine/generator/generator/typesystem_gui.xml 2009-01-06 13:50:14.000000000 +0100
-+++ amarok-2.0.2.patched/src/scriptengine/generator/generator/typesystem_gui.xml 2009-02-20 11:26:08.000000000 +0100
-@@ -5389,8 +5389,13 @@
- <object-type name="QInputContextPlugin"/>
- <object-type name="QPictureFormatPlugin"/>
- <object-type name="QStylePlugin"/>
-- <object-type name="QTextCodecPlugin"/>
--
-+
-+ <object-type name="QTextCodecPlugin">
-+ <inject-code class="shell" position="beginning">
-+Q_DECLARE_METATYPE(QList&lt;int>)
-+ </inject-code>
-+ </object-type>
-+
- <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::QPixmap', unmatched parameter type 'QPixmapData*'"/>
- <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private&amp;'"/>
- <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private\*'"/>
diff --git a/media-sound/mpd/mpd-9999.ebuild b/media-sound/mpd/mpd-9999.ebuild
index 4a4c7c6..a50b047 100644
--- a/media-sound/mpd/mpd-9999.ebuild
+++ b/media-sound/mpd/mpd-9999.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="The Music Player Daemon (mpd)"
HOMEPAGE="http://www.musicpd.org"
LICENSE="GPL-2"
-SLOT="0"
+SLOT="live"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="aac alsa ao audiofile curl debug doc ffmpeg fifo flac icecast id3 ipv6 jack lame libsamplerate mad mikmod musepack ogg oggflac oss pulseaudio sysvipc unicode vorbis wavpack zeroconf"