void-packages/srcpkgs/plymouth/template
Jürgen Buchmüller 96cd364ee1 New package: plymouth-0.8.8
Closes #4440
2016-07-08 01:40:36 +02:00

47 lines
1.3 KiB
Bash

# Template file for 'plymouth'
pkgname=plymouth
version=0.8.8
revision=1
hostmakedepends="pkg-config"
makedepends="pango-devel libdrm-devel"
depends="plymouth-data>=0"
short_desc="Graphical boot animation and logger"
maintainer="William OD <obirik2005@gmail.com>"
homepage="https://www.freedesktop.org/wiki/Software/Plymouth/"
license="GPL-2"
distfiles="${FREEDESKTOP_SITE}/plymouth/releases/$pkgname-$version.tar.bz2"
checksum=1bada4e1d3a31a5a99adc2db83f5452d9818839cda51a6e430f044f6281d759b
build_style=gnu-configure
configure_args="--with-system-root-install=no --without-rhgb-compat-link
--enable-systemd-integration=no --enable-gtk=no --enable-gdm-transition --enable-pango"
conf_files="/etc/plymouth/plymouthd.conf"
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" musl-rpmatch-devel"
LDFLAGS="-lrpmatch"
;;
esac
pre_install() {
vinstall $FILESDIR/void-logo.png 644 usr/share/plymouth/ bizcom.png
}
plymouth-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
vmove usr/lib/plymouth/*.a
}
}
plymouth-data_package() {
short_desc+=" - data files"
noarch=yes
pkg_install() {
vmove usr/share/plymouth/themes
}
}