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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Feb 19 16:44:58 2010 UTC (9 years, 7 months ago) by jmbsvicetto
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleaned old versions.
(Portage version: 2.2_rc62/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.1.90.ebuild,v 1.1 2009/12/16 00:40:09 tampakrap 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/unstable/${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="bindist debug"
29
30 DEPEND="
31 >=media-libs/taglib-extras-1.0.1
32 >=x11-libs/qt-core-4.4:4
33 >=x11-libs/qt-dbus-4.4:4
34 bindist? ( >=media-libs/taglib-1.6.1[-asf,-mp4] )
35 !bindist? ( >=media-libs/taglib-1.6.1[asf,mp4] )
36 "
37 RDEPEND="${DEPEND}
38 !<media-sound/amarok-2.1.80:2
39 !<media-sound/amarok-2.1.80:${SLOT}
40 "
41
42 S="${WORKDIR}/${MY_PN}-${PV}"
43
44 DOCS="TODO README ChangeLog AUTHORS"
45
46 src_prepare() {
47 # Disable po processing
48 sed -e "s:include(MacroOptionalAddSubdirectory)::" \
49 -i "${S}/CMakeLists.txt" \
50 || die "Removing include of MacroOptionalAddSubdirectory failed."
51 sed -e "s:macro_optional_add_subdirectory( po )::" \
52 -i "${S}/CMakeLists.txt" \
53 || die "Removing include of MacroOptionalAddSubdirectory failed."
54
55 base_src_prepare
56 }
57
58 src_configure() {
59 mycmakeargs=(
60 -DWITH_PLAYER=OFF
61 -DWITH_UTILITIES=ON
62 )
63
64 cmake-utils_src_configure
65 }

  ViewVC Help
Powered by ViewVC 1.1.20