diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/kid3/Manifest | 1 | ||||
-rw-r--r-- | media-sound/kid3/kid3-3.4.0.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest index af7d4df661ff..dde9e9617867 100644 --- a/media-sound/kid3/Manifest +++ b/media-sound/kid3/Manifest @@ -1,2 +1,3 @@ DIST kid3-3.3.1.tar.gz 1339124 SHA256 8acf344d3f6651bccc7994d9e3c9602777892c744828fd2e455d617293c8e74d SHA512 fb112f01018bf744dc802c640ef134f539ee603145249ed0db2c3cc2f7ad3ebc96b3c9e9bd3fac3ee85e081f5e567790d68cecd661a7ac340732c03bf3fbfd85 WHIRLPOOL 0d76e181798dbc8432490af40dcd5c48d8e2db0d67da30e2c3227dce639391e2922b76dde1ab27e75cb85301507e713df9efab31550968fd680b2ef7c5edfd72 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 diff --git a/media-sound/kid3/kid3-3.4.0.ebuild b/media-sound/kid3/kid3-3.4.0.ebuild new file mode 100644 index 000000000000..c52b7b3a61a0 --- /dev/null +++ b/media-sound/kid3/kid3-3.4.0.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 +} |