Add Plymouth: WIP
This commit is contained in:
parent
1f82083c20
commit
562cb3f460
46
pkgs/os-specific/linux/plymouth/default.nix
Normal file
46
pkgs/os-specific/linux/plymouth/default.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ stdenv, fetchurl, cairo, gtk, libdrm, libpng, pango, pkgconfig }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "plymouth-${version}";
|
||||||
|
version = "0.8.8";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.freedesktop.org/software/plymouth/releases/${name}.tar.bz2";
|
||||||
|
sha256 = "16vm3llgci7h63jaclfskj1ii61d8psq7ny2mncml6m3sghs9b8v";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
cairo gtk libdrm libpng pango pkgconfig
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
export DESTDIR=$out
|
||||||
|
./configure -sbindir=$out/sbin \
|
||||||
|
--prefix=$out \
|
||||||
|
--exec-prefix=$out \
|
||||||
|
--libdir=$out/lib \
|
||||||
|
--libexecdir=$out/lib \
|
||||||
|
--with-system-root-install \
|
||||||
|
--enable-tracing \
|
||||||
|
--with-rhgb-compat-link \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
cd $out/$out
|
||||||
|
mv bin/* $out/bin
|
||||||
|
mv sbin/* $out/sbin
|
||||||
|
rmdir bin
|
||||||
|
rmdir sbin
|
||||||
|
mv * $out/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://www.freedesktop.org/wiki/Software/Plymouth;
|
||||||
|
description = "A graphical boot animation";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = [ maintainers.goibhniu ];
|
||||||
|
};
|
||||||
|
}
|
@ -6165,6 +6165,8 @@ let
|
|||||||
config = config.pcmciaUtils.config or null;
|
config = config.pcmciaUtils.config or null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
plymouth = callPackage ../os-specific/linux/plymouth { };
|
||||||
|
|
||||||
pmount = callPackage ../os-specific/linux/pmount { };
|
pmount = callPackage ../os-specific/linux/pmount { };
|
||||||
|
|
||||||
pmutils = callPackage ../os-specific/linux/pm-utils { };
|
pmutils = callPackage ../os-specific/linux/pm-utils { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user