From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 33210138334 for ; Wed, 20 Mar 2019 15:03:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79CD2E097B; Wed, 20 Mar 2019 15:03:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A842E097B for ; Wed, 20 Mar 2019 15:03:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 010F1335D1B for ; Wed, 20 Mar 2019 15:03:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E0D1452 for ; Wed, 20 Mar 2019 15:03:08 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1553094183.0e7dde9ad148fb3fa5ae582c2ab248a43a969e0f.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/kid3/Manifest media-sound/kid3/kid3-3.7.1.ebuild X-VCS-Directories: media-sound/kid3/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 0e7dde9ad148fb3fa5ae582c2ab248a43a969e0f X-VCS-Branch: master Date: Wed, 20 Mar 2019 15:03:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 65975d7b-1d39-4424-8845-f241a2422293 X-Archives-Hash: 9f6d52b6dc2a91477919ff5fa7730ef7 commit: 0e7dde9ad148fb3fa5ae582c2ab248a43a969e0f Author: Lars Wendler gentoo org> AuthorDate: Wed Mar 20 15:00:14 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Mar 20 15:03:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e7dde9a media-sound/kid3: Bump to version 3.7.1 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> media-sound/kid3/Manifest | 1 + media-sound/kid3/kid3-3.7.1.ebuild | 90 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest index b38ce572d3d..458f3030c17 100644 --- a/media-sound/kid3/Manifest +++ b/media-sound/kid3/Manifest @@ -1 +1,2 @@ DIST kid3-3.7.0.tar.gz 1466849 BLAKE2B 39bdab9afb187754914ef77326d9c323e5dd4ab13a6f603deca3dfe97acb0d7a81d58a8eb569397c1a094ebaa7449997b729ce008614c8fc9f04d2b9e7995e03 SHA512 3112addba1e0697ae8874bf12336e54c744165a692dc81a99d97194df8511aa540a53085e2be84b3557cd9a2c9d3d887046c06550cef11406b28e6f6e6b507a6 +DIST kid3-3.7.1.tar.gz 1486532 BLAKE2B aec19ca9792ab5a3ae975d64b581074f6505507027bc52483a95b8570fdf7484fadd63a5cc740b59817b6b2b7227f02637aeb3e9611d206a536138c6db083198 SHA512 68b1d4978e5e984d180981d02df5efa247d50da79e5c6a41010eb3c5369b6cdc023042333865f4730e47814c4b4b69dc2f1bcbe1566396b72637fd576f5e543c diff --git a/media-sound/kid3/kid3-3.7.1.ebuild b/media-sound/kid3/kid3-3.7.1.ebuild new file mode 100644 index 00000000000..6ae8aae4340 --- /dev/null +++ b/media-sound/kid3/kid3-3.7.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_KDEINSTALLDIRS="false" +KDE_HANDBOOK="false" # buildsystem applies broken python hacks, bug #614950 +inherit kde5 + +DESCRIPTION="Simple tag editor based on Qt" +HOMEPAGE="https://kid3.sourceforge.io/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~x86" +IUSE="acoustid flac kde mp3 mp4 +taglib vorbis" + +REQUIRED_USE="flac? ( vorbis )" + +COMMON_DEPEND=" + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui) + $(add_qt_dep qtmultimedia) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + sys-libs/readline:0= + acoustid? ( + media-libs/chromaprint + virtual/ffmpeg + ) + flac? ( + media-libs/flac[cxx] + media-libs/libvorbis + ) + kde? ( + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + ) + mp3? ( media-libs/id3lib ) + mp4? ( media-libs/libmp4v2:0 ) + taglib? ( >=media-libs/taglib-1.9.1 ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) +" +RDEPEND="${COMMON_DEPEND} + !media-sound/kid3:4 +" +DEPEND="${COMMON_DEPEND}" +BDEPEND=" + $(add_qt_dep linguist-tools) +" + +src_prepare() { + # overengineered upstream build system + # kde5 eclass src_prepare leads to compile failure + + # only enable handbook when required + if ! use_if_iuse handbook ; then + cmake_comment_add_subdirectory ${KDE_DOC_DIR} + fi + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_CHROMAPRINT=$(usex acoustid) + -DWITH_FLAC=$(usex flac) + -DWITH_ID3LIB=$(usex mp3) + -DWITH_MP4V2=$(usex mp4) + -DWITH_TAGLIB=$(usex taglib) + -DWITH_VORBIS=$(usex vorbis) + ) + + if use kde ; then + mycmakeargs+=( "-DWITH_APPS=KDE;CLI" ) + else + mycmakeargs+=( "-DWITH_APPS=Qt;CLI" ) + fi + + kde5_src_configure +}