plymouth: update configure flags
- only set host when cross compiling - use top-level configureFlags and installFlags instead of putting it in the pre configure.
This commit is contained in:
parent
d1e58be703
commit
1bac797616
|
@ -26,35 +26,33 @@ stdenv.mkDerivation rec {
|
|||
-e "s#plymouththemedir=.*#plymouththemedir=/etc/plymouth/themes#" \
|
||||
-e "s#plymouthpolicydir=.*#plymouthpolicydir=/etc/plymouth/#" \
|
||||
configure.ac
|
||||
|
||||
configureFlags="
|
||||
--prefix=$out
|
||||
--bindir=$out/bin
|
||||
--sbindir=$out/sbin
|
||||
--exec-prefix=$out
|
||||
--libdir=$out/lib
|
||||
--libexecdir=$out/lib
|
||||
--sysconfdir=/etc
|
||||
--with-systemdunitdir=$out/etc/systemd/system
|
||||
--localstatedir=/var
|
||||
--with-logo=/etc/plymouth/logo.png
|
||||
--with-background-color=0x000000
|
||||
--with-background-start-color-stop=0x000000
|
||||
--with-background-end-color-stop=0x000000
|
||||
--with-release-file=/etc/os-release
|
||||
--without-system-root-install
|
||||
--without-rhgb-compat-link
|
||||
--enable-tracing
|
||||
--enable-systemd-integration
|
||||
--enable-pango
|
||||
--enable-gdm-transition
|
||||
--enable-gtk"
|
||||
|
||||
installFlags="
|
||||
plymouthd_defaultsdir=$out/share/plymouth
|
||||
plymouthd_confdir=$out/etc/plymouth"
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
"--with-systemdunitdir=${placeholder "out"}/etc/systemd/system"
|
||||
"--localstatedir=/var"
|
||||
"--with-logo=/etc/plymouth/logo.png"
|
||||
"--with-background-color=0x000000"
|
||||
"--with-background-start-color-stop=0x000000"
|
||||
"--with-background-end-color-stop=0x000000"
|
||||
"--with-release-file=/etc/os-release"
|
||||
"--without-system-root-install"
|
||||
"--without-rhgb-compat-link"
|
||||
"--enable-tracing"
|
||||
"--enable-systemd-integration"
|
||||
"--enable-pango"
|
||||
"--enable-gdm-transition"
|
||||
"--enable-gtk"
|
||||
];
|
||||
|
||||
configurePlatforms = [ "host" ];
|
||||
|
||||
installFlags = [
|
||||
"plymouthd_defaultsdir=$(out)/share/plymouth"
|
||||
"plymouthd_confdir=$(out)/etc/plymouth"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.freedesktop.org/wiki/Software/Plymouth;
|
||||
description = "A graphical boot animation";
|
||||
|
|
Loading…
Reference in a new issue