Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: media-sound/amarok/
Date: Thu, 09 Feb 2012 15:38:35
Message-Id: 7aac23ce21a5b95aed3457d809d95b5f41007fe4.johu@gentoo
1 commit: 7aac23ce21a5b95aed3457d809d95b5f41007fe4
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 9 15:36:49 2012 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 9 15:36:49 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=7aac23ce
7
8 [media-sound/amarok] Removed, newer version in tree.
9
10 (Portage version: 2.2.0_alpha85/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 media-sound/amarok/amarok-2.4.90.ebuild | 149 -------------------------------
14 1 files changed, 0 insertions(+), 149 deletions(-)
15
16 diff --git a/media-sound/amarok/amarok-2.4.90.ebuild b/media-sound/amarok/amarok-2.4.90.ebuild
17 deleted file mode 100644
18 index 12bb462..0000000
19 --- a/media-sound/amarok/amarok-2.4.90.ebuild
20 +++ /dev/null
21 @@ -1,149 +0,0 @@
22 -# Copyright 1999-2012 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Header: $
25 -
26 -EAPI=4
27 -
28 -KDE_LINGUAS="bg ca cs da de en_GB es et eu fi fr it ja km nb nds nl pa
29 -pl pt pt_BR ru sl sr sr@latin sv th tr uk wa zh_TW"
30 -KDE_SCM="git"
31 -KDE_REQUIRED="never"
32 -inherit flag-o-matic kde4-base
33 -
34 -DESCRIPTION="Advanced audio player based on KDE framework."
35 -HOMEPAGE="http://amarok.kde.org/"
36 -if [[ ${PV} != *9999* ]]; then
37 - SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
38 - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
39 -else
40 - KEYWORDS=""
41 -fi
42 -
43 -LICENSE="GPL-2"
44 -SLOT="4"
45 -IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp opengl +player semantic-desktop +utils"
46 -
47 -# Tests require gmock - http://code.google.com/p/gmock/
48 -# It's not in the tree yet
49 -RESTRICT="test"
50 -
51 -# ipod requires gdk enabled and also gtk compiled in libgpod
52 -COMMONDEPEND="
53 - >=media-libs/taglib-1.6.1[asf,mp4]
54 - >=media-libs/taglib-extras-1.0.1
55 - player? (
56 - app-crypt/qca:2
57 - >=app-misc/strigi-0.5.7
58 - $(add_kdebase_dep kdelibs 'opengl?,semantic-desktop?')
59 - $(add_kdebase_dep kdebase-kioslaves)
60 - sys-libs/zlib
61 - >=virtual/mysql-5.1[embedded?]
62 - x11-libs/qt-script
63 - >=x11-libs/qtscriptgenerator-0.1.0
64 - cdda? (
65 - $(add_kdebase_dep libkcddb)
66 - $(add_kdebase_dep libkcompactdisc)
67 - $(add_kdebase_dep kdemultimedia-kioslaves)
68 - )
69 - ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
70 - lastfm? ( >=media-libs/liblastfm-0.3.0 )
71 - mp3tunes? (
72 - dev-libs/glib:2
73 - dev-libs/libxml2
74 - dev-libs/openssl
75 - net-libs/loudmouth
76 - net-misc/curl
77 - x11-libs/qt-core[glib]
78 - )
79 - mtp? ( >=media-libs/libmtp-1.0.0 )
80 - opengl? ( virtual/opengl )
81 - )
82 - utils? (
83 - x11-libs/qt-core
84 - x11-libs/qt-dbus
85 - )
86 - !player? ( !utils? ( media-sound/amarok[player] ) )
87 -"
88 -DEPEND="${COMMONDEPEND}
89 - dev-util/automoc
90 - dev-util/pkgconfig
91 -"
92 -RDEPEND="${COMMONDEPEND}
93 - !media-sound/amarok-utils
94 - player? ( $(add_kdebase_dep phonon-kde) )
95 -"
96 -
97 -src_prepare() {
98 - if ! use player; then
99 - # Disable po processing
100 - sed -e "s:include(MacroOptionalAddSubdirectory)::" \
101 - -i "${S}/CMakeLists.txt" \
102 - || die "Removing include of MacroOptionalAddSubdirectory failed."
103 - sed -e "s:macro_optional_add_subdirectory( po )::" \
104 - -i "${S}/CMakeLists.txt" \
105 - || die "Removing include of MacroOptionalAddSubdirectory failed."
106 - fi
107 -
108 - kde4-base_src_prepare
109 -}
110 -
111 -src_configure() {
112 - # Append minimal-toc cflag for ppc64, see bug 280552 and 292707
113 - use ppc64 && append-flags -mminimal-toc
114 - local mycmakeargs
115 -
116 - if use player; then
117 - mycmakeargs=(
118 - -DWITH_PLAYER=ON
119 - -DWITH_Libgcrypt=OFF
120 - $(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
121 - $(cmake-utils_use_with ipod)
122 - $(cmake-utils_use_with ipod Gdk)
123 - $(cmake-utils_use_with lastfm LibLastFm)
124 - $(cmake-utils_use_with mtp)
125 - $(cmake-utils_use_with mp3tunes MP3Tunes)
126 - )
127 - else
128 - mycmakeargs=(
129 - -DWITH_PLAYER=OFF
130 - )
131 - fi
132 -
133 - mycmakeargs+=(
134 - $(cmake-utils_use_with utils UTILITIES)
135 - )
136 - # $(cmake-utils_use_with semantic-desktop Nepomuk)
137 - # $(cmake-utils_use_with semantic-desktop Soprano)
138 -
139 - kde4-base_src_configure
140 -}
141 -
142 -pkg_postinst() {
143 - kde4-base_pkg_postinst
144 -
145 - if use player; then
146 -
147 - if use daap; then
148 - echo
149 - elog "You have installed amarok with daap support."
150 - elog "You may be interested in installing www-servers/mongrel as well."
151 - echo
152 - fi
153 -
154 - if ! use embedded; then
155 - echo
156 - elog "You've disabled the amarok support for embedded mysql DBs."
157 - elog "You'll have to configure amarok to use an external db server."
158 - echo
159 - elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how"
160 - elog "to configure the external db and migrate your data from the embedded database."
161 - echo
162 -
163 - if has_version "virtual/mysql[minimal]"; then
164 - elog "You built mysql with the minimal use flag, so it doesn't include the server."
165 - elog "You won't be able to use the local mysql installation to store your amarok collection."
166 - echo
167 - fi
168 - fi
169 - fi
170 -}