blob: 5e1a0670106d379cd0f8ca8eca00706e3e1a1b25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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-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
}
|