commit:     3c5efd4257be66234298653a933633b87ba9dc81
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 10 21:23:38 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Sep 10 21:24:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c5efd42

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

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 sys-boot/plymouth-openrc-plugin/Manifest           |  1 +
 .../plymouth-openrc-plugin-0.3.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 8cef1c5ec038..eeca4d8d8dcd 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.2.0.tar.gz 10325 BLAKE2B 
ee66b158d366f5bf12504d1546ec00906f9e73760308975dbc4ea26e5622ee10ab877b47a13269ae11576c7d3e8b4c9484ca0dc61efce0f78f38344515ce4c5e
 SHA512 
4156b291c49cf5c55c78071439530a35f5ec03b1e022bb022839e1b89567653ebb70bf3471b82ae0ecec8fc84c3f41ee2cc6b3de1fa52811a96d0812a6ada772
+DIST plymouth-openrc-plugin-0.3.0.tar.gz 10387 BLAKE2B 
f7438ba0d6d0f7b4faf160d96b182410d82e21892b2788764182e7311724155abb22dfd1f368f1a02f61059c42b930432c120b085dbceeb2391b5a5e84195dd8
 SHA512 
361ca6ae7b995e0e71ba3a71aaf481aa69f3e9ebfaa48d0909b098ab33f5519817b5df818194bceac489a0560b99316afbcd2145c05768c54fb759382db526ed

diff --git 
a/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.3.0.ebuild 
b/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.3.0.ebuild
new file mode 100644
index 000000000000..cec7b6155dfc
--- /dev/null
+++ b/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.3.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 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 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug"
+
+DEPEND="|| ( sys-apps/openrc sys-apps/openrc-navi )"
+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