diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-11 02:01:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-11 02:01:11 +0000 |
commit | 494ca58c9f5243dd4b56557aa8c41bce76e95ec3 (patch) | |
tree | b699beb74ae3071c865d4f2e95ed7f376f99214a /media-sound/flacon | |
parent | 59437d191de3ff33f9bfa37f8656d849184fcaf0 (diff) |
gentoo auto-resync : 11:12:2024 - 02:01:11
Diffstat (limited to 'media-sound/flacon')
-rw-r--r-- | media-sound/flacon/Manifest | 2 | ||||
-rw-r--r-- | media-sound/flacon/flacon-11.4.0.ebuild | 99 |
2 files changed, 101 insertions, 0 deletions
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest index c40508ecf6ec..d37003a0eebe 100644 --- a/media-sound/flacon/Manifest +++ b/media-sound/flacon/Manifest @@ -2,6 +2,8 @@ AUX flacon-11.3.0-no-man-compress.patch 1401 BLAKE2B 29b6454a0e34e031c0bbd36990e 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-11.3.0.tar.gz 4081613 BLAKE2B 791628fe40f49548d65b2a49f259d4ffaf42ba97f9674649669ceded7073fb805f277fefca1d3fffaae86438f9d7cff443dccbb6c8bef5e40f0eb60554c11db9 SHA512 e4b4f3876f4f647dafa21118c13482678c2766dce94b650142d7b2b21897d6e8f1f85601877b388c7f8554d5e57778de9a6db82ae38c1f089e7c2f88b1c497b8 +DIST flacon-11.4.0.tar.gz 4095740 BLAKE2B 078bded28f114939ee2a003885e85a6259122ae0de95265a52de525202645d872550a773b49b7d37e3b479912bc6b31245532f71bd2020a954b227082c856589 SHA512 321f80c40b61e60e91b32d19a1f14dbdc9738aacd54e7ea8bf0a969daeeec3f663b119fd3973a2722b14b836bc8d6c16cd3f4b831c003a906f1d110db5caaeee EBUILD flacon-10.0.0-r1.ebuild 1975 BLAKE2B afc43cd1707b5de23f7e767db5471e82ab0a2ef09ce000a3573a80f0e479053e5de528a86abea6f4832a628e66c6f2f11507cc944bf9b33fb7c9745073800396 SHA512 0738a2bcb6067b26a54d7ff47a85a37107ce438176a022b14db1607d1bbf53ff10c15c417a643c7fde29cfe6dd62f904075afc060264390b04a4444a95b61d9a EBUILD flacon-11.3.0.ebuild 2301 BLAKE2B 37abcf7220382bec39ec60ce157e2d89a4db6c413afd7cd16ac52214fd98492f0021ba8939dff0aad4ce9637253fbd9e1003ae4e13ab773bf100c6a86786b192 SHA512 16cfd59d37263b244bf990c15fffe4bfc374ff1f5f424ad7a8d48ea40d9af9b87e6c7f16fc4773d4910f624ceb660108d0a40dcc7fa8ee00dc115412e60d6f92 +EBUILD flacon-11.4.0.ebuild 2280 BLAKE2B 23e239adfc37bb2aa2c92035d48ac4838c3ad5f7c6fc10efc499b0c1f2538e2f2a86e8d216dfeb980c4e85a4e30d0b4302a1aaa2d09acc7ffe58cf1bb184ef68 SHA512 41b8b12f83a3fac779eb83852c2187b0a2dca3dcc0f57ca8ce1ab22e511030cf5547f0c6b1990a4afb0f9e5b548ddd84318980b8eaa73e8693b1f0322feb0ec4 MISC metadata.xml 483 BLAKE2B 795d557d1298374afb1a7b7e944258091e5a1a33cbba44ffb89d2b41545a13bc079ea406012351256e9aa3be08aa0277adb6757e68ac5d55e3fd636bce5efca9 SHA512 3d744c253befad102285251d40d891aef8ddab615f095a717951706fd64ac12f4fc7191d1b5ce0c4e9c3870eec5b427fcf5158771349a4a8c5219f7b797386ac diff --git a/media-sound/flacon/flacon-11.4.0.ebuild b/media-sound/flacon/flacon-11.4.0.ebuild new file mode 100644 index 000000000000..5b4577ad633f --- /dev/null +++ b/media-sound/flacon/flacon-11.4.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2024 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/qttools:6[linguist] + virtual/pkgconfig +" +RDEPEND=" + app-i18n/uchardet + dev-qt/qtbase:6[gui,network,widgets,concurrent] + media-libs/taglib:= + media-sound/sox[flac,wavpack] + media-video/mediainfo +" +DEPEND="${RDEPEND} + test? ( + dev-cpp/yaml-cpp + media-libs/faac + media-libs/flac + media-sound/alacenc + media-sound/alac_decoder + media-sound/lame + <=media-sound/mac-4.12 + media-sound/opus-tools + media-sound/shntool + media-sound/ttaenc + media-sound/vorbis-tools + media-sound/wavpack + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-11.3.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)" + -DUSE_QT5="OFF" + -DUSE_QT6="ON" + ) + 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 input support' media-sound/alacenc + 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 + optfeature 'Opus input/output support' media-sound/opus-tools + + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} |