summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/tomahawk
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/tomahawk')
-rw-r--r--media-sound/tomahawk/Manifest1
-rw-r--r--media-sound/tomahawk/files/tomahawk-0.8.4-qt55.patch34
-rw-r--r--media-sound/tomahawk/metadata.xml14
-rw-r--r--media-sound/tomahawk/tomahawk-0.8.4-r1.ebuild102
-rw-r--r--media-sound/tomahawk/tomahawk-9999.ebuild100
5 files changed, 251 insertions, 0 deletions
diff --git a/media-sound/tomahawk/Manifest b/media-sound/tomahawk/Manifest
new file mode 100644
index 000000000000..3187743feb8d
--- /dev/null
+++ b/media-sound/tomahawk/Manifest
@@ -0,0 +1 @@
+DIST tomahawk-0.8.4.tar.bz2 8611412 SHA256 0fb04bc6b7009e17186b3d384057939727c6f289d22f7f9a5ed2c9c9cd800449 SHA512 5b312f593eac39d06de05e24d4ce429122d0777a9d52d6db8c65309ac283d7ae560c2fc189b186f0f8b1a7bbe1135ed0d59e1d850de6a93655e53efe4f5317c7 WHIRLPOOL 3577f47f13b191f0bea42d7c30c00ad8e6346afc7527eb5f5ecb81185183a8e99dcc0559414afbba485db5d80d2e5f9830fe341d4563d3d7427a98f54382e013
diff --git a/media-sound/tomahawk/files/tomahawk-0.8.4-qt55.patch b/media-sound/tomahawk/files/tomahawk-0.8.4-qt55.patch
new file mode 100644
index 000000000000..10b71c07c518
--- /dev/null
+++ b/media-sound/tomahawk/files/tomahawk-0.8.4-qt55.patch
@@ -0,0 +1,34 @@
+From 50e77ce0db45e9c876eba3d8cc6491f62a5de882 Mon Sep 17 00:00:00 2001
+From: Takahiro Hashimoto <kenya888@gmail.com>
+Date: Mon, 22 Jun 2015 14:33:23 +0900
+Subject: [PATCH] fix compilation error with Qt 5.5
+
+---
+ src/libtomahawk/network/acl/AclRegistry.cpp | 1 +
+ src/libtomahawk/utils/TomahawkCache.h | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/libtomahawk/network/acl/AclRegistry.cpp b/src/libtomahawk/network/acl/AclRegistry.cpp
+index b177d19..3bc5056 100644
+--- a/src/libtomahawk/network/acl/AclRegistry.cpp
++++ b/src/libtomahawk/network/acl/AclRegistry.cpp
+@@ -21,6 +21,7 @@
+
+ #include <QThread>
+ #include <QVariant>
++#include <QDataStream>
+
+ #include "utils/Logger.h"
+
+diff --git a/src/libtomahawk/utils/TomahawkCache.h b/src/libtomahawk/utils/TomahawkCache.h
+index b7c3245..6a4aadd 100644
+--- a/src/libtomahawk/utils/TomahawkCache.h
++++ b/src/libtomahawk/utils/TomahawkCache.h
+@@ -27,6 +27,7 @@
+ #include <QObject>
+ #include <QTimer>
+ #include <QDir>
++#include <QDataStream>
+
+ namespace TomahawkUtils
+ {
diff --git a/media-sound/tomahawk/metadata.xml b/media-sound/tomahawk/metadata.xml
new file mode 100644
index 000000000000..55e1aa0ef2ac
--- /dev/null
+++ b/media-sound/tomahawk/metadata.xml
@@ -0,0 +1,14 @@
+<?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>
+ <use>
+ <flag name="hatchet">Enable support for the synchronisation through Hatchet</flag>
+ <flag name="telepathy">Enable support for the real-time communication framework telepathy</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/media-sound/tomahawk/tomahawk-0.8.4-r1.ebuild b/media-sound/tomahawk/tomahawk-0.8.4-r1.ebuild
new file mode 100644
index 000000000000..30323bd0e636
--- /dev/null
+++ b/media-sound/tomahawk/tomahawk-0.8.4-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_REQUIRED="optional"
+inherit kde4-base ${GIT_ECLASS}
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="http://download.tomahawk-player.org/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+else
+ GIT_ECLASS="git-r3"
+ EGIT_REPO_URI="git://github.com/tomahawk-player/${PN}.git"
+ KEYWORDS=""
+fi
+
+DESCRIPTION="Multi-source social music player"
+HOMEPAGE="http://tomahawk-player.org/"
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+IUSE="debug +hatchet kde qt5 telepathy xmpp"
+
+REQUIRED_USE="telepathy? ( kde )"
+
+DEPEND="
+ dev-cpp/lucene++
+ dev-cpp/sparsehash
+ dev-libs/boost:=
+ >=media-libs/taglib-1.8.0
+ >=net-libs/gnutls-3.2
+ x11-libs/libX11
+ hatchet? ( dev-cpp/websocketpp )
+ xmpp? ( net-libs/jreen )
+ !qt5? (
+ app-crypt/qca:2[qt4(+)]
+ >=dev-libs/libattica-0.4.0
+ dev-libs/qjson
+ dev-libs/qtkeychain[qt4]
+ dev-libs/quazip[qt4]
+ dev-qt/designer:4
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ dev-qt/qtsql:4[sqlite]
+ dev-qt/qtsvg:4
+ dev-qt/qtwebkit:4
+ media-libs/phonon[qt4]
+ >=media-libs/libechonest-2.3.0:=[qt4]
+ media-libs/liblastfm[qt4]
+ telepathy? ( net-libs/telepathy-qt[qt4] )
+ )
+ qt5? (
+ app-crypt/qca:2[qt5(+)]
+ dev-libs/qtkeychain[qt5]
+ dev-libs/quazip[qt5]
+ dev-qt/designer:5
+ dev-qt/qtcore:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ kde-frameworks/attica:5
+ media-libs/phonon[qt5]
+ >=media-libs/libechonest-2.3.0:=[qt5]
+ media-libs/liblastfm[qt5]
+ telepathy? ( net-libs/telepathy-qt[qt5] )
+ )
+"
+RDEPEND="${DEPEND}
+ app-crypt/qca:2[openssl]
+"
+
+DOCS=( AUTHORS ChangeLog README.md )
+
+PATCHES=( "${FILESDIR}/${P}-qt55.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_CRASHREPORTER=OFF
+ $(cmake-utils_use_build hatchet)
+ $(cmake-utils_use_with xmpp Jreen)
+ $(cmake-utils_use_with kde KDE4)
+ $(cmake-utils_use_build !qt5 WITH_QT4)
+ $(cmake-utils_use_with telepathy TelepathyQt)
+ )
+
+ 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
+}
diff --git a/media-sound/tomahawk/tomahawk-9999.ebuild b/media-sound/tomahawk/tomahawk-9999.ebuild
new file mode 100644
index 000000000000..10d684f91888
--- /dev/null
+++ b/media-sound/tomahawk/tomahawk-9999.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_REQUIRED="optional"
+inherit kde4-base ${GIT_ECLASS}
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="http://download.tomahawk-player.org/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+else
+ GIT_ECLASS="git-r3"
+ EGIT_REPO_URI="git://github.com/tomahawk-player/${PN}.git"
+ KEYWORDS=""
+fi
+
+DESCRIPTION="Multi-source social music player"
+HOMEPAGE="http://tomahawk-player.org/"
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+IUSE="debug +hatchet kde qt5 telepathy xmpp"
+
+REQUIRED_USE="telepathy? ( kde )"
+
+DEPEND="
+ dev-cpp/lucene++
+ dev-cpp/sparsehash
+ dev-libs/boost:=
+ >=media-libs/taglib-1.8.0
+ >=net-libs/gnutls-3.2
+ x11-libs/libX11
+ hatchet? ( dev-cpp/websocketpp )
+ xmpp? ( net-libs/jreen )
+ !qt5? (
+ app-crypt/qca:2[qt4]
+ >=dev-libs/libattica-0.4.0
+ dev-libs/qjson
+ dev-libs/qtkeychain[qt4]
+ dev-libs/quazip[qt4]
+ dev-qt/designer:4
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ dev-qt/qtsql:4[sqlite]
+ dev-qt/qtsvg:4
+ dev-qt/qtwebkit:4
+ media-libs/phonon[qt4]
+ >=media-libs/libechonest-2.3.0:=[qt4]
+ media-libs/liblastfm[qt4]
+ telepathy? ( net-libs/telepathy-qt[qt4] )
+ )
+ qt5? (
+ app-crypt/qca:2[qt5]
+ dev-libs/qtkeychain[qt5]
+ dev-libs/quazip[qt5]
+ dev-qt/designer:5
+ dev-qt/qtcore:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ kde-frameworks/attica:5
+ media-libs/phonon[qt5]
+ >=media-libs/libechonest-2.3.0:=[qt5]
+ media-libs/liblastfm[qt5]
+ telepathy? ( net-libs/telepathy-qt[qt5] )
+ )
+"
+RDEPEND="${DEPEND}
+ app-crypt/qca:2[openssl]
+"
+
+DOCS=( AUTHORS ChangeLog README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_CRASHREPORTER=OFF
+ $(cmake-utils_use_build hatchet)
+ $(cmake-utils_use_with xmpp Jreen)
+ $(cmake-utils_use_with kde KDE4)
+ $(cmake-utils_use_build !qt5 WITH_QT4)
+ $(cmake-utils_use_with telepathy TelepathyQt)
+ )
+
+ 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
+}