media-sound/gapless: add 4.4

Signed-off-by: hexlocation <hex@iwakura.rip>
This commit is contained in:
hexlocation
2025-04-28 17:32:00 +02:00
parent a2bda51508
commit 5c44fc28d5
2 changed files with 59 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST g4music-v4.3.1.tar.bz2 145455 BLAKE2B bcce1d0575496e9744838443edac1f3cd59934799f828dbd9d6667e0cace8f27e9fd7e0577271daae501efedeb20ccedf19bd7e6d0cde365001c2607afdf7a4d SHA512 264c84ede962dafbda39fe66ac4ef50a27e9c0b4da9467eeef8694ee9011b482f28ba3d1af613c3d44d3a7c0f41a91f553c71dc79a5abd5238c169966d02fa27
DIST g4music-v4.4.tar.bz2 145455 BLAKE2B 4a81146ca62a68800f4c862210f5dae992bfcfb22f9ae8c5e6796bc2359cfe471ab17b97e1a091ea7d0e00b8c89a1926ce3822daa4252778f94365acbc8dd850 SHA512 ff84ef987a0bde6cc7d1e2a209f96f5f4626a8328a189bb2ddd757bf0c024fb521146582ff355d79c49c9fa6d29d8030c024d132f7db9b958c03ffbfe74d1a51

View File

@@ -0,0 +1,58 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson xdg gnome2-utils vala
DESCRIPTION="A GTK4 music player"
HOMEPAGE="https://gitlab.gnome.org/neithern/g4music"
SRC_URI="https://gitlab.gnome.org/neithern/g4music/-/archive/v${PV}/g4music-v${PV}.tar.bz2"
S="${WORKDIR}/g4music-v${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="pipewire"
DEPEND="
>=gui-libs/gtk-4.6
>=dev-libs/glib-2.78.6
>=media-libs/graphene-1.10.8-r1
>=media-libs/gst-plugins-base-1.22.12
>=x11-libs/gdk-pixbuf-2.42.10-r1
>=x11-libs/pango-1.52.2
>=gui-libs/libadwaita-1
>=media-libs/gstreamer-1.20.6[introspection]
>=media-plugins/gst-plugins-taglib-1.20.6
>=dev-libs/appstream-glib-0.8.2
pipewire? ( media-video/pipewire[gstreamer] )
"
RDEPEND="${DEPEND}"
BDEPEND="
>=dev-build/meson-1.1.1
>=dev-lang/vala-0.56.8
$(vala_depend)
"
src_prepare() {
default
vala_setup
xdg_environment_reset
sed -i \
-e '/^gnome.post_install(/,/)/d' \
meson.build \
|| die
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}