Diff playerctl-2.3.1 with a playerctl-2.4.1

/usr/portage/media-sound/playerctl/playerctl-2.4.1.ebuild 2023-10-09 14:52:31.796368408 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit bash-completion-r1 xdg-utils meson
6
inherit bash-completion-r1 meson xdg
7 7

  
8 8
DESCRIPTION="A CLI utility to control media players over MPRIS"
9 9
HOMEPAGE="https://github.com/acrisci/playerctl"
10 10
SRC_URI="https://github.com/acrisci/playerctl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
11
LICENSE="GPL-3+"
11

  
12
LICENSE="LGPL-3+"
12 13
SLOT="0"
13
KEYWORDS="amd64 arm64 x86"
14
KEYWORDS="~amd64 ~arm64 ~x86"
14 15
IUSE="doc introspection"
15
RESTRICT="test" # Requires dbus-next python package that's not in the tree
16
RESTRICT="test" # Seems to want a system bus, rather than a session one?
16 17

  
17 18
RDEPEND="
18
	dev-libs/glib:2
19
	>=dev-libs/glib-2.38:2
19 20
	introspection? ( dev-libs/gobject-introspection:= )
20 21
"
21 22
DEPEND="${RDEPEND}"
22 23
BDEPEND="
23
	doc? ( dev-util/gtk-doc )
24 24
	dev-util/gdbus-codegen
25 25
	dev-util/glib-utils
26 26
	virtual/pkgconfig
27
	doc? ( dev-util/gtk-doc )
27 28
"
28 29

  
29 30
src_configure() {
30 31
	local emesonargs=(
31 32
		-Ddatadir=share
32 33
		-Dbindir=bin
34
		-Dbash-completions=false
35
		-Dzsh-completions=false
33 36
		$(meson_use doc gtk-doc)
34 37
		$(meson_use introspection)
35 38
	)
36 39

  
37
	xdg_environment_reset # 596166
40
	xdg_environment_reset # bug #596166
38 41
	meson_src_configure
39 42
}
40 43

  
41 44
src_install() {
42 45
	meson_src_install
43
	rm "${ED}"/usr/$(get_libdir)/libplayerctl.a || die
44 46

  
45 47
	docinto examples
46 48
	dodoc -r "${S}"/examples/.
Thank you!