summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-02-12 20:10:09 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-02-12 20:26:54 +0100
commite9c0feaec1c93505f8569baa30ecf92f72389d9a (patch)
treeebaaf99e53917d3feab62a707909d70be4a3c6b1 /kde-misc/tellico/tellico-3.0.ebuild
parentnet-libs/gnutls: version bump (diff)
downloadgentoo-e9c0feaec1c93505f8569baa30ecf92f72389d9a.tar.gz
gentoo-e9c0feaec1c93505f8569baa30ecf92f72389d9a.tar.bz2
gentoo-e9c0feaec1c93505f8569baa30ecf92f72389d9a.zip
kde-misc/tellico: Add back USE=cddb
Reported-by: Arfrever Package-Manager: portage-2.3.3
Diffstat (limited to 'kde-misc/tellico/tellico-3.0.ebuild')
-rw-r--r--kde-misc/tellico/tellico-3.0.ebuild23
1 files changed, 13 insertions, 10 deletions
diff --git a/kde-misc/tellico/tellico-3.0.ebuild b/kde-misc/tellico/tellico-3.0.ebuild
index 2b61d25f3de..32abb1df3c0 100644
--- a/kde-misc/tellico/tellico-3.0.ebuild
+++ b/kde-misc/tellico/tellico-3.0.ebuild
@@ -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$
@@ -9,16 +9,15 @@ KDE_TEST="forceoptional"
VIRTUALX_REQUIRED="test"
inherit kde5
-DESCRIPTION="A collection manager for the KDE environment"
+DESCRIPTION="A collection manager based on KDE Frameworks"
HOMEPAGE="http://tellico-project.org/"
SRC_URI="http://tellico-project.org/files/${P}.tar.xz"
LICENSE="|| ( GPL-2 GPL-3 )"
-SLOT="5"
KEYWORDS="~amd64 ~x86"
-IUSE="debug discid pdf scanner semantic-desktop taglib v4l xmp yaz"
+IUSE="cddb discid pdf scanner semantic-desktop taglib v4l xmp yaz"
-RDEPEND="
+COMMON_DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep kcodecs)
$(add_frameworks_dep kcompletion)
@@ -51,6 +50,7 @@ RDEPEND="
dev-libs/btparse
dev-libs/libxml2
dev-libs/libxslt
+ cddb? ( $(add_kdeapps_dep libkcddb) )
discid? ( media-libs/libdiscid )
pdf? ( app-text/poppler[qt5] )
scanner? ( $(add_kdeapps_dep libksane) )
@@ -59,28 +59,31 @@ RDEPEND="
v4l? ( >=media-libs/libv4l-0.8.3 )
xmp? ( >=media-libs/exempi-2 )
yaz? ( >=dev-libs/yaz-2:0 )
- !kde-misc/tellico:4
"
-DEPEND="${RDEPEND}
+DEPEND="${COMMON_DEPEND}
sys-devel/gettext
"
+RDEPEND="${COMMON_DEPEND}
+ !kde-misc/tellico:4
+"
# tests need network access
RESTRICT="test"
DOCS=( AUTHORS ChangeLog README )
+PATCHES=( "${FILESDIR}"/${P}-kf5cddb.patch )
+
src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_Csv=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_KF5Cddb=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_Libkcddb=ON
- -DENABLE_WEBCAM=$(usex v4l)
+ $(cmake-utils_use_find_package cddb KF5Cddb)
$(cmake-utils_use_find_package discid DiscID)
$(cmake-utils_use_find_package pdf PopplerQt5)
$(cmake-utils_use_find_package scanner KF5Sane)
$(cmake-utils_use_find_package semantic-desktop KF5FileMetaData)
$(cmake-utils_use_find_package taglib Taglib)
+ -DENABLE_WEBCAM=$(usex v4l)
$(cmake-utils_use_find_package xmp Exempi)
$(cmake-utils_use_find_package yaz Yaz)
)