commit:     79308ca0e7adf4a47c03069e95ff55bd24164085
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 23 06:27:49 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Sat Aug 23 06:30:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79308ca0

sys-boot/plymouth-openrc-plugin: add 0.4.0

Closes: https://bugs.gentoo.org/935378
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 sys-boot/plymouth-openrc-plugin/Manifest           |  1 +
 .../plymouth-openrc-plugin-0.4.0.ebuild            | 34 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/sys-boot/plymouth-openrc-plugin/Manifest 
b/sys-boot/plymouth-openrc-plugin/Manifest
index 5541b9f2ed7b..cf72f2458c81 100644
--- a/sys-boot/plymouth-openrc-plugin/Manifest
+++ b/sys-boot/plymouth-openrc-plugin/Manifest
@@ -1,2 +1,3 @@
 DIST plymouth-openrc-plugin-0.1.3.tar.gz 9404 BLAKE2B 
809cfab881ef47565badfc330b77ae07a8bbbddf822cbdb50f2d1d2a0c95f915ac5024e02400ab2ea9d8f98dc466a8a3cbad92805587f77a00e58c9f9d78d388
 SHA512 
b07a4d9d56c8f49d5b0a91799fe0100eac705cd2a266674539948fdc661876474a93d8ed5f329f097a1fc5dc571f3b3c00322191fb77d2a7e32b1ff192ca0a6b
 DIST plymouth-openrc-plugin-0.3.0.tar.gz 10387 BLAKE2B 
f7438ba0d6d0f7b4faf160d96b182410d82e21892b2788764182e7311724155abb22dfd1f368f1a02f61059c42b930432c120b085dbceeb2391b5a5e84195dd8
 SHA512 
361ca6ae7b995e0e71ba3a71aaf481aa69f3e9ebfaa48d0909b098ab33f5519817b5df818194bceac489a0560b99316afbcd2145c05768c54fb759382db526ed
+DIST plymouth-openrc-plugin-0.4.0.tar.gz 10381 BLAKE2B 
b09557bdb5f8b7d9d26dc0b1a135b6069c4d429598a028986d3f8d795cd12a41a6042bc9fecc5b3eae53b24c57a92cd2ad2cf69f9405a8e83b8cb64bafefbfba
 SHA512 
fd6bd55c156e12be4eeb20fa502d10e61963df0b3bb254056704bb2a878edf5dc9e80f02e691b431a1d4471faa6d4c97d4ab7def9ddba560494ca32225752d0b

diff --git 
a/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.4.0.ebuild 
b/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.4.0.ebuild
new file mode 100644
index 000000000000..583a854bab67
--- /dev/null
+++ b/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.4.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Plymouth plugin for OpenRC"
+HOMEPAGE="https://github.com/Kangie/plymouth-openrc-plugin";
+SRC_URI="https://github.com/Kangie/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug"
+
+DEPEND=">=sys-apps/openrc-0.56"
+RDEPEND="${DEPEND}
+       sys-boot/plymouth
+       !sys-apps/systemd"
+
+src_configure() {
+       local emesonargs=(
+               -Ddebug=$(usex debug true false)
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       if [[ -z ${REPLACING_VERSIONS} ]]; then
+               ewarn "The 'rc_interactive' feature in /etc/rc.conf must be 
disabled"
+               ewarn "for Plymouth work properly with OpenRC init system."
+       fi
+}

Reply via email to