diff options
author | Philipp Rösner <rndxelement@protonmail.com> | 2022-05-25 23:14:39 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-07-05 11:21:59 +0300 |
commit | 878d9bde34badbe5c5ff18a1f63fb5437506fbfd (patch) | |
tree | e983eec58851687896d12d29d9be215ed6d7b044 /media-sound/flacon | |
parent | media-libs/openjpeg: die properly when tests fail (diff) | |
download | gentoo-878d9bde34badbe5c5ff18a1f63fb5437506fbfd.tar.gz gentoo-878d9bde34badbe5c5ff18a1f63fb5437506fbfd.tar.bz2 gentoo-878d9bde34badbe5c5ff18a1f63fb5437506fbfd.zip |
media-sound/flacon: Bump to 9.0.0
Add an ebuild for flacon-9.0.0 with advice on how to enable
support for ALAC output files.
Closes: https://bugs.gentoo.org/842510
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-sound/flacon')
-rw-r--r-- | media-sound/flacon/Manifest | 1 | ||||
-rw-r--r-- | media-sound/flacon/flacon-9.0.0.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest index a862fd500a7f..e64519db3b62 100644 --- a/media-sound/flacon/Manifest +++ b/media-sound/flacon/Manifest @@ -1,2 +1,3 @@ DIST flacon-5.5.1.tar.gz 2336502 BLAKE2B 524fe5fa28126f56452515ca1ce1572343dad8b06c28fc8e3a22a11e9ad8f3a51a25b3c19ddd29a7e3c658f1d7fb3316a2554a12a4ba3dd22370fc1394d38022 SHA512 36900b011135b61cf3cc1f05d94f852fc7e127972f3fed09e0fb7e66fec944ed1c3bfc61307494aff87c2fe24e16479605043a79e0634bc23940d01fc337c6c1 DIST flacon-8.2.0.tar.gz 3757221 BLAKE2B dff0dc849c326a53ad167efea3106ca2d057121081822a821f2daa4cc2140a858960f1b4cdc2935f3e569aac25c25ceece2d171056788b9f541355c540457550 SHA512 9799c1a27426a2f67d782f15a3a1d210c5dc61b00b30b9c4143047a243f2d46cb0eb651c18919fa1ac2a8fdc2f54c83ec2e0b46a00254c908230e7ffb34965bc +DIST flacon-9.0.0.tar.gz 3762192 BLAKE2B abebc21e31fee43f4970b6e56724bfb0b6f2cc7d33e2539def102b329f1228886f7f0fcbb20a2e100a7ba77f6f45bf5ac032151ab0f830676dbf4ce24da0ce3f SHA512 3780f94a4c6c6812eb0a0efd4e677926d8cc53c15f692701cd20df0441f551d4639b632c08a36146873ad11cdb9cdaa4e726845eb05ae15ecc29a1dac250a928 diff --git a/media-sound/flacon/flacon-9.0.0.ebuild b/media-sound/flacon/flacon-9.0.0.ebuild new file mode 100644 index 000000000000..ed4cffb9c113 --- /dev/null +++ b/media-sound/flacon/flacon-9.0.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2022 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 + ) +" + +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() { + 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 + optfeature 'MP3 Replay Gain support' media-sound/mp3gain + optfeature 'Vorbis Replay Gain support' media-sound/vorbisgain + + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} |