summaryrefslogtreecommitdiff
path: root/pcr/plymouth-legacy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/plymouth-legacy/PKGBUILD')
-rw-r--r--pcr/plymouth-legacy/PKGBUILD106
1 files changed, 106 insertions, 0 deletions
diff --git a/pcr/plymouth-legacy/PKGBUILD b/pcr/plymouth-legacy/PKGBUILD
new file mode 100644
index 000000000..c09d745d5
--- /dev/null
+++ b/pcr/plymouth-legacy/PKGBUILD
@@ -0,0 +1,106 @@
+# Maintainer: David P. <megver83@openmailbox.org>
+# Contributor: Jesse Spangenberger <azulephoenix@gmail.com>
+# Contributor: Padfoot <padfoot@exemail.com.au>
+
+
+pkgname=plymouth-legacy
+_pkgname=plymouth
+pkgver=0.8.8
+pkgrel=4
+pkgdesc="A graphical boot splash screen with kernel mode-setting
+support. Legacy version since v9 is currently broken."
+url="http://www.freedesktop.org/wiki/Software/Plymouth/"
+
+arch=('i686' 'x86_64')
+license=('GPL')
+
+depends=('libdrm' 'pango' 'systemd')
+makedepends=('docbook-xsl' 'mesa')
+optdepends=('ttf-dejavu')
+
+options=('!libtool' '!emptydirs')
+
+provides=('plymouth')
+conflicts=('plymouth' 'plymouth-git')
+backup=('etc/plymouth/plymouthd.conf')
+
+source=("http://www.freedesktop.org/software/${_pkgname}/releases/${_pkgname}-${pkgver}.tar.bz2"
+ 'plymouth.encrypt_hook'
+ 'plymouth.encrypt_install'
+ 'gdm-plymouth.service'
+ 'kdm-plymouth.service'
+ 'lxdm-plymouth.service'
+ 'lightdm-plymouth.service'
+ 'slim-plymouth.service'
+ 'plymouth.initcpio_hook'
+ 'plymouth.initcpio_install'
+ 'plymouth-quit.service.in.patch'
+ 'plymouth-set-default-theme.in.patch'
+ 'plymouth-update-initrd.patch')
+
+md5sums=('38f5e613e5ab17806b950cee2d0d0d4e'
+ 'fbdd5d04e3089a214b9056357434df86'
+ '65eb269910f1b81e3f0970af456394ca'
+ '043410ebf89488602d4e5457f147e48b'
+ 'dcacff05835053242f52b9e375248ec3'
+ '22130f7e6b20d2a43dbed924de75180b'
+ '870ea3e63c6989e2badf79d1fbafa914'
+ 'fb2eb948e2198cfb54cc2b710a05ee61'
+ '07e248948955a74885db7703c742a49d'
+ 'a6dca3d57fd38b875d0520ec033dbf66'
+ '165a39dbedcc6e123c8ca05d5b4b2e25'
+ 'f79edbbb30c71b0dbcd102c7dd31660b'
+ '2d29644f1a0fc814e8566a5548014cca')
+
+prepare() {
+ cd "$srcdir"/${_pkgname}-${pkgver}
+
+ patch -p1 -i $srcdir/plymouth-set-default-theme.in.patch
+ patch -p1 -i $srcdir/plymouth-update-initrd.patch
+ patch -p1 -i $srcdir/plymouth-quit.service.in.patch
+
+ sed -i 's:\(SYSTEMD_UNIT_DIR=\):\1/usr:' configure
+}
+
+build() {
+ cd "$srcdir"/${_pkgname}-${pkgver}
+
+ LDFLAGS="$LDFLAGS -ludev" ./configure --prefix=/usr \
+ --exec-prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libdir=/usr/lib \
+ --libexecdir=/usr/lib \
+ --sbindir=/usr/bin \
+ --enable-systemd-integration \
+ --enable-drm \
+ --enable-tracing \
+ --enable-pango \
+ --enable-gtk=no \
+ --with-release-file=/etc/os-release \
+ --with-background-color=0x000000 \
+ --with-background-start-color-stop=0x000000 \
+ --with-background-end-color-stop=0x4D4D4D \
+ --without-rhgb-compat-link \
+ --without-system-root-install
+
+ make
+}
+
+package() {
+ cd "$srcdir"/${_pkgname}-${pkgver}
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/plymouth.encrypt_hook" "$pkgdir/usr/lib/initcpio/hooks/plymouth-encrypt"
+ install -Dm644 "$srcdir/plymouth.encrypt_install" "$pkgdir/usr/lib/initcpio/install/plymouth-encrypt"
+ install -Dm644 "$srcdir/plymouth.initcpio_hook" "$pkgdir/usr/lib/initcpio/hooks/plymouth"
+ install -Dm644 "$srcdir/plymouth.initcpio_install" "$pkgdir/usr/lib/initcpio/install/plymouth"
+
+for i in {gdm,kdm,lxdm,slim,lightdm}-plymouth.service; do
+ install -Dm644 "$srcdir/$i" "$pkgdir/usr/lib/systemd/system/$i"
+done
+
+cp "$pkgdir/usr/share/plymouth/plymouthd.defaults" "$pkgdir/etc/plymouth/plymouthd.conf"
+
+}