1 |
commit: f29ae15630eed4f7274892fa20062b4a4e5bc6d7 |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Dec 30 12:12:15 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 2 18:29:13 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29ae156 |
7 |
|
8 |
media-sound/flacon: verbump to 4.0.0, which drops Qt4 support. |
9 |
|
10 |
Bug: https://bugs.gentoo.org/631904 |
11 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/6687 |
13 |
|
14 |
media-sound/flacon/Manifest | 1 + |
15 |
media-sound/flacon/flacon-4.0.0.ebuild | 96 ++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 97 insertions(+) |
17 |
|
18 |
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest |
19 |
index b8f2fc47248..258937683d8 100644 |
20 |
--- a/media-sound/flacon/Manifest |
21 |
+++ b/media-sound/flacon/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST flacon-2.1.1.tar.gz 337500 BLAKE2B 0e199653da28eaf123e3b847eb37bca3e58bcf4ed541bcbb1cb92f23451506dd48b199b0cc565715da1ccdc3a1b294fcca04b431539c6f2a9a360d088321528b SHA512 ef145685770ce4e5cb5f09b42023b5f88feed90f9444dcdb7bb30839d4ee6a4526542b0c3a5595f2b43b99759c7ff6ff4d419b88780d1394baa3654163db20ec |
24 |
DIST flacon-3.1.1.tar.gz 431743 BLAKE2B 491919b31e0f19993c01c8a55145f1f6db7465e10112b7d3862ca2f66f15a534501248d682258fa944d0ac5de1d716c80a98f8329a4f62e22074dd397d9a03da SHA512 13b1abc2edba73e30c9a1b729650e8001a5b8de7e34fe2b599f28277c347539fb50679f8a0e608c87eb7feb1e05e26c7f71fbc3c696f0fa29ae8ae9e20e63cfd |
25 |
+DIST flacon-4.0.0.tar.gz 1294289 BLAKE2B 3afadc3545493558a5eadb7720509410fb448fed1e1fc5511f0ce477ea0e6e876d19e3038d5eb77191b449f730f50e6f1e3e4eacf546b064868863ed918acdee SHA512 64efc3369f11a7345d106a253873bcaf64ff0bbfb045e3554fecdc48a86ee5d150bef06643a5bf481d6e139a45a2bfdee91e730f9aa1354a4772f0d994297b78 |
26 |
|
27 |
diff --git a/media-sound/flacon/flacon-4.0.0.ebuild b/media-sound/flacon/flacon-4.0.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..70447e6e15f |
30 |
--- /dev/null |
31 |
+++ b/media-sound/flacon/flacon-4.0.0.ebuild |
32 |
@@ -0,0 +1,96 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+# Ignore rudimentary et, uz@Latn, zh_TW translation(s). |
39 |
+PLOCALES="cs cs_CZ de es es_MX fr gl hu it ja_JP lt nb nl pl pl_PL pt_BR pt_PT ro_RO ru sr sr@latin tr uk zh_CN" |
40 |
+# Tests require lots of disk space |
41 |
+CHECKREQS_DISK_BUILD=10G |
42 |
+ |
43 |
+inherit check-reqs cmake-utils eutils gnome2-utils l10n virtualx xdg-utils |
44 |
+ |
45 |
+DESCRIPTION="Extracts audio tracks from an audio CD image to separate tracks" |
46 |
+HOMEPAGE="https://flacon.github.io/" |
47 |
+SRC_URI="https://github.com/flacon/flacon/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="LGPL-2.1+" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="test" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ app-i18n/uchardet |
56 |
+ dev-qt/qtcore:5 |
57 |
+ dev-qt/qtnetwork:5 |
58 |
+ dev-qt/qtwidgets:5 |
59 |
+" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ virtual/pkgconfig |
62 |
+ dev-qt/linguist-tools:5 |
63 |
+ test? ( |
64 |
+ dev-qt/qttest:5 |
65 |
+ media-libs/flac |
66 |
+ media-sound/mac |
67 |
+ media-sound/shntool |
68 |
+ media-sound/ttaenc |
69 |
+ media-sound/wavpack |
70 |
+ ) |
71 |
+" |
72 |
+ |
73 |
+pkg_pretend() { |
74 |
+ use test && check-reqs_pkg_pretend |
75 |
+} |
76 |
+ |
77 |
+pkg_setup() { |
78 |
+ use test && check-reqs_pkg_setup |
79 |
+} |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ cmake-utils_src_prepare |
83 |
+ |
84 |
+ # Ignore rudimentary et, uz@Latn, zh_TW translation(s). |
85 |
+ rm "translations/${PN}_uz@××××.desktop" || die |
86 |
+ rm "translations/${PN}"_{et,zh_TW}.ts || die |
87 |
+ |
88 |
+ remove_locale() { |
89 |
+ rm "translations/${PN}_${1}".{ts,desktop} || die |
90 |
+ } |
91 |
+ |
92 |
+ l10n_find_plocales_changes 'translations' "${PN}_" '.ts' |
93 |
+ l10n_for_each_disabled_locale_do remove_locale |
94 |
+} |
95 |
+ |
96 |
+src_configure() { |
97 |
+ local mycmakeargs=( |
98 |
+ -DBUILD_TESTS="$(usex test)" |
99 |
+ ) |
100 |
+ cmake-utils_src_configure |
101 |
+} |
102 |
+ |
103 |
+src_test() { |
104 |
+ virtx "${BUILD_DIR}/tests/${PN}_test" |
105 |
+} |
106 |
+ |
107 |
+pkg_postinst() { |
108 |
+ elog "${PN} optionally supports formats listed below." |
109 |
+ elog "(List will be empty if all extra packages are installed.)" |
110 |
+ elog "Please install the required packages and restart ${PN}." |
111 |
+ optfeature 'FLAC input and output support' media-libs/flac |
112 |
+ optfeature 'WavPack input and output support' media-sound/wavpack |
113 |
+ optfeature 'APE input support' media-sound/mac |
114 |
+ optfeature 'TTA input support' media-sound/ttaenc |
115 |
+ optfeature 'AAC output support' media-libs/faac |
116 |
+ optfeature 'MP3 output support' media-sound/lame |
117 |
+ optfeature 'Vorbis output support' media-sound/vorbis-tools |
118 |
+ optfeature 'MP3 Replay Gain support' media-sound/mp3gain |
119 |
+ optfeature 'Vorbis Replay Gain support' media-sound/vorbisgain |
120 |
+ |
121 |
+ gnome2_icon_cache_update |
122 |
+ xdg_desktop_database_update |
123 |
+} |
124 |
+ |
125 |
+pkg_postrm() { |
126 |
+ gnome2_icon_cache_update |
127 |
+ xdg_desktop_database_update |
128 |
+} |