summaryrefslogtreecommitdiff
path: root/pcr/plymouth/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@openmailbox.org>2017-03-22 11:10:24 -0300
committerDavid P <megver83@openmailbox.org>2017-03-22 11:10:24 -0300
commit8222e4f10d701a4a52c62f95de3573d1c904d249 (patch)
tree386b9a4a93d0502a0f4759c8296d1996490250a8 /pcr/plymouth/PKGBUILD
parent62526bc1720fdacef644e905ba4a3bd2200e512f (diff)
Added plymouth
Diffstat (limited to 'pcr/plymouth/PKGBUILD')
-rw-r--r--pcr/plymouth/PKGBUILD110
1 files changed, 110 insertions, 0 deletions
diff --git a/pcr/plymouth/PKGBUILD b/pcr/plymouth/PKGBUILD
new file mode 100644
index 000000000..b08314110
--- /dev/null
+++ b/pcr/plymouth/PKGBUILD
@@ -0,0 +1,110 @@
+# Maintainer: David P. <megver83@openmailbox.org>
+# Contributor: Sebastian Lau <lauseb644@gmail.com>
+# Contributor Damian01w <damian01w@gmail.com>
+# Contributor: Padfoot <padfoot@exemail.com.au>
+
+pkgname=plymouth
+pkgver=0.9.2
+pkgrel=12
+pkgdesc="A graphical boot splash screen with kernel mode-setting support"
+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-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'
+ 'lxdm-plymouth.service'
+ 'lightdm-plymouth.service'
+ 'slim-plymouth.service'
+ 'sddm-plymouth.service'
+ 'plymouth-deactivate.service'
+ 'plymouth-start.service'
+ 'plymouth-start.path'
+ 'plymouth.initcpio_hook'
+ 'plymouth.initcpio_install'
+ 'plymouth-quit.service.in.patch'
+ 'plymouth-set-default-theme.in.patch'
+ 'plymouth-update-initrd.patch')
+
+md5sums=('ff420994deb7ea203df678df92e7ab7d'
+ 'fbdd5d04e3089a214b9056357434df86'
+ '65eb269910f1b81e3f0970af456394ca'
+ 'ae6e97bb1104bb12cbca6738e3fb872d'
+ '1430ae2ec501d600f8f6771454dc9bbe'
+ '870ea3e63c6989e2badf79d1fbafa914'
+ 'a3cfc30df846b2d7057a29e7fbe8733a'
+ 'f803c315739f46128b99232d64c268ca'
+ '006847d16b852c7a50ee2f241fd9647e'
+ '78340207f7391c682601b1b36baed14d'
+ '672ad913e2383483bcb4599a0a6bee48'
+ '32f04fdbd1eb94ade30d1e63fdcdd9b5'
+ 'a6dca3d57fd38b875d0520ec033dbf66'
+ '165a39dbedcc6e123c8ca05d5b4b2e25'
+ 'f79edbbb30c71b0dbcd102c7dd31660b'
+ '0357775c16b5f90f1af485e6a4c80a9e')
+
+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
+}
+
+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,sddm,lxdm,slim,lightdm}-plymouth.service; do
+ install -Dm644 "$srcdir/$i" "$pkgdir/usr/lib/systemd/system/$i"
+ done
+
+ install -Dm644 "$srcdir/plymouth-deactivate.service" "$pkgdir/usr/lib/systemd/system/plymouth-deactivate.service"
+ install -Dm644 "$srcdir/plymouth-start.service" "$pkgdir/usr/lib/systemd/system/plymouth-start.service"
+ install -Dm644 "$srcdir/plymouth-start.path" "$pkgdir/usr/lib/systemd/system/plymouth-start.path"
+ install -Dm644 "$pkgdir/usr/share/plymouth/plymouthd.defaults" "$pkgdir/etc/plymouth/plymouthd.conf"
+}