summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com>2012-06-12 22:56:08 -0400
committerElijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com>2012-06-12 22:56:08 -0400
commitc43be37b69bd86a2d87de62429793a86f9bd42ce (patch)
treed0ad12299411e1a5f1716a7c5ff662b4c3522713
parentFixed dependencies alphabetically... (diff)
downloadArmageddon-c43be37b69bd86a2d87de62429793a86f9bd42ce.tar.gz
Armageddon-c43be37b69bd86a2d87de62429793a86f9bd42ce.tar.bz2
Armageddon-c43be37b69bd86a2d87de62429793a86f9bd42ce.zip
Added a fixed version of johu's tomahawk-9999...
-rw-r--r--media-sound/tomahawk/metadata.xml18
-rw-r--r--media-sound/tomahawk/tomahawk-9999.ebuild85
2 files changed, 103 insertions, 0 deletions
diff --git a/media-sound/tomahawk/metadata.xml b/media-sound/tomahawk/metadata.xml
new file mode 100644
index 0000000..fb29f99
--- /dev/null
+++ b/media-sound/tomahawk/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <maintainer>
+ <email>johu@gentoo.org</email>
+ <name>Johannes Huber</name>
+ </maintainer>
+ <comaintainer>
+ <email>ThyArmageddon+Gentoo@Gmail.com</email>
+ <name>Elijah El Lazkani</name>
+ </comaintainer>
+ <use>
+ <flag name="resolver">Resolver download and installation integration</flag>
+ <flag name="twitter">Enable twitter support</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/media-sound/tomahawk/tomahawk-9999.ebuild b/media-sound/tomahawk/tomahawk-9999.ebuild
new file mode 100644
index 0000000..a561798
--- /dev/null
+++ b/media-sound/tomahawk/tomahawk-9999.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/tomahawk/tomahawk-9999.ebuild,v 1.6 2012/04/06 08:44:31 scarabeus Exp $
+
+EAPI=4
+
+QT_MINIMAL="4.7.0"
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="http://download.tomahawk-player.org/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+else
+ GIT_ECLASS="git-2"
+ EGIT_REPO_URI="git://github.com/tomahawk-player/tomahawk.git"
+ KEYWORDS=""
+fi
+
+inherit cmake-utils qt4-r2 ${GIT_ECLASS}
+
+DESCRIPTION="Qt playdar social music player"
+HOMEPAGE="http://tomahawk-player.org/"
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+IUSE="debug fftw jabber libsamplerate +resolver twitter"
+
+DEPEND="
+ app-crypt/qca
+ >=dev-cpp/clucene-2.3.3.4
+ >=dev-libs/boost-1.41
+ >=dev-libs/qjson-0.7.1
+ >=media-libs/libechonest-1.1.10
+ >=media-libs/phonon-4.5.0
+ >=media-libs/liblastfm-1.0.0
+ media-libs/taglib
+ >=x11-libs/qt-core-${QT_MINIMAL}:4
+ >=x11-libs/qt-gui-${QT_MINIMAL}:4
+ >=x11-libs/qt-sql-${QT_MINIMAL}:4[sqlite]
+ >=x11-libs/qt-webkit-${QT_MINIMAL}:4
+ >=x11-libs/qt-xmlpatterns-${QT_MINIMAL}:4
+ fftw? ( sci-libs/fftw:3.0 )
+ jabber? ( net-libs/jreen )
+ libsamplerate? ( media-libs/libsamplerate )
+ resolver? (
+ dev-libs/libattica
+ >=dev-libs/quazip-0.4.3
+ )
+ twitter? ( net-libs/qtweetlib )
+"
+RDEPEND="${DEPEND}
+ app-crypt/qca-ossl
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with jabber Jreen)
+ $(cmake-utils_use_with resolver LibAttica)
+ $(cmake-utils_use_with resolver QuaZip)
+ $(cmake-utils_use_with twitter QTweetLib)
+ -DINTERNAL_JREEN=OFF
+ )
+
+ if [[ ${PV} != *9999* ]]; then
+ mycmakeargs+=( -DBUILD_RELEASE=ON )
+ fi
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+}
+
+pkg_postinst() {
+ if ! use resolver; then
+ echo
+ elog "Information on how to get more resolvers for ${PN}"
+ elog "is available at ${HOMEPAGE}resolvers"
+ echo
+ fi
+}