summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/amarok-utils/amarok-utils-2.2.1.90.ebuild')
-rw-r--r--media-sound/amarok-utils/amarok-utils-2.2.1.90.ebuild65
1 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/amarok-utils/amarok-utils-2.2.1.90.ebuild b/media-sound/amarok-utils/amarok-utils-2.2.1.90.ebuild
new file mode 100644
index 000000000000..3d67386d9b2e
--- /dev/null
+++ b/media-sound/amarok-utils/amarok-utils-2.2.1.90.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI="2"
+
+if [[ ${PV} = *9999* ]]; then
+ GIT_ECLASS="git"
+ EGIT_PROJECT="amarok"
+ EGIT_REPO_URI="git://gitorious.org/amarok/amarok.git"
+fi
+
+inherit base cmake-utils ${GIT_ECLASS}
+
+MY_PN="amarok"
+
+DESCRIPTION="Various utility programs for Amarok."
+HOMEPAGE="http://amarok.kde.org/"
+if [[ ${PV} = *9999* ]]; then
+ SRC_URI=""
+else
+ SRC_URI="mirror://kde/unstable/${MY_PN}/${PV}/src/${MY_PN}-${PV}.tar.bz2"
+fi
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+IUSE="bindist debug"
+
+DEPEND="
+ >=media-libs/taglib-extras-1.0.1
+ >=x11-libs/qt-core-4.4:4
+ >=x11-libs/qt-dbus-4.4:4
+ bindist? ( >=media-libs/taglib-1.6.1[-asf,-mp4] )
+ !bindist? ( >=media-libs/taglib-1.6.1[asf,mp4] )
+"
+RDEPEND="${DEPEND}
+ !<media-sound/amarok-2.1.80:2
+ !<media-sound/amarok-2.1.80:${SLOT}
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+DOCS="TODO README ChangeLog AUTHORS"
+
+src_prepare() {
+ # Disable po processing
+ sed -e "s:include(MacroOptionalAddSubdirectory)::" \
+ -i "${S}/CMakeLists.txt" \
+ || die "Removing include of MacroOptionalAddSubdirectory failed."
+ sed -e "s:macro_optional_add_subdirectory( po )::" \
+ -i "${S}/CMakeLists.txt" \
+ || die "Removing include of MacroOptionalAddSubdirectory failed."
+
+ base_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_PLAYER=OFF
+ -DWITH_UTILITIES=ON
+ )
+
+ cmake-utils_src_configure
+}