summaryrefslogtreecommitdiff
path: root/media-sound/flacon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-26 09:56:20 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-26 09:56:20 +0000
commit9b55c1bd600df28af7b9f6ee044b714873e19b49 (patch)
tree9c6d86e5e38b0aed45d07dc73907e9f818783a4d /media-sound/flacon
parent61044571b76d87a2eec42d36c9b7addf3e66e000 (diff)
gentoo auto-resync : 26:02:2023 - 09:56:20
Diffstat (limited to 'media-sound/flacon')
-rw-r--r--media-sound/flacon/Manifest4
-rw-r--r--media-sound/flacon/flacon-10.0.0.ebuild91
-rw-r--r--media-sound/flacon/flacon-9.4.0.ebuild7
3 files changed, 100 insertions, 2 deletions
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest
index 0b21c3bf647d..9f375e099a03 100644
--- a/media-sound/flacon/Manifest
+++ b/media-sound/flacon/Manifest
@@ -1,6 +1,8 @@
AUX flacon-9.0.0-no-man-compress.patch 1425 BLAKE2B 9f21a5b8a8b2ec0986b0d5902b15ecfa5214ce1471f4a851e88feb07ef80e8d89617173c587128b6340d349afa087c46e6b787f6cc297a7c594d787b19a060f0 SHA512 7b80c99514bdd540737a773182e9213ef4027c529a6fdd3808c4d35baeec9c5ebb67d15f550cb8a38e37764f19e2a4b7d1cfba0cc0c3872dc4658b7158c9239a
+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
+EBUILD flacon-10.0.0.ebuild 1970 BLAKE2B 69a914c145eddf893b5515265c566369c410dc0922468a6d248749063873ce443978ad212c313f2028ddfa5a63faa4e081a8c71c112893b5a27d0a2954c08e15 SHA512 9f1c8233913a2570b1a9ecb3ec077a145a35948c46345dc80e9b320c822aa9230ce21f12d6e09a46aeb8e8b890647c5282eea651fb098208e8015ce896b7b7d5
EBUILD flacon-9.1.0.ebuild 1976 BLAKE2B 0f6ec4c849a6e153628d3df0dcb151f348b053f9eb51107e356739ececa758d3b1045cd6dddc8c82a5888bb4896571c5aef632fdc6b5dc2acb22f090dd8dc957 SHA512 541ad3c226597af60122fd717dd310003df537217d13d9c70f4ee96bc604dbf21993cec2b4f81cfdb6ca687d6e565fb6823c3b018adfa6985fdee073a6fe25e4
-EBUILD flacon-9.4.0.ebuild 1978 BLAKE2B c0355823960886f5e54cdfcc19fd195945ac4e283a930e3c56d13dec9c8407695e9b4a83ee9045c8dac02fd538d8c3f7c165b369f806fb43272f54b27bc0a872 SHA512 62f15742aad48e162630e3380b50e06ac6f32267d6dbf7b177caf6ffa1706c788e4f849c4f80993916b7b5c698881ec6a9f95028efeeb53ecafbdf0dcc9c0e27
+EBUILD flacon-9.4.0.ebuild 2092 BLAKE2B af314a66df665f96ee620336e7bc12dda786adc3ab7d8af5f725f82f259b44796353ac0c23e2125a1d07d27f26cc6fddde401283581f042e2e8c45cff09dae6b SHA512 d7556b382ddec4a37208219737d9859f0c7674ca19904c66ef8b341cf030a74aa01a1864bc7817dd9bb9384302a7c6786f47d58dc8f587de8da1ab5e11d6e7a5
MISC metadata.xml 483 BLAKE2B 795d557d1298374afb1a7b7e944258091e5a1a33cbba44ffb89d2b41545a13bc079ea406012351256e9aa3be08aa0277adb6757e68ac5d55e3fd636bce5efca9 SHA512 3d744c253befad102285251d40d891aef8ddab615f095a717951706fd64ac12f4fc7191d1b5ce0c4e9c3870eec5b427fcf5158771349a4a8c5219f7b797386ac
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
+}
diff --git a/media-sound/flacon/flacon-9.4.0.ebuild b/media-sound/flacon/flacon-9.4.0.ebuild
index 6de27bcb88a1..74f7a97e458b 100644
--- a/media-sound/flacon/flacon-9.4.0.ebuild
+++ b/media-sound/flacon/flacon-9.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -62,6 +62,11 @@ 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
}