Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: media-sound/amarok/
Date: Thu, 30 May 2013 12:28:52
Message-Id: 1369916812.e1b56eac46ad7bf8055dcf4f360773849c55d415.kensington@gentoo
1 commit: e1b56eac46ad7bf8055dcf4f360773849c55d415
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 30 12:26:52 2013 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu May 30 12:26:52 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=e1b56eac
7
8 [media-sound/amarok] 2.7.1 is in the tree now.
9
10 Package-Manager: portage-2.1.12.2
11
12 ---
13 media-sound/amarok/amarok-2.7.1.ebuild | 131 ---------------------------------
14 1 file changed, 131 deletions(-)
15
16 diff --git a/media-sound/amarok/amarok-2.7.1.ebuild b/media-sound/amarok/amarok-2.7.1.ebuild
17 deleted file mode 100644
18 index 5eae96a..0000000
19 --- a/media-sound/amarok/amarok-2.7.1.ebuild
20 +++ /dev/null
21 @@ -1,131 +0,0 @@
22 -# Copyright 1999-2013 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Header: $
25 -
26 -EAPI=5
27 -
28 -KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr
29 -ga gl hu it ja lt lv nb nl pa pl pt pt_BR ru sl sr sr@ijekavian
30 -sr@ijekavianlatin sr@latin sv uk zh_CN zh_TW"
31 -KDE_REQUIRED="never"
32 -VIRTUALX_REQUIRED=test
33 -inherit flag-o-matic kde4-base
34 -
35 -DESCRIPTION="Advanced audio player based on KDE framework."
36 -HOMEPAGE="http://amarok.kde.org/"
37 -if [[ ${PV} != *9999* ]]; then
38 - if [[ $PV == *[6-9][0-9]* ]]; then
39 - SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
40 - else
41 - SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"
42 - fi
43 - KEYWORDS="~amd64 ~ppc ~x86"
44 -else
45 - KEYWORDS=""
46 -fi
47 -
48 -LICENSE="GPL-2"
49 -SLOT="4"
50 -IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp ofa opengl semantic-desktop test +utils"
51 -
52 -if [[ ${PV} == *9999* ]]; then
53 - RESTRICT="test"
54 -fi
55 -
56 -# ipod requires gdk enabled and also gtk compiled in libgpod
57 -COMMONDEPEND="
58 - app-crypt/qca:2
59 - >=app-misc/strigi-0.5.7
60 - $(add_kdebase_dep kdelibs 'opengl?,semantic-desktop?' 4.8.4)
61 - $(add_kdebase_dep kdebase-kioslaves)
62 - >=media-libs/taglib-1.7[asf,mp4]
63 - >=media-libs/taglib-extras-1.0.1
64 - sys-libs/zlib
65 - >=virtual/mysql-5.1[embedded?]
66 - >=dev-qt/qtcore-4.8:4
67 - >=dev-qt/qtdbus-4.8:4
68 - >=dev-qt/qtscript-4.8:4
69 - >=x11-libs/qtscriptgenerator-0.1.0
70 - cdda? (
71 - $(add_kdebase_dep libkcddb)
72 - $(add_kdebase_dep libkcompactdisc)
73 - $(add_kdebase_dep audiocd-kio)
74 - )
75 - ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
76 - lastfm? ( >=media-libs/liblastfm-1.0.3 )
77 - mp3tunes? (
78 - dev-libs/glib:2
79 - dev-libs/libxml2
80 - dev-libs/openssl
81 - net-libs/loudmouth
82 - net-misc/curl
83 - >=dev-qt/qtcore-4.8.4:4[glib]
84 - )
85 - mtp? ( >=media-libs/libmtp-1.0.0 )
86 - ofa? ( >=media-libs/libofa-0.9.0 )
87 - opengl? ( virtual/opengl )
88 - semantic-desktop? ( >=kde-base/nepomuk-core-4.9.0 )
89 -"
90 -DEPEND="${COMMONDEPEND}
91 - dev-util/automoc
92 - virtual/pkgconfig
93 - test? ( dev-cpp/gmock )
94 -"
95 -RDEPEND="${COMMONDEPEND}
96 - !media-sound/amarok-utils
97 - $(add_kdebase_dep phonon-kde)
98 -"
99 -
100 -src_configure() {
101 - # Append minimal-toc cflag for ppc64, see bug 280552 and 292707
102 - use ppc64 && append-flags -mminimal-toc
103 - local mycmakeargs
104 -
105 - mycmakeargs=(
106 - -DWITH_PLAYER=ON
107 - -DWITH_Libgcrypt=OFF
108 - -DWITH_SPECTRUM_ANALYZER=OFF
109 - $(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
110 - $(cmake-utils_use_with ipod)
111 - $(cmake-utils_use_with ipod Gdk)
112 - $(cmake-utils_use_with lastfm LibLastFm)
113 - $(cmake-utils_use_with mtp)
114 - $(cmake-utils_use_with mp3tunes MP3Tunes)
115 - $(cmake-utils_use_with ofa LibOFA)
116 - $(cmake-utils_use_with semantic-desktop Nepomuk)
117 - $(cmake-utils_use_with semantic-desktop Soprano)
118 - )
119 -
120 - mycmakeargs+=(
121 - $(cmake-utils_use_with utils UTILITIES)
122 - )
123 -
124 - kde4-base_src_configure
125 -}
126 -
127 -pkg_postinst() {
128 - kde4-base_pkg_postinst
129 -
130 - if use daap; then
131 - echo
132 - elog "You have installed amarok with daap support."
133 - elog "You may be interested in installing www-servers/mongrel as well."
134 - echo
135 - fi
136 -
137 - if ! use embedded; then
138 - echo
139 - elog "You've disabled the amarok support for embedded mysql DBs."
140 - elog "You'll have to configure amarok to use an external db server."
141 - echo
142 - elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how"
143 - elog "to configure the external db and migrate your data from the embedded database."
144 - echo
145 -
146 - if has_version "virtual/mysql[minimal]"; then
147 - elog "You built mysql with the minimal use flag, so it doesn't include the server."
148 - elog "You won't be able to use the local mysql installation to store your amarok collection."
149 - echo
150 - fi
151 - fi
152 -}