Diff plymouth-0.9.4-r1 with a plymouth-22.02.122-r1

/usr/portage/sys-boot/plymouth/plymouth-22.02.122-r1.ebuild 2023-10-09 14:52:35.448368500 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
8 8

  
9 9
if [[ ${PV} == 9999 ]]; then
10 10
	inherit git-r3
11
	EGIT_REPO_URI="https://anongit.freedesktop.org/git/plymouth"
11
	EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth"
12 12
else
13 13
	SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
14
	KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
14
	KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
15 15
fi
16 16

  
17
inherit autotools readme.gentoo-r1 systemd toolchain-funcs
17
inherit autotools readme.gentoo-r1 systemd
18 18

  
19 19
DESCRIPTION="Graphical boot animation (splash) and logger"
20 20
HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
21 21

  
22 22
LICENSE="GPL-2"
23 23
SLOT="0"
24
IUSE="debug gdm +gtk +libkms +pango +split-usr static-libs +udev"
24
IUSE="debug +drm +gtk +pango selinux +split-usr static-libs +udev"
25 25

  
26 26
CDEPEND="
27 27
	>=media-libs/libpng-1.2.16:=
28
	drm? ( x11-libs/libdrm )
28 29
	gtk? (
29 30
		dev-libs/glib:2
30 31
		>=x11-libs/gtk+-3.14:3
31 32
		x11-libs/cairo
32 33
	)
33
	libkms? ( x11-libs/libdrm[libkms] )
34 34
	pango? ( >=x11-libs/pango-1.21 )
35 35
"
36 36
DEPEND="${CDEPEND}
......
41 41
"
42 42
# Block due bug #383067
43 43
RDEPEND="${CDEPEND}
44
	selinux? ( sec-policy/selinux-plymouthd )
44 45
	udev? ( virtual/udev )
45 46
	!<sys-kernel/dracut-0.37-r3
46 47
"
......
52 53

  
53 54
PATCHES=(
54 55
	"${FILESDIR}"/0.9.3-glibc-sysmacros.patch
56
	"${FILESDIR}"/${P}-glibc-2.36.patch
55 57
)
56 58

  
57 59
src_prepare() {
......
71 73
		$(use_enable !static-libs shared)
72 74
		$(use_enable static-libs static)
73 75
		$(use_enable debug tracing)
74
		$(use_enable gtk gtk)
75
		$(use_enable libkms drm)
76
		$(use_enable drm)
77
		$(use_enable gtk)
76 78
		$(use_enable pango)
77
		$(use_enable gdm gdm-transition)
78 79
		$(use_with udev)
79 80
	)
80 81
	econf "${myconf[@]}"
......
99 100
	# this is not needed for systemd, same should hold for openrc
100 101
	# so remove
101 102
	rm -rf "${D}"/var/run
103

  
104
	# fix broken symlink
105
	dosym ../../bizcom.png /usr/share/plymouth/themes/spinfinity/header-image.png
102 106
}
103 107

  
104 108
pkg_postinst() {
105 109
	readme.gentoo_print_elog
106
	if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
110
	if ! has_version "sys-kernel/dracut"; then
107 111
		ewarn "If you want initramfs builder with plymouth support, please emerge"
108
		ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
112
		ewarn "sys-kernel/dracut."
109 113
	fi
110 114
}
Thank you!