media-sound/tomahawk: Drop media-libs/libechonest
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 21 Feb 2017 00:40:38 +0000 (01:40 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 21 Feb 2017 00:44:12 +0000 (01:44 +0100)
Upstream commit ed9a02764431d9e2bb29c479db23396a647ed842

Gentoo-bug: 591796

Package-Manager: portage-2.3.3

media-sound/tomahawk/tomahawk-0.9.0_pre20161029-r1.ebuild [new file with mode: 0644]
media-sound/tomahawk/tomahawk-9999.ebuild

diff --git a/media-sound/tomahawk/tomahawk-0.9.0_pre20161029-r1.ebuild b/media-sound/tomahawk/tomahawk-0.9.0_pre20161029-r1.ebuild
new file mode 100644 (file)
index 0000000..2287e3c
--- /dev/null
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+       # SRC_URI="http://download.tomahawk-player.org/${P}.tar.bz2"
+       SRC_URI="http://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
+       KEYWORDS="~amd64 ~x86"
+else
+       EGIT_REPO_URI="git://github.com/tomahawk-player/${PN}.git"
+fi
+
+DESCRIPTION="Multi-source social music player"
+HOMEPAGE="https://tomahawk-player.org/"
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+IUSE="+hatchet telepathy xmpp"
+
+CDEPEND="
+       $(add_frameworks_dep attica)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtsql)
+       $(add_qt_dep qtsvg)
+       $(add_qt_dep qtwebkit)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       $(add_qt_dep qtxml)
+       app-crypt/qca:2[qt5]
+       dev-cpp/lucene++
+       dev-cpp/sparsehash
+       dev-libs/boost:=
+       dev-libs/qtkeychain:=[qt5]
+       >=dev-libs/quazip-0.7.2[qt5]
+       media-libs/liblastfm[qt5]
+       >=media-libs/taglib-1.8.0
+       media-video/vlc:=[flac,dvbpsi,ffmpeg,mp3]
+       >=net-libs/gnutls-3.2:=
+       x11-libs/libX11
+       hatchet? ( dev-cpp/websocketpp )
+       telepathy? ( net-libs/telepathy-qt[qt5] )
+       xmpp? ( net-libs/jreen[qt5] )
+"
+DEPEND="${CDEPEND}
+       $(add_qt_dep designer)
+       $(add_qt_dep linguist-tools)
+       $(add_qt_dep qtconcurrent)
+"
+RDEPEND="${CDEPEND}
+       app-crypt/qca:2[ssl]
+"
+
+DOCS=( AUTHORS ChangeLog README.md )
+
+PATCHES=( "${FILESDIR}/${PN}-liblastfm-cmake.patch" )
+
+src_configure() {
+       local mycmakeargs=(
+               -DWITH_CRASHREPORTER=OFF
+               -DBUILD_TESTS=OFF
+               -DBUILD_TOOLS=OFF
+               -DBUILD_WITH_QT4=OFF
+               -DWITH_KDE4=OFF
+               -DBUILD_HATCHET=$(usex hatchet)
+               -DWITH_TelepathyQt=$(usex telepathy)
+               -DWITH_Jreen=$(usex xmpp)
+       )
+
+       if [[ ${KDE_BUILD_TYPE} != live ]]; then
+               mycmakeargs+=( -DBUILD_RELEASE=ON )
+       fi
+
+       kde5_src_configure
+}
index 5e61a7e281c2082fd13f31bb774db3cd2d191be0..2438e72649e573b1401e6971ae4f492d2b6ac794 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ else
 fi
 
 DESCRIPTION="Multi-source social music player"
-HOMEPAGE="http://tomahawk-player.org/"
+HOMEPAGE="https://tomahawk-player.org/"
 
 LICENSE="GPL-3 BSD"
 SLOT="0"
@@ -22,7 +22,6 @@ IUSE="+hatchet telepathy xmpp"
 
 CDEPEND="
        $(add_frameworks_dep attica)
-       $(add_qt_dep designer)
        $(add_qt_dep qtdbus)
        $(add_qt_dep qtgui)
        $(add_qt_dep qtnetwork)
@@ -38,7 +37,6 @@ CDEPEND="
        dev-libs/boost:=
        dev-libs/qtkeychain:=[qt5]
        >=dev-libs/quazip-0.7.2[qt5]
-       >=media-libs/libechonest-2.3.1:=[qt5]
        media-libs/liblastfm[qt5]
        >=media-libs/taglib-1.8.0
        media-video/vlc:=[flac,dvbpsi,ffmpeg,mp3]
@@ -49,6 +47,7 @@ CDEPEND="
        xmpp? ( net-libs/jreen[qt5] )
 "
 DEPEND="${CDEPEND}
+       $(add_qt_dep designer)
        $(add_qt_dep linguist-tools)
        $(add_qt_dep qtconcurrent)
 "