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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1C727158030 for ; Sun, 26 Feb 2023 07:04:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 335B0E086D; Sun, 26 Feb 2023 07:04:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE482E086D for ; Sun, 26 Feb 2023 07:04:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 173B7340D55 for ; Sun, 26 Feb 2023 07:04:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE1878C1 for ; Sun, 26 Feb 2023 07:04:40 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1677395068.48adf63f9c148a6e575e33de4783565377a3c6bd.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/flacon/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/flacon/Manifest media-sound/flacon/flacon-10.0.0.ebuild X-VCS-Directories: media-sound/flacon/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 48adf63f9c148a6e575e33de4783565377a3c6bd X-VCS-Branch: master Date: Sun, 26 Feb 2023 07:04:40 +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: fb588be3-35bc-462c-9190-8517dba42839 X-Archives-Hash: 57addeb9c04b4927eeaa0e6bd9d7a359 commit: 48adf63f9c148a6e575e33de4783565377a3c6bd Author: Philipp Rösner protonmail com> AuthorDate: Tue Feb 14 15:43:36 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Feb 26 07:04:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48adf63f media-sound/flacon: add 10.0.0 Signed-off-by: Philipp Rösner protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/29580 Signed-off-by: Joonas Niilola gentoo.org> media-sound/flacon/Manifest | 1 + media-sound/flacon/flacon-10.0.0.ebuild | 91 +++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest index 630484b00f72..dee7a125ac36 100644 --- a/media-sound/flacon/Manifest +++ b/media-sound/flacon/Manifest @@ -1,2 +1,3 @@ +DIST flacon-10.0.0.tar.gz 3802889 BLAKE2B e99be9ad2da98e84455426df853bb38cecb91a6c66cb3f532459637adee97078fb034d3c5b5cc905b74756adbf6c11276f589d450c1506fba2dace264efe8b9c SHA512 55744b3ef46f298e8082ab172b8e0b5ad428ec3c965ae69befe7f9abb4e87417cf2373385240000471c92391d243ef3b33f25ae565c8e9497021d3b619a5ac1a DIST flacon-9.1.0.tar.gz 3769110 BLAKE2B 9e0c4aaef3f6019a8c8196a204e8281ca4250df441ea14127d9347f26557091e87019388bd2942afc39e45a7864d653e2ae887f665ce190f18e646448c3f8e3e SHA512 be35c61e082be7d05bebee5f99192201f91e90f3a80827ac5808e6798f7ed0ada28ab7c2456702c443be51356ec192cd059408c2c3feb5b48b5bab048d0efb00 DIST flacon-9.4.0.tar.gz 3772714 BLAKE2B b45d6f934e80ae1d3546c1c54fdab22dac38d7ccf01b903a8c820145465c5732d34d6118bafcbbb4bde8c5bb528a707ebbee8b6a53ab5a1c29f1562a52c61382 SHA512 9dfd4ce558c4e3ce902c3b2e43b3c3fb94606f68dd550f774e3704d19ce6a28e887a7410054d6becfe3d20166aa687b7689821d6ee095e4efdc30e35a85e70ad diff --git a/media-sound/flacon/flacon-10.0.0.ebuild b/media-sound/flacon/flacon-10.0.0.ebuild new file mode 100644 index 000000000000..5ae4223ddc54 --- /dev/null +++ b/media-sound/flacon/flacon-10.0.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Tests require lots of disk space +CHECKREQS_DISK_BUILD=10G +inherit check-reqs cmake optfeature virtualx xdg-utils + +DESCRIPTION="Extracts audio tracks from an audio CD image to separate tracks" +HOMEPAGE="https://flacon.github.io/" +SRC_URI="https://github.com/flacon/flacon/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" +RDEPEND=" + app-i18n/uchardet + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + media-libs/taglib +" +DEPEND="${RDEPEND} + dev-qt/qtconcurrent:5 + test? ( + dev-qt/qttest:5 + media-libs/flac + media-sound/mac + media-sound/shntool + media-sound/ttaenc + media-sound/wavpack + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-9.0.0-no-man-compress.patch +) + +RESTRICT="!test? ( test )" + +pkg_pretend() { + use test && check-reqs_pkg_pretend +} + +pkg_setup() { + use test && check-reqs_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS="$(usex test)" + ) + cmake_src_configure +} + +src_test() { + # All tests fail with enabled sandbox + # TODO: Get all tests to pass + # See bug: #831592 + local -x SANDBOX_ON=0 + + virtx "${BUILD_DIR}/tests/${PN}_test" || die +} + +pkg_postinst() { + optfeature_header "${PN} optionally supports formats listed below." + optfeature 'FLAC input and output support' media-libs/flac + optfeature 'WavPack input and output support' media-sound/wavpack + optfeature 'APE input support' media-sound/mac + optfeature 'ALAC output support' media-sound/alac_decoder + optfeature 'TTA input support' media-sound/ttaenc + optfeature 'AAC output support' media-libs/faac + optfeature 'MP3 output support' media-sound/lame + optfeature 'Vorbis output support' media-sound/vorbis-tools + + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}