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