void-packages/srcpkgs/plymouth/template

48 lines
1.3 KiB
Bash

# Template file for 'plymouth'
pkgname=plymouth
version=0.9.2
revision=3
build_style=gnu-configure
configure_args="--with-system-root-install=no \
--without-rhgb-compat-link --enable-systemd-integration=no \
--enable-gtk --enable-gdm-transition --enable-pango \
--with-logo=/usr/share/void-artwork/void-transparent.png --localstatedir=/ \
--disable-documentation"
conf_files="/etc/plymouth/plymouthd.conf"
hostmakedepends="pkg-config"
makedepends="pango-devel libdrm-devel gtk+3-devel void-artwork"
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=2f0ce82042cf9c7eadd2517a1f74c8a85fa8699781d9f294a06eade29fbed57f
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" musl-rpmatch-devel"
LDFLAGS="-lrpmatch"
;;
esac
plymouth-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.la
vmove usr/lib/pkgconfig
vmove usr/lib/plymouth/*.la
}
}
plymouth-data_package() {
short_desc+=" - data files"
noarch=yes
depends="void-artwork"
pkg_install() {
vmove usr/share/plymouth/themes
}
}