plymouth: add gtk3 and pango build options

This commit is contained in:
Daniel Santana 2018-06-01 01:16:51 -03:00 committed by Enno Boland
parent 8cffc36bcc
commit 69424d4142

View File

@ -1,16 +1,17 @@
# Template file for 'plymouth'
pkgname=plymouth
version=0.9.3
revision=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 \
--enable-gdm-transition $(vopt_enable gtk3 gtk) $(vopt_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"
makedepends="libdrm-devel libpng-devel void-artwork
$(vopt_if gtk3 gtk+3-devel) $(vopt_if pango pango-devel)"
depends="plymouth-data>=0"
short_desc="Graphical boot animation and logger"
maintainer="William OD <obirik2005@gmail.com>"
@ -19,6 +20,10 @@ license="GPL-2"
distfiles="${FREEDESKTOP_SITE}/plymouth/releases/$pkgname-$version.tar.xz"
checksum=9f8dd08a90ceaf6228dcd8c27759adf18fc9482f15b6c56dcbcced268b4e4a74
build_options="gtk3 pango"
build_options_default="gtk3 pango"
desc_option_pango="Enable building with Pango (for password/question prompts)"
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" musl-rpmatch-devel"
LDFLAGS="-lrpmatch"