summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/kid3/Manifest1
-rw-r--r--media-sound/kid3/kid3-3.4.1.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest
index 08844afd00ee..96e4d3b32b24 100644
--- a/media-sound/kid3/Manifest
+++ b/media-sound/kid3/Manifest
@@ -1,2 +1,3 @@
DIST kid3-3.3.2.tar.gz 1340078 SHA256 d54c164e38ee8ff2c35473a7158e2748cbb6a9472822a96decf6e34a15458957 SHA512 8bd1e003ba1d4f169cf7da8c151040f5e7b993c03ae9d8dfdd3bd8d1dc88fbf4b3fef37c0d3d339da83333b4a60e3ef9362e962e37ae7747c6bd010f4565d025 WHIRLPOOL 07632afee63eab29374bae2207b97713ba808f90b080dc5be12a4a25c3db9e9252c893b4fd1932f10240bb171a029738275a799e06b26c3135661689eaf59a97
DIST kid3-3.4.0.tar.gz 1355139 SHA256 4dd67023e047d62985339eb3ba75e95dda6cf71c30f58785b57f4823bf11bfbf SHA512 341c32365a9efde067b3c78df9feeda992b650e517fd70fd70a9e0060593f83a35f550a0bbc74d948b5a9013e5d859c3f39f5ef9c482fdcf19556f48d8d67e98 WHIRLPOOL adaa4bdece34f66b668e65db96cca64febe62cd13ad1af12875fbd9ebb1a7cbdc30287a2b7f6ec0496dfb56bf29da6a5cde884ca376c0c046ed5de1cec475401
+DIST kid3-3.4.1.tar.gz 1356141 SHA256 fa91c5e053ae62858fa3589b60dc2fa4e8db0d293a6d06cf2d859391f6864161 SHA512 1c5eb9554ea4e76f719b951bb270633ca041c2eaff2376c258c318d5309bb889b031a5ca84283c87febf26f7b00a696dd14f4b70807bf8418688a2ee2e0f7e7d WHIRLPOOL defd75af3ff55ea9eea5845bf1ed5faaf7922851587a63ebc3ead2b844d6bae22dd2cb6801f9fee0b913daa77afb08d8a6a009c3ca50e4d469dd2f73fd77f7d7
diff --git a/media-sound/kid3/kid3-3.4.1.ebuild b/media-sound/kid3/kid3-3.4.1.ebuild
new file mode 100644
index 000000000000..c52b7b3a61a0
--- /dev/null
+++ b/media-sound/kid3/kid3-3.4.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_LINGUAS="cs de es et fi fr it nl pl ru sr sr@ijekavian sr@ijekavianlatin
+sr@Latn tr zh_CN zh_TW"
+KDE_REQUIRED="optional"
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="A simple tag editor for KDE"
+HOMEPAGE="http://kid3.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="acoustid flac kde mp3 mp4 +phonon +taglib vorbis"
+
+REQUIRED_USE="flac? ( vorbis )"
+
+RDEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtdeclarative:4
+ dev-qt/qtgui:4
+ sys-libs/readline:0
+ acoustid? (
+ media-libs/chromaprint
+ virtual/ffmpeg
+ )
+ flac? (
+ media-libs/flac[cxx]
+ media-libs/libvorbis
+ )
+ mp3? ( media-libs/id3lib )
+ mp4? ( media-libs/libmp4v2:0 )
+ phonon? ( || (
+ media-libs/phonon[qt4]
+ dev-qt/qtphonon:4
+ ) )
+ taglib? ( >=media-libs/taglib-1.9.1 )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-3.3.2-libdir.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with acoustid CHROMAPRINT)
+ $(cmake-utils_use_with flac)
+ $(cmake-utils_use_with mp3 ID3LIB)
+ $(cmake-utils_use_with mp4 MP4V2)
+ $(cmake-utils_use_with phonon)
+ $(cmake-utils_use_with taglib)
+ $(cmake-utils_use_with vorbis)
+ "-DWITH_QT5=OFF"
+ )
+
+ if use kde; then
+ mycmakeargs+=("-DWITH_APPS=KDE;CLI")
+ else
+ mycmakeargs+=("-DWITH_APPS=Qt;CLI")
+ fi
+
+ kde4-base_src_configure
+}