1 |
commit: 976952fe40b45059bba077f0964df99baf44f9f6 |
2 |
Author: Scott Furry <scott.wl.furry <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue May 31 03:59:09 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 04:06:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=976952fe |
7 |
|
8 |
media-sound/soundconverter: add 4.0.3 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/758197 |
11 |
Closes: https://bugs.gentoo.org/846092 |
12 |
Signed-off-by: Scott Furry <scott.wl.furry <AT> gmail.com> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
media-sound/soundconverter/Manifest | 1 + |
16 |
.../soundconverter/soundconverter-4.0.3.ebuild | 64 ++++++++++++++++++++++ |
17 |
2 files changed, 65 insertions(+) |
18 |
|
19 |
diff --git a/media-sound/soundconverter/Manifest b/media-sound/soundconverter/Manifest |
20 |
index 65d94a9871b3..d1daef70f4de 100644 |
21 |
--- a/media-sound/soundconverter/Manifest |
22 |
+++ b/media-sound/soundconverter/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST soundconverter-3.0.2.tar.xz 208440 BLAKE2B e7817648fe27b2083629ea718b0479f7b9e2607a017868b1e1ce3fb0407a84a548bd007647e73a1d4163a7f51b162a89e3914419ccdbfd07586c2a94a23f4af2 SHA512 0746395de412a4d845e3df4d6cce0dbcba266c9efc8db71663dd1c751d2a5de5b0dc266f24bbfe6c00f69428801ce5f9558fc8e5e2f5d5e6be8562085cd7fe92 |
25 |
+DIST soundconverter-4.0.3.tar.gz 655814 BLAKE2B ffb8c1e8dafe631c5320fbb4af12eceb6fec7ed8267aba2f6da9ef3b76ab12b85eee92ff58c9743b36ab5c92e4148f0a7a66d5fda66fc126fc266e9ec24d9fc4 SHA512 018c2409101c21b85ff25581dac70a64d072cbc4aee29842aa25745f20e2cc03cf2c8ed1f34bc9ac5e679f7a6631a7998fb9183dc5adf69cab907f757727b959 |
26 |
|
27 |
diff --git a/media-sound/soundconverter/soundconverter-4.0.3.ebuild b/media-sound/soundconverter/soundconverter-4.0.3.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..9840037dc60f |
30 |
--- /dev/null |
31 |
+++ b/media-sound/soundconverter/soundconverter-4.0.3.ebuild |
32 |
@@ -0,0 +1,64 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DISTUTILS_SINGLE_IMPL=1 |
39 |
+DISTUTILS_USE_PEP517=setuptools |
40 |
+PYTHON_COMPAT=( python3_{8..10} ) |
41 |
+PYTHON_REQ_USE="xml(+)" |
42 |
+inherit distutils-r1 xdg |
43 |
+ |
44 |
+MY_PV="${PV/_/-}" |
45 |
+DESCRIPTION="A simple audiofile converter application for the GNOME environment" |
46 |
+HOMEPAGE="https://soundconverter.org/" |
47 |
+SRC_URI="https://github.com/kassoulet/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-3" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="amd64 x86" |
52 |
+ |
53 |
+IUSE="aac flac mp3 ogg opus vorbis" |
54 |
+ |
55 |
+# gst-plugins-meta for any decoders, USE flags for specific encoders used by code |
56 |
+# List in soundconverter/gstreamer.py |
57 |
+# wavenc and mp4mux come from gst-plugins-good, which everyone having base should have, so unconditional |
58 |
+RDEPEND=" |
59 |
+ x11-libs/gtk+:3[introspection] |
60 |
+ x11-libs/libnotify[introspection] |
61 |
+ x11-libs/pango[introspection] |
62 |
+ $(python_gen_cond_dep ' |
63 |
+ dev-python/gst-python[${PYTHON_USEDEP}] |
64 |
+ dev-python/pygobject[${PYTHON_USEDEP}] |
65 |
+ ') |
66 |
+ media-libs/gst-plugins-base:1.0[vorbis?,ogg?] |
67 |
+ media-plugins/gst-plugins-meta:1.0 |
68 |
+ flac? ( media-plugins/gst-plugins-flac:1.0 ) |
69 |
+ media-libs/gst-plugins-good:1.0 |
70 |
+ mp3? ( |
71 |
+ media-libs/gst-plugins-bad:1.0 |
72 |
+ media-libs/gst-plugins-ugly:1.0 |
73 |
+ media-plugins/gst-plugins-lame:1.0 |
74 |
+ ) |
75 |
+ aac? ( media-plugins/gst-plugins-faac:1.0 ) |
76 |
+ opus? ( media-plugins/gst-plugins-opus:1.0 ) |
77 |
+" |
78 |
+BDEPEND=" |
79 |
+ $(python_gen_cond_dep ' |
80 |
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}] |
81 |
+ ') |
82 |
+" |
83 |
+ |
84 |
+python_prepare_all() { |
85 |
+ distutils-r1_python_prepare_all |
86 |
+ rm -v "${S}/CHANGELOG.old" |
87 |
+ # workaround incorrect behavior when LINGUAS is set to an empty string |
88 |
+ # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594 |
89 |
+ ! [[ -v LINGUAS && -z ${LINGUAS} ]] || rm po/*.po || die |
90 |
+} |
91 |
+ |
92 |
+python_install_all() { |
93 |
+ rm -v "${D}/usr/share/glib-2.0/schemas/gschemas.compiled" |
94 |
+ mv -v "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${P}" |
95 |
+ distutils-r1_python_install_all |
96 |
+} |