diff options
Diffstat (limited to 'plymouth/Pkgfile')
-rw-r--r-- | plymouth/Pkgfile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/plymouth/Pkgfile b/plymouth/Pkgfile new file mode 100644 index 000000000..002b33ece --- /dev/null +++ b/plymouth/Pkgfile @@ -0,0 +1,55 @@ +# Description: A graphical boot splash screen with kernel mode-setting support. +# URL: http://freedesktop.org/wiki/Software/Plymouth +# Maintainer: NuTyX core team +# Packager: piernov <piernov@piernov.org> +# Depends on: systemd, libdrm, pango +# Run on: systemd,libdrm,pango + +name=plymouth +version=0.8.6.1 +release=1 +source=(http://www.freedesktop.org/software/$name/releases/$name-$version.tar.bz2 + arch-logo.png + gdm-plymouth.service + kdm-plymouth.service + kdm-unpatched-plymouth.service + lxdm-plymouth.service + plymouthd.conf + system-release + systemd-unit-dir.patch) + +build() { + cd $name-$version + + # Change SYSTEMD_UNIT_DIR to /usr/lib/systemd/system + patch -p0 -i "$SRC/systemd-unit-dir.patch" + + sed -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:g' -i src/libply-splash-graphics/ply-image.c + + ./configure --prefix=/usr \ + --exec-prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --enable-tracing \ + --without-rhgb-compat-link \ + --with-gdm-autostart-file=yes \ + --with-logo=/usr/share/plymouth/arch-logo.png \ + --with-background-start-color-stop=0x000000 \ + --with-background-end-color-stop=0x4D4D4D \ + --enable-systemd-integration \ + --without-system-root-install + make + make DESTDIR=$PKG install + + install -Dm644 $SRC/arch-logo.png $PKG/usr/share/plymouth/arch-logo.png + install -Dm644 $SRC/system-release $PKG/etc/system-release + install -Dm644 $SRC/plymouthd.conf $PKG/etc/plymouth/plymouthd.conf + + # Plymouth<->systemd integration, units for DMs + install -Dm644 $SRC/kdm-plymouth.service $PKG/usr/lib/systemd/system/kdm-plymouth.service + install -Dm644 $SRC/gdm-plymouth.service $PKG/usr/lib/systemd/system/gdm-plymouth.service + install -Dm644 $SRC/lxdm-plymouth.service $PKG/usr/lib/systemd/system/lxdm-plymouth.service + install -Dm644 $SRC/kdm-unpatched-plymouth.service $PKG/usr/lib/systemd/system/kdm-unpatched-plymouth.service +} |