aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Tutsch <mail@konstantintutsch.de>2023-09-04 10:05:19 +0200
committerKonstantin Tutsch <mail@konstantintutsch.de>2023-09-04 10:07:12 +0200
commit8290631e7d5d5b090fe3a0fb79a2b56dbcd895fa (patch)
tree3d8fb8bf94c8e6599bd0c472dac86b781d09d366 /media-sound
parentnet-irc/litterbox: fix maintainer email address (diff)
downloadguru-8290631e7d5d5b090fe3a0fb79a2b56dbcd895fa.tar.gz
guru-8290631e7d5d5b090fe3a0fb79a2b56dbcd895fa.tar.bz2
guru-8290631e7d5d5b090fe3a0fb79a2b56dbcd895fa.zip
media-sound/g4music: add 3.3
Signed-off-by: Konstantin Tutsch <mail@konstantintutsch.de>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/g4music/Manifest1
-rw-r--r--media-sound/g4music/g4music-3.3.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/g4music/Manifest b/media-sound/g4music/Manifest
index 556aa18a4..7723705bf 100644
--- a/media-sound/g4music/Manifest
+++ b/media-sound/g4music/Manifest
@@ -1 +1,2 @@
DIST g4music-v3.2.tar.bz2 3294279 BLAKE2B c1e7518ccf5e11ee9e4b83f612bd5c68b3a60703d5d33684fe7837ea62b4ac90f3dd6d57ffdc1d43ca63168e4374b0946c82cda31ad82b01059ba108bccc981b SHA512 92c10aa6a53ba2c8265342b77ab5dc211410ab889a717ac514363958b45471e29a152f75101a0eefc1fd707917bf04759b2b3e4afe0e819ccb2a932ac3957f86
+DIST g4music-v3.3.tar.bz2 3299439 BLAKE2B 6a60dc668507e3b0a1bbcdaee08243a7f058a25194aa1b30a7d0146eae1ba472d2a28c5be67ba4b2df7a088db9733eec980bdb877305878000d3740904e0212c SHA512 0355a4e22b8298ae43524d1cdb026bd800cfc88327894c66a85c6310ae3958a5a54d52139581e3a1925a633472cdf3f95fd487b046ec2541970159cd08339537
diff --git a/media-sound/g4music/g4music-3.3.ebuild b/media-sound/g4music/g4music-3.3.ebuild
new file mode 100644
index 000000000..3e404d3e6
--- /dev/null
+++ b/media-sound/g4music/g4music-3.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2023 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"
+
+IDEPEND=""
+DEPEND="
+ >=gui-libs/gtk-4.6
+ >=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-util/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
+}