2015-03-04 21:02:09 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, cairo, docbook_xsl, gtk
|
|
|
|
, libdrm, libpng, libxslt, makeWrapper, pango, pkgconfig, udev
|
2014-05-26 17:29:53 +00:00
|
|
|
}:
|
2013-04-11 23:58:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "plymouth-${version}";
|
2014-05-26 17:29:53 +00:00
|
|
|
version = "0.9.0";
|
2013-04-11 23:58:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.freedesktop.org/software/plymouth/releases/${name}.tar.bz2";
|
2014-05-26 17:29:53 +00:00
|
|
|
sha256 = "0kfdwv179brg390ma003pmdqfvqlbybqiyp9fxrxx0wa19sjxqnk";
|
2013-04-11 23:58:38 +00:00
|
|
|
};
|
|
|
|
|
2014-05-26 17:29:53 +00:00
|
|
|
buildInputs = [
|
2015-03-04 21:02:09 +00:00
|
|
|
autoreconfHook cairo docbook_xsl gtk libdrm libpng
|
2014-05-26 17:29:53 +00:00
|
|
|
libxslt makeWrapper pango pkgconfig udev
|
|
|
|
];
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
sed -e "s#\$(\$PKG_CONFIG --variable=systemdsystemunitdir systemd)#$out/etc/systemd/system#g" \
|
|
|
|
-i configure.ac
|
|
|
|
'';
|
2013-04-11 23:58:38 +00:00
|
|
|
|
2015-03-04 21:02:09 +00:00
|
|
|
postPatch = ''
|
|
|
|
configureFlags="
|
|
|
|
--prefix=$out
|
|
|
|
--bindir=$out/bin
|
|
|
|
--sbindir=$out/sbin
|
|
|
|
--exec-prefix=$out
|
|
|
|
--libdir=$out/lib
|
|
|
|
--libexecdir=$out/lib
|
|
|
|
--sysconfdir=$out/etc
|
|
|
|
--localstatedir=/var
|
|
|
|
--with-log-viewer
|
|
|
|
--without-system-root-install
|
|
|
|
--without-rhgb-compat-link
|
|
|
|
--enable-tracing
|
|
|
|
--enable-systemd-integration
|
|
|
|
--enable-pango
|
|
|
|
--enable-gtk"
|
2013-04-11 23:58:38 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/Plymouth;
|
|
|
|
description = "A graphical boot animation";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2014-03-16 11:08:26 +00:00
|
|
|
platforms = platforms.linux;
|
2013-04-11 23:58:38 +00:00
|
|
|
};
|
|
|
|
}
|