/[gentoo-x86]/media-sound/amarok-utils/amarok-utils-2.2.0.ebuild
Gentoo

Contents of /media-sound/amarok-utils/amarok-utils-2.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jun 13 02:00:28 2010 UTC (9 years, 4 months ago) by reavertm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old versions
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/amarok-utils/amarok-utils-2.2.0.ebuild,v 1.3 2009/11/09 18:07:27 fauli Exp $
4
5 EAPI="2"
6
7 if [[ ${PV} = *9999* ]]; then
8 GIT_ECLASS="git"
9 EGIT_PROJECT="amarok"
10 EGIT_REPO_URI="git://gitorious.org/amarok/amarok.git"
11 fi
12
13 inherit base cmake-utils ${GIT_ECLASS}
14
15 MY_PN="amarok"
16
17 DESCRIPTION="Various utility programs for Amarok."
18 HOMEPAGE="http://amarok.kde.org/"
19 if [[ ${PV} = *9999* ]]; then
20 SRC_URI=""
21 else
22 SRC_URI="mirror://kde/stable/${MY_PN}/${PV}/src/${MY_PN}-${PV}.tar.bz2"
23 fi
24
25 LICENSE="GPL-2"
26 KEYWORDS="amd64 x86"
27 SLOT="4"
28 IUSE="debug"
29
30 DEPEND="
31 >=media-libs/taglib-1.6
32 >=media-libs/taglib-extras-1.0.1
33 >=x11-libs/qt-core-4.4:4
34 >=x11-libs/qt-dbus-4.4:4
35 "
36 RDEPEND="${DEPEND}
37 !<media-sound/amarok-2.1.80:2
38 !<media-sound/amarok-2.1.80:${SLOT}
39 "
40
41 S="${WORKDIR}/${MY_PN}-${PV}"
42
43 DOCS="TODO README ChangeLog AUTHORS"
44
45 src_prepare() {
46 # Disable po processing
47 sed -e "s:include(MacroOptionalAddSubdirectory)::" \
48 -i "${S}/CMakeLists.txt" \
49 || die "Removing include of MacroOptionalAddSubdirectory failed."
50 sed -e "s:macro_optional_add_subdirectory( po )::" \
51 -i "${S}/CMakeLists.txt" \
52 || die "Removing include of MacroOptionalAddSubdirectory failed."
53
54 base_src_prepare
55 }
56
57 src_configure() {
58 mycmakeargs="${mycmakeargs}
59 -DWITH_PLAYER=OFF
60 -DWITH_UTILITIES=ON"
61
62 cmake-utils_src_configure
63 }

  ViewVC Help
Powered by ViewVC 1.1.20