summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/amarok-utils/ChangeLog8
-rw-r--r--media-sound/amarok-utils/amarok-utils-2.2.1-r1.ebuild64
2 files changed, 71 insertions, 1 deletions
diff --git a/media-sound/amarok-utils/ChangeLog b/media-sound/amarok-utils/ChangeLog
index 35f724a15957..bb8ef26856c2 100644
--- a/media-sound/amarok-utils/ChangeLog
+++ b/media-sound/amarok-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/amarok-utils
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok-utils/ChangeLog,v 1.9 2009/11/15 00:32:04 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok-utils/ChangeLog,v 1.10 2009/12/11 01:12:57 jmbsvicetto Exp $
+
+*amarok-utils-2.2.1-r1 (11 Dec 2009)
+
+ 11 Dec 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +amarok-utils-2.2.1-r1.ebuild:
+ Added bindist use flag and fixed dep on media-libs/taglib accordingly.
15 Nov 2009; Theo Chatzimichos <tampakrap@gentoo.org>
-amarok-utils-2.1.ebuild, -amarok-utils-2.1.1.ebuild:
diff --git a/media-sound/amarok-utils/amarok-utils-2.2.1-r1.ebuild b/media-sound/amarok-utils/amarok-utils-2.2.1-r1.ebuild
new file mode 100644
index 000000000000..c3de617fae27
--- /dev/null
+++ b/media-sound/amarok-utils/amarok-utils-2.2.1-r1.ebuild
@@ -0,0 +1,64 @@
+# 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-r1.ebuild,v 1.1 2009/12/11 01:12:57 jmbsvicetto 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/stable/${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="${mycmakeargs}
+ -DWITH_PLAYER=OFF
+ -DWITH_UTILITIES=ON"
+
+ cmake-utils_src_configure
+}