1 |
commit: 40e731f5e10ec5d6a35cf598d744f4c2a770a28d |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 4 20:40:48 2022 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 4 20:40:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e731f5 |
7 |
|
8 |
sys-boot/plymouth: yay finally a release |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
sys-boot/plymouth/Manifest | 1 + |
14 |
sys-boot/plymouth/plymouth-22.02.122.ebuild | 112 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 113 insertions(+) |
16 |
|
17 |
diff --git a/sys-boot/plymouth/Manifest b/sys-boot/plymouth/Manifest |
18 |
index a195adf94890..7595bea28e61 100644 |
19 |
--- a/sys-boot/plymouth/Manifest |
20 |
+++ b/sys-boot/plymouth/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST gentoo-logo.png 14501 BLAKE2B e7236c16b96a2d35a6f062b89bc0a6c6fc696a803b7da734ff9ae255fcd65e549d9bc3d510c283e235a770f42edcbdffc1d5cc4c2fcdec9cc931eb0acf504859 SHA512 059a555931b6d2a910bcd887f5ea0cc17c6edf2d2d45c03a1fec1bdda0138ba6bca6bdf90a65c6520a3f8f1b51ecf6f7956098f45ed6c1276f29c835e729163c |
23 |
DIST plymouth-0.9.5.tar.xz 1186200 BLAKE2B 8fd073703773fcf7f3e26454c860f094fb4b3d712c56c9df6716ef11815a79f7d5b078ab6c6567b76421026d84a086f95865bf9f3e4ae6363cb1ffc2caa68537 SHA512 686220e8d5b1a8be298156786d979d0e3fb9e010b930d0e8082a2bb152cf07c1bf493d820c243838a1771ee859dc0b4723bd9f10ee434a94a096ce9236c36ce9 |
24 |
+DIST plymouth-22.02.122.tar.xz 1183608 BLAKE2B 8bb1362fcaa7d4c0fb1b69729a8a681d992a5d2abc07644d3be5cc0b19df2cac83df031165a65fa06f95042f619b9f4b7a7e1f3816528f6623473a2b1303e1be SHA512 9f2f5a7121b431f16561d6b5f31177ff06cf1e6bdffaa68c1fe08aa3c765a96dee745824aae8eaac9a0b4a08f0a17a9ae79a82bd0826fcc3fe14d8553635f817 |
25 |
DIST plymouth-5b91b9ed84cc91759c986634a4d64d474e6092cf.tar.gz 1132049 BLAKE2B 0e224aad93fef4039a1a023ece051a64e1fa854f29a814957673c7ba68eb3f2348ca075f59a17f7bad692152ddcc402b2246db413886ac73ad77a36a6fb2cb3c SHA512 3d81ce379d0a11af5b557bfe86e336a40e5abdbb6dbd6cd5e046ede9a46cf2782af75b8e32e3fb2232b8a22efee1890ecb47394742041d9dcb499b38476a814c |
26 |
|
27 |
diff --git a/sys-boot/plymouth/plymouth-22.02.122.ebuild b/sys-boot/plymouth/plymouth-22.02.122.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..98bb6eb92ea2 |
30 |
--- /dev/null |
31 |
+++ b/sys-boot/plymouth/plymouth-22.02.122.ebuild |
32 |
@@ -0,0 +1,112 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit flag-o-matic |
39 |
+SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png" |
40 |
+ |
41 |
+if [[ ${PV} == 9999 ]]; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth" |
44 |
+else |
45 |
+ SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz" |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
47 |
+fi |
48 |
+ |
49 |
+inherit autotools readme.gentoo-r1 systemd |
50 |
+ |
51 |
+DESCRIPTION="Graphical boot animation (splash) and logger" |
52 |
+HOMEPAGE="https://cgit.freedesktop.org/plymouth/" |
53 |
+ |
54 |
+LICENSE="GPL-2" |
55 |
+SLOT="0" |
56 |
+IUSE="debug +gtk +libkms +pango +split-usr static-libs +udev" |
57 |
+ |
58 |
+CDEPEND=" |
59 |
+ >=media-libs/libpng-1.2.16:= |
60 |
+ gtk? ( |
61 |
+ dev-libs/glib:2 |
62 |
+ >=x11-libs/gtk+-3.14:3 |
63 |
+ x11-libs/cairo |
64 |
+ ) |
65 |
+ libkms? ( x11-libs/libdrm[libkms] ) |
66 |
+ pango? ( >=x11-libs/pango-1.21 ) |
67 |
+" |
68 |
+DEPEND="${CDEPEND} |
69 |
+ elibc_musl? ( sys-libs/rpmatch-standalone ) |
70 |
+ app-text/docbook-xsl-stylesheets |
71 |
+ dev-libs/libxslt |
72 |
+ virtual/pkgconfig |
73 |
+" |
74 |
+# Block due bug #383067 |
75 |
+RDEPEND="${CDEPEND} |
76 |
+ udev? ( virtual/udev ) |
77 |
+ !<sys-kernel/dracut-0.37-r3 |
78 |
+" |
79 |
+ |
80 |
+DOC_CONTENTS=" |
81 |
+ Follow the following instructions to set up Plymouth:\n |
82 |
+ https://wiki.gentoo.org/wiki/Plymouth#Configuration |
83 |
+" |
84 |
+ |
85 |
+PATCHES=( |
86 |
+ "${FILESDIR}"/0.9.3-glibc-sysmacros.patch |
87 |
+) |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ use elibc_musl && append-ldflags -lrpmatch |
91 |
+ default |
92 |
+ eautoreconf |
93 |
+} |
94 |
+ |
95 |
+src_configure() { |
96 |
+ local myconf=( |
97 |
+ --with-system-root-install=no |
98 |
+ --localstatedir=/var |
99 |
+ --without-rhgb-compat-link |
100 |
+ --enable-documentation |
101 |
+ --enable-systemd-integration |
102 |
+ --with-systemdunitdir="$(systemd_get_systemunitdir)" |
103 |
+ $(use_enable !static-libs shared) |
104 |
+ $(use_enable static-libs static) |
105 |
+ $(use_enable debug tracing) |
106 |
+ $(use_enable gtk gtk) |
107 |
+ $(use_enable libkms drm) |
108 |
+ $(use_enable pango) |
109 |
+ $(use_with udev) |
110 |
+ ) |
111 |
+ econf "${myconf[@]}" |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ default |
116 |
+ |
117 |
+ insinto /usr/share/plymouth |
118 |
+ newins "${DISTDIR}"/gentoo-logo.png bizcom.png |
119 |
+ |
120 |
+ if use split-usr ; then |
121 |
+ # Install compatibility symlinks as some rdeps hardcode the paths |
122 |
+ dosym ../usr/bin/plymouth /bin/plymouth |
123 |
+ dosym ../usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme |
124 |
+ dosym ../usr/sbin/plymouthd /sbin/plymouthd |
125 |
+ fi |
126 |
+ |
127 |
+ readme.gentoo_create_doc |
128 |
+ |
129 |
+ # looks like make install create /var/run/plymouth |
130 |
+ # this is not needed for systemd, same should hold for openrc |
131 |
+ # so remove |
132 |
+ rm -rf "${D}"/var/run |
133 |
+ |
134 |
+ # fix broken symlink |
135 |
+ dosym ../../bizcom.png /usr/share/plymouth/themes/spinfinity/header-image.png |
136 |
+} |
137 |
+ |
138 |
+pkg_postinst() { |
139 |
+ readme.gentoo_print_elog |
140 |
+ if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then |
141 |
+ ewarn "If you want initramfs builder with plymouth support, please emerge" |
142 |
+ ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]." |
143 |
+ fi |
144 |
+} |