plymouth: 0.9.0 -> 0.9.2
Use system-wide directories for various resources.
This commit is contained in:
parent
125ffff089
commit
6e21246dc4
@ -1,27 +1,32 @@
|
|||||||
{ stdenv, fetchurl, autoreconfHook, cairo, docbook_xsl, gtk
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libxslt, docbook_xsl
|
||||||
, libdrm, libpng, libxslt, makeWrapper, pango, pkgconfig, udev
|
, gtk3, udev, systemd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "plymouth-${version}";
|
name = "plymouth-${version}";
|
||||||
version = "0.9.0";
|
version = "0.9.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.freedesktop.org/software/plymouth/releases/${name}.tar.bz2";
|
url = "http://www.freedesktop.org/software/plymouth/releases/${name}.tar.bz2";
|
||||||
sha256 = "0kfdwv179brg390ma003pmdqfvqlbybqiyp9fxrxx0wa19sjxqnk";
|
sha256 = "0zympsgy5bbfl2ag5nc1jxlshpx8r1s1yyjisanpx76g88hfh31g";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook cairo docbook_xsl gtk libdrm libpng
|
autoreconfHook pkgconfig libxslt docbook_xsl
|
||||||
libxslt makeWrapper pango pkgconfig udev
|
|
||||||
];
|
];
|
||||||
|
|
||||||
prePatch = ''
|
buildInputs = [
|
||||||
sed -e "s#\$(\$PKG_CONFIG --variable=systemdsystemunitdir systemd)#$out/etc/systemd/system#g" \
|
gtk3 udev systemd
|
||||||
-i configure.ac
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
sed -i \
|
||||||
|
-e "s#\$(\$PKG_CONFIG --variable=systemdsystemunitdir systemd)#$out/etc/systemd/system#g" \
|
||||||
|
-e "s#plymouthplugindir=.*#plymouthplugindir=/etc/plymouth/plugins/#" \
|
||||||
|
-e "s#plymouththemedir=.*#plymouththemedir=/etc/plymouth/themes#" \
|
||||||
|
-e "s#plymouthpolicydir=.*#plymouthpolicydir=/etc/plymouth/#" \
|
||||||
|
configure.ac
|
||||||
|
|
||||||
configureFlags="
|
configureFlags="
|
||||||
--prefix=$out
|
--prefix=$out
|
||||||
--bindir=$out/bin
|
--bindir=$out/bin
|
||||||
@ -29,15 +34,24 @@ stdenv.mkDerivation rec {
|
|||||||
--exec-prefix=$out
|
--exec-prefix=$out
|
||||||
--libdir=$out/lib
|
--libdir=$out/lib
|
||||||
--libexecdir=$out/lib
|
--libexecdir=$out/lib
|
||||||
--sysconfdir=$out/etc
|
--sysconfdir=/etc
|
||||||
--localstatedir=/var
|
--localstatedir=/var
|
||||||
--with-log-viewer
|
--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-system-root-install
|
||||||
--without-rhgb-compat-link
|
--without-rhgb-compat-link
|
||||||
--enable-tracing
|
--enable-tracing
|
||||||
--enable-systemd-integration
|
--enable-systemd-integration
|
||||||
--enable-pango
|
--enable-pango
|
||||||
|
--enable-gdm-transition
|
||||||
--enable-gtk"
|
--enable-gtk"
|
||||||
|
|
||||||
|
installFlags="
|
||||||
|
plymouthd_defaultsdir=$out/share/plymouth
|
||||||
|
plymouthd_confdir=$out/etc/plymouth"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user