From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/soundconverter/
Date: Sun, 16 Jun 2024 10:16:38 +0000 (UTC) [thread overview]
Message-ID: <1718532985.86ddbbd4a3a4ee5c7bc43f41466d0ecfef0d85e5.pacho@gentoo> (raw)
commit: 86ddbbd4a3a4ee5c7bc43f41466d0ecfef0d85e5
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 10:04:34 2024 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 10:16:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ddbbd4
media-sound/soundconverter: add 4.0.5
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
media-sound/soundconverter/Manifest | 1 +
.../soundconverter/soundconverter-4.0.5.ebuild | 100 +++++++++++++++++++++
2 files changed, 101 insertions(+)
diff --git a/media-sound/soundconverter/Manifest b/media-sound/soundconverter/Manifest
index a5fa1c2a5dc0..124f38415d12 100644
--- a/media-sound/soundconverter/Manifest
+++ b/media-sound/soundconverter/Manifest
@@ -1 +1,2 @@
DIST soundconverter-4.0.3.gh.tar.gz 632495 BLAKE2B 9a2847b5ebb998b9122ff4020e47dc5b84635a6e1ae0de9061bab18e813ab3918278e940df80bc370b071de77a82a3637c376d9ebdd84d2f7b00865dda94935a SHA512 0674eb430bb3cf267ceabee8e7dbdeb2ee81e537ca093fcf6e1adab21112690ed9e3eb349a994805ddfc51b3a4f875b87a5819a1f2cf020752eb8e742665a998
+DIST soundconverter-4.0.5.gh.tar.gz 638789 BLAKE2B e4cb89b9911d7f28e3db2b5e93858defc4ac12199805a61aa74264a89bc81037a6597ee404d84881ff83af33b59bc64a8267b682e3cba4109ddc1e4a3798f90d SHA512 efd96fcf1f75381c985cbc7cc849462fc424e7b54fcbbb5e63e49e32b195dfab43806fecbc4e7f9a7f70b0df4e9a6d511b07dcaaca5eaa5e29bc49e1e66acb4b
diff --git a/media-sound/soundconverter/soundconverter-4.0.5.ebuild b/media-sound/soundconverter/soundconverter-4.0.5.ebuild
new file mode 100644
index 000000000000..b4704cea2c49
--- /dev/null
+++ b/media-sound/soundconverter/soundconverter-4.0.5.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="xml(+)"
+inherit gnome2-utils distutils-r1 virtualx xdg
+
+MY_PV="${PV/_/-}"
+DESCRIPTION="A simple audiofile converter application for the GNOME environment"
+HOMEPAGE="https://soundconverter.org/"
+SRC_URI="https://github.com/kassoulet/${PN}/archive/${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="aac flac mp3 ogg opus vorbis"
+
+# gst-plugins-meta for any decoders, USE flags for specific encoders used by code
+# List in soundconverter/gstreamer.py
+# wavenc and mp4mux come from gst-plugins-good, which everyone having base should have, so unconditional
+RDEPEND="
+ x11-libs/gtk+:3[introspection]
+ x11-libs/libnotify[introspection]
+ x11-libs/pango[introspection]
+ $(python_gen_cond_dep '
+ dev-python/gst-python[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ ')
+ media-libs/gst-plugins-base:1.0[vorbis?,ogg?]
+ media-plugins/gst-plugins-meta:1.0
+ flac? ( media-plugins/gst-plugins-flac:1.0 )
+ media-libs/gst-plugins-good:1.0
+ mp3? (
+ media-libs/gst-plugins-bad:1.0
+ media-libs/gst-plugins-ugly:1.0
+ media-plugins/gst-plugins-lame:1.0
+ )
+ aac? ( media-plugins/gst-plugins-faac:1.0 )
+ opus? ( media-plugins/gst-plugins-opus:1.0 )
+"
+BDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}]
+ ')
+ dev-util/intltool
+ test? (
+ media-plugins/gst-plugins-flac:1.0
+ media-libs/gst-plugins-bad:1.0
+ media-libs/gst-plugins-ugly:1.0
+ media-plugins/gst-plugins-lame:1.0
+ media-plugins/gst-plugins-faac:1.0
+ media-plugins/gst-plugins-opus:1.0
+ )
+"
+
+# Before PEP517: tests seem to hang and also fail to find fdkaacenc from gst?
+# After: need to trick it into finding the data (inc. glade files)
+RESTRICT="test"
+
+python_prepare_all() {
+ gnome2_environment_reset
+ distutils-r1_python_prepare_all
+
+ rm -v "${S}/CHANGELOG.old" || die
+
+ # workaround incorrect behavior when LINGUAS is set to an empty string
+ # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594
+ ! [[ -v LINGUAS && -z ${LINGUAS} ]] || rm po/*.po || die
+}
+
+src_test() {
+ virtx distutils-r1_src_test
+}
+
+python_test() {
+ export GSETTINGS_SCHEMA_DIR="${S}/data"
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}"/data || die
+
+ "${EPYTHON}" tests/test.py || die
+}
+
+python_install_all() {
+ rm -v "${ED}"/usr/share/glib-2.0/schemas/gschemas.compiled || die
+ mv -v "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die
+ distutils-r1_python_install_all
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
next reply other threads:[~2024-06-16 10:16 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-16 10:16 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-14 2:57 [gentoo-commits] repo/gentoo:master commit in: media-sound/soundconverter/ Pacho Ramos
2024-06-16 10:16 Pacho Ramos
2023-08-17 2:55 Sam James
2023-05-03 5:05 Sam James
2022-07-29 21:39 David Seifert
2022-06-18 16:57 Agostino Sarubbo
2022-06-18 16:54 Agostino Sarubbo
2022-05-31 6:54 Sam James
2022-05-31 4:23 Sam James
2022-05-31 4:07 Sam James
2022-05-31 4:07 Sam James
2021-07-06 22:07 Pacho Ramos
2020-12-05 18:09 Pacho Ramos
2020-06-13 15:09 Pacho Ramos
2020-02-09 16:31 Michał Górny
2019-05-19 18:07 Mart Raudsepp
2019-05-19 15:48 Thomas Deutschmann
2019-04-20 17:46 Mikle Kolyada
2019-04-19 11:09 Mart Raudsepp
2019-03-26 18:52 Aaron Bauman
2018-07-31 7:12 Mart Raudsepp
2018-07-31 0:43 Thomas Deutschmann
2018-07-16 14:01 Mikle Kolyada
2018-06-21 15:04 Mart Raudsepp
2018-02-14 18:10 Mart Raudsepp
2018-02-14 16:57 Jason Zaman
2018-02-06 15:10 Thomas Deutschmann
2017-12-24 15:15 Mart Raudsepp
2016-03-06 20:52 Mikle Kolyada
2016-02-21 23:44 Pacho Ramos
2016-02-21 9:37 Pacho Ramos
2016-02-21 9:37 Pacho Ramos
2015-09-07 21:55 Mikle Kolyada
2015-09-05 14:36 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1718532985.86ddbbd4a3a4ee5c7bc43f41466d0ecfef0d85e5.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox