Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/flacon/
Date: Thu, 20 Jan 2022 14:30:15
Message-Id: 1642688988.e471cf64fdc3f2518a0bc3eac33e6da43f44257b.sam@gentoo
1 commit: e471cf64fdc3f2518a0bc3eac33e6da43f44257b
2 Author: Dennis Eisele <kernlpanic <AT> dennis-eisele <DOT> de>
3 AuthorDate: Thu Jan 13 00:41:24 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 14:29:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e471cf64
7
8 media-sound/flacon: bump version to 8.2.0
9
10 Closes: https://bugs.gentoo.org/753164
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Dennis Eisele <kernlpanic <AT> dennis-eisele.de>
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 media-sound/flacon/Manifest | 1 +
16 media-sound/flacon/flacon-8.2.0.ebuild | 83 ++++++++++++++++++++++++++++++++++
17 2 files changed, 84 insertions(+)
18
19 diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest
20 index 481e306c2b87..a862fd500a7f 100644
21 --- a/media-sound/flacon/Manifest
22 +++ b/media-sound/flacon/Manifest
23 @@ -1 +1,2 @@
24 DIST flacon-5.5.1.tar.gz 2336502 BLAKE2B 524fe5fa28126f56452515ca1ce1572343dad8b06c28fc8e3a22a11e9ad8f3a51a25b3c19ddd29a7e3c658f1d7fb3316a2554a12a4ba3dd22370fc1394d38022 SHA512 36900b011135b61cf3cc1f05d94f852fc7e127972f3fed09e0fb7e66fec944ed1c3bfc61307494aff87c2fe24e16479605043a79e0634bc23940d01fc337c6c1
25 +DIST flacon-8.2.0.tar.gz 3757221 BLAKE2B dff0dc849c326a53ad167efea3106ca2d057121081822a821f2daa4cc2140a858960f1b4cdc2935f3e569aac25c25ceece2d171056788b9f541355c540457550 SHA512 9799c1a27426a2f67d782f15a3a1d210c5dc61b00b30b9c4143047a243f2d46cb0eb651c18919fa1ac2a8fdc2f54c83ec2e0b46a00254c908230e7ffb34965bc
26
27 diff --git a/media-sound/flacon/flacon-8.2.0.ebuild b/media-sound/flacon/flacon-8.2.0.ebuild
28 new file mode 100644
29 index 000000000000..e9311569dc93
30 --- /dev/null
31 +++ b/media-sound/flacon/flacon-8.2.0.ebuild
32 @@ -0,0 +1,83 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +# Tests require lots of disk space
39 +CHECKREQS_DISK_BUILD=10G
40 +inherit check-reqs cmake optfeature virtualx xdg-utils
41 +
42 +DESCRIPTION="Extracts audio tracks from an audio CD image to separate tracks"
43 +HOMEPAGE="https://flacon.github.io/"
44 +SRC_URI="https://github.com/flacon/flacon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="LGPL-2.1+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="test"
50 +
51 +BDEPEND="
52 + virtual/pkgconfig
53 + dev-qt/linguist-tools:5
54 + media-libs/taglib
55 +"
56 +RDEPEND="
57 + app-i18n/uchardet
58 + dev-qt/qtcore:5
59 + dev-qt/qtgui:5
60 + dev-qt/qtnetwork:5
61 + dev-qt/qtwidgets:5
62 +"
63 +DEPEND="${RDEPEND}
64 + dev-qt/qtconcurrent:5
65 + test? (
66 + dev-qt/qttest:5
67 + media-libs/flac
68 + media-sound/mac
69 + media-sound/shntool
70 + media-sound/ttaenc
71 + media-sound/wavpack
72 + )
73 +"
74 +
75 +RESTRICT="!test? ( test )"
76 +
77 +pkg_pretend() {
78 + use test && check-reqs_pkg_pretend
79 +}
80 +
81 +pkg_setup() {
82 + use test && check-reqs_pkg_setup
83 +}
84 +
85 +src_configure() {
86 + local mycmakeargs=(
87 + -DBUILD_TESTS="$(usex test)"
88 + )
89 + cmake_src_configure
90 +}
91 +
92 +src_test() {
93 + virtx "${BUILD_DIR}/tests/${PN}_test"
94 +}
95 +
96 +pkg_postinst() {
97 + optfeature_header "${PN} optionally supports formats listed below."
98 + optfeature 'FLAC input and output support' media-libs/flac
99 + optfeature 'WavPack input and output support' media-sound/wavpack
100 + optfeature 'APE input support' media-sound/mac
101 + optfeature 'TTA input support' media-sound/ttaenc
102 + optfeature 'AAC output support' media-libs/faac
103 + optfeature 'MP3 output support' media-sound/lame
104 + optfeature 'Vorbis output support' media-sound/vorbis-tools
105 + optfeature 'MP3 Replay Gain support' media-sound/mp3gain
106 + optfeature 'Vorbis Replay Gain support' media-sound/vorbisgain
107 +
108 + xdg_icon_cache_update
109 + xdg_desktop_database_update
110 +}
111 +
112 +pkg_postrm() {
113 + xdg_icon_cache_update
114 + xdg_desktop_database_update
115 +}