mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-sound/sonata: add 1.7.2
add missing gtk+3 libs (fix testsuite too) add gettext for translations rm pkg-config unused since 1.7.0 Closes: https://bugs.gentoo.org/809044 Closes: https://bugs.gentoo.org/956771 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44798 Closes: https://github.com/gentoo/gentoo/pull/44798 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
0d6a472f4c
commit
8a1ab5ef8e
@ -1 +1,2 @@
|
||||
DIST sonata-1.7.0.tar.gz 2258617 BLAKE2B 704f673737095351f88f64bc858db465b26d8e0fdb34cbb4d3917abe65ec276ec3e6419edd41d9e8b193a886c8dfd178b5fc94daa4a178aae817c2d3024c266b SHA512 c60c16b6cca439c2063069ceea62afdb9f09c9735d36ba42e2b5b1caf07506f15d722d75c68e355db4615b937a728679aeae1619527ac8267feec111635c27f5
|
||||
DIST sonata-1.7.2.tar.gz 2257885 BLAKE2B 222bc515a6af7dac402fc26de6888effbe557e73865549855e37132fd40311a34b93512dff8d1df9bfbac7d2466f2c38fa5e22b6b2d4906683998422b95db427 SHA512 10b868cdab744f2c40f89763b23d851849e087bc3170538aaa1f229d3adb1e2e7c7805649ebb7bf6a82f8265ec9f4d78528122450f3d599c0149c4e66ceac163
|
||||
|
||||
11
media-sound/sonata/files/sonata-1.7.2-fix_version.patch
Normal file
11
media-sound/sonata/files/sonata-1.7.2-fix_version.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/sonata/version.py
|
||||
+++ b/sonata/version.py
|
||||
@@ -26,7 +26,7 @@ except ImportError:
|
||||
build_ver = None
|
||||
|
||||
# Should be the most recent release
|
||||
-default_version = "v1.7.3"
|
||||
+default_version = "v1.7.2"
|
||||
|
||||
def _version():
|
||||
'''Get the version number of the sources
|
||||
50
media-sound/sonata/sonata-1.7.2.ebuild
Normal file
50
media-sound/sonata/sonata-1.7.2.ebuild
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit desktop distutils-r1 xdg
|
||||
|
||||
DESCRIPTION="Elegant GTK+ music client for the Music Player Daemon (MPD)"
|
||||
HOMEPAGE="https://www.nongnu.org/sonata/"
|
||||
SRC_URI="https://github.com/multani/sonata/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="dbus taglib"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2[introspection]
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/python-mpd2[${PYTHON_USEDEP}]
|
||||
dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
|
||||
taglib? ( dev-python/tagpy[${PYTHON_USEDEP}] )
|
||||
')
|
||||
"
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix_version.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile
|
||||
# see bug #956771
|
||||
find "${WORKDIR}" -name 'genversion.*' -delete || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
doicon -s 128 sonata/pixmaps/sonata.png
|
||||
rm -r "${ED}"/usr/share/sonata || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user