Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/soundconverter/
Date: Sat, 20 Apr 2019 23:25:30
Message-Id: 1555672154.3649e6997f06230a876a86fe1b7812565dcbf50b.leio@gentoo
1 commit: 3649e6997f06230a876a86fe1b7812565dcbf50b
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 19 11:09:14 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 19 11:09:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3649e699
7
8 media-sound/soundconverter: bump to 3.0.2
9
10 This version fixes up GConf handling and doesn't hard require it.
11 GConf usage is about ancient gnome-media-profiles stuff, which we've
12 removed over 5 years ago, it seems, thus no USE flag toggling of it.
13 If it does find gconf introspection files, fine, it'll just
14 gracefully try to find the gconf stored media profiles, not find
15 them and not use gconf further.
16
17 Bug: https://bugs.gentoo.org/676256
18 Closes: https://bugs.gentoo.org/683262
19 Package-Manager: Portage-2.3.52, Repoman-2.3.12
20 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
21
22 media-sound/soundconverter/Manifest | 1 +
23 .../soundconverter/soundconverter-3.0.2.ebuild | 63 ++++++++++++++++++++++
24 2 files changed, 64 insertions(+)
25
26 diff --git a/media-sound/soundconverter/Manifest b/media-sound/soundconverter/Manifest
27 index b5f29b05e2d..c2adb1b90e2 100644
28 --- a/media-sound/soundconverter/Manifest
29 +++ b/media-sound/soundconverter/Manifest
30 @@ -1 +1,2 @@
31 DIST soundconverter-3.0.0.tar.xz 201548 BLAKE2B bdca42d22d2e497b807149dcd5c8f911519b71dc7e836ad359831d0b7cd2241f58f8f9f60fa4580e2f038528e9c249dfa8a811d1681d0c8dead2c53e0f58f7ce SHA512 6f5518711c76e7748447805dbf16ac8622c5041c3f3cac2de6f31968aab4eff43a2fde2da48c47d12093ce1732208923d83d57b6a97ea99fbf882dfef239a62d
32 +DIST soundconverter-3.0.2.tar.xz 208440 BLAKE2B e7817648fe27b2083629ea718b0479f7b9e2607a017868b1e1ce3fb0407a84a548bd007647e73a1d4163a7f51b162a89e3914419ccdbfd07586c2a94a23f4af2 SHA512 0746395de412a4d845e3df4d6cce0dbcba266c9efc8db71663dd1c751d2a5de5b0dc266f24bbfe6c00f69428801ce5f9558fc8e5e2f5d5e6be8562085cd7fe92
33
34 diff --git a/media-sound/soundconverter/soundconverter-3.0.2.ebuild b/media-sound/soundconverter/soundconverter-3.0.2.ebuild
35 new file mode 100644
36 index 00000000000..502d7be8e38
37 --- /dev/null
38 +++ b/media-sound/soundconverter/soundconverter-3.0.2.ebuild
39 @@ -0,0 +1,63 @@
40 +# Copyright 1999-2019 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=6
44 +PYTHON_COMPAT=( python3_{5,6} )
45 +
46 +inherit gnome2 python-single-r1
47 +
48 +DESCRIPTION="A simple audiofile converter application for the GNOME environment"
49 +HOMEPAGE="https://soundconverter.org/"
50 +MY_PV="${PV/_/-}"
51 +SRC_URI="https://launchpad.net/${PN}/trunk/${MY_PV}/+download/${PN}-${MY_PV}.tar.xz"
52 +S="${WORKDIR}/${PN}-${MY_PV}"
53 +
54 +LICENSE="GPL-3"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~x86"
57 +
58 +IUSE="aac flac libnotify mp3 ogg opus vorbis"
59 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
60 +
61 +COMMON_DEPEND="${PYTHON_DEPS}
62 + dev-libs/gobject-introspection:=
63 + x11-libs/gtk+:3[introspection]
64 + media-libs/gstreamer:1.0[introspection]
65 +"
66 +
67 +# gst-plugins-meta for any decoders, USE flags for specific encoders used by code
68 +# List in soundconverter/gstreamer.py
69 +# wavenc and mp4mux come from gst-plugins-good, which everyone having base should have, so unconditional
70 +RDEPEND="${COMMON_DEPEND}
71 + x11-libs/pango[introspection]
72 + dev-python/gst-python:1.0[${PYTHON_USEDEP}]
73 + libnotify? ( x11-libs/libnotify[introspection] )
74 +
75 + media-libs/gst-plugins-base:1.0[vorbis?,ogg?]
76 + media-plugins/gst-plugins-meta:1.0
77 + flac? ( media-plugins/gst-plugins-flac:1.0 )
78 + media-libs/gst-plugins-good:1.0
79 + mp3? (
80 + media-libs/gst-plugins-bad:1.0
81 + media-libs/gst-plugins-ugly:1.0
82 + media-plugins/gst-plugins-lame:1.0
83 + )
84 + aac? ( media-plugins/gst-plugins-faac:1.0 )
85 + opus? ( media-plugins/gst-plugins-opus:1.0 )
86 +"
87 +DEPEND="${COMMON_DEPEND}
88 + dev-util/intltool
89 + sys-devel/gettext
90 +"
91 +
92 +RESTRICT="test" # broken pot files list in 3.0.0 release, making src_test fallback to "make test" which fails
93 +
94 +src_prepare() {
95 + python_fix_shebang .
96 + gnome2_src_prepare
97 +}
98 +
99 +src_install() {
100 + gnome2_src_install
101 + python_optimize "${ED%/}"/usr/$(get_libdir)/soundconverter/python
102 +}