52 lines
1.4 KiB
Bash
52 lines
1.4 KiB
Bash
# Template file for 'plymouth'
|
|
pkgname=plymouth
|
|
version=0.9.3
|
|
revision=2
|
|
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.xz"
|
|
checksum=9f8dd08a90ceaf6228dcd8c27759adf18fc9482f15b6c56dcbcced268b4e4a74
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" musl-rpmatch-devel"
|
|
LDFLAGS="-lrpmatch"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/71-plymouth-seat.rules 644 usr/lib/udev/rules.d/
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|