gentoo-ebuilds/sys-boot/plymouth-openrc-plugin/plymouth-openrc-plugin-0.3.0-r1.ebuild
Michał Górny b46f3387f3
sys-boot/plymouth-openrc-plugin: Clean sys-apps/openrc-navi dep up
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-04-22 11:50:57 +02:00

34 lines
792 B
Bash

# 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.55"
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
}