2014-05-26 19:29:53 +02:00
|
|
|
{ stdenv, fetchurl, autoconf, automake, cairo, docbook_xsl, gtk
|
|
|
|
, libdrm, libpng , libtool, libxslt, makeWrapper, pango, pkgconfig
|
|
|
|
, udev
|
|
|
|
}:
|
2013-04-12 01:58:38 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "plymouth-${version}";
|
2014-05-26 19:29:53 +02:00
|
|
|
version = "0.9.0";
|
2013-04-12 01:58:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.freedesktop.org/software/plymouth/releases/${name}.tar.bz2";
|
2014-05-26 19:29:53 +02:00
|
|
|
sha256 = "0kfdwv179brg390ma003pmdqfvqlbybqiyp9fxrxx0wa19sjxqnk";
|
2013-04-12 01:58:38 +02:00
|
|
|
};
|
|
|
|
|
2014-05-26 19:29:53 +02:00
|
|
|
buildInputs = [
|
|
|
|
autoconf automake cairo docbook_xsl gtk libdrm libpng libtool
|
|
|
|
libxslt makeWrapper pango pkgconfig udev
|
|
|
|
];
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
sed -e "s#\$(\$PKG_CONFIG --variable=systemdsystemunitdir systemd)#$out/etc/systemd/system#g" \
|
|
|
|
-i configure.ac
|
|
|
|
'';
|
2013-04-12 01:58:38 +02:00
|
|
|
|
|
|
|
configurePhase = ''
|
2013-04-15 20:15:47 +02:00
|
|
|
./configure \
|
2014-05-26 19:29:53 +02:00
|
|
|
--prefix=$out \
|
2013-04-15 20:15:47 +02:00
|
|
|
-bindir=$out/bin \
|
|
|
|
-sbindir=$out/sbin \
|
2013-04-12 01:58:38 +02:00
|
|
|
--exec-prefix=$out \
|
|
|
|
--libdir=$out/lib \
|
|
|
|
--libexecdir=$out/lib \
|
2014-05-26 19:29:53 +02:00
|
|
|
--sysconfdir=$out/etc \
|
2013-04-15 20:15:47 +02:00
|
|
|
--localstatedir=/var \
|
2014-05-26 19:29:53 +02:00
|
|
|
--with-log-viewer \
|
2013-04-15 20:15:47 +02:00
|
|
|
--without-system-root-install \
|
2014-05-26 19:29:53 +02:00
|
|
|
--without-rhgb-compat-link \
|
|
|
|
--enable-tracing \
|
|
|
|
--enable-systemd-integration \
|
|
|
|
--enable-pango \
|
2013-04-15 20:15:47 +02:00
|
|
|
--enable-gtk
|
2013-04-12 01:58:38 +02: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 12:08:26 +01:00
|
|
|
platforms = platforms.linux;
|
2013-04-12 01:58:38 +02:00
|
|
|
};
|
|
|
|
}
|