summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Skala <mskala@gmx.com>2018-11-07 16:20:57 +0100
committerMatthew Thode <prometheanfire@gentoo.org>2018-11-07 09:49:25 -0600
commitd3d7ec1a087bb904251d31e83120636ccc30e2fc (patch)
tree715184a96dde5ecb303a8fe939a45e780b7652fc /sys-boot/plymouth
parentmedia-gfx/inkscape: Fixed compilation with >=app-text/poppler-0.69.0 (diff)
downloadgentoo-d3d7ec1a087bb904251d31e83120636ccc30e2fc.tar.gz
gentoo-d3d7ec1a087bb904251d31e83120636ccc30e2fc.tar.bz2
gentoo-d3d7ec1a087bb904251d31e83120636ccc30e2fc.zip
sys-boot/plymouth: add support for /usr merge
Signed-off-by: Matija Skala <mskala@gmx.com> Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'sys-boot/plymouth')
-rw-r--r--sys-boot/plymouth/plymouth-0.9.4-r1.ebuild (renamed from sys-boot/plymouth/plymouth-0.9.4.ebuild)12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys-boot/plymouth/plymouth-0.9.4.ebuild b/sys-boot/plymouth/plymouth-0.9.4-r1.ebuild
index f10bd9023672..cab004479b73 100644
--- a/sys-boot/plymouth/plymouth-0.9.4.ebuild
+++ b/sys-boot/plymouth/plymouth-0.9.4-r1.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="debug gdm +gtk +libkms +pango static-libs"
+IUSE="debug gdm +gtk +libkms +pango +split-usr static-libs"
CDEPEND="
>=media-libs/libpng-1.2.16:=
@@ -85,10 +85,12 @@ src_install() {
insinto /usr/share/plymouth
newins "${DISTDIR}"/gentoo-logo.png bizcom.png
- # Install compatibility symlinks as some rdeps hardcode the paths
- dosym ../usr/bin/plymouth /bin/plymouth
- dosym ..../usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
- dosym ../usr/sbin/plymouthd /sbin/plymouthd
+ if use split-usr ; then
+ # Install compatibility symlinks as some rdeps hardcode the paths
+ dosym ../usr/bin/plymouth /bin/plymouth
+ dosym ../usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
+ dosym ../usr/sbin/plymouthd /sbin/plymouthd
+ fi
readme.gentoo_create_doc