From 69424d4142b0915b5a850e62e1c713b81b66cf6d Mon Sep 17 00:00:00 2001 From: Daniel Santana Date: Fri, 1 Jun 2018 01:16:51 -0300 Subject: [PATCH] plymouth: add gtk3 and pango build options --- srcpkgs/plymouth/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/plymouth/template b/srcpkgs/plymouth/template index 8071db942de..f63ff9b14a4 100644 --- a/srcpkgs/plymouth/template +++ b/srcpkgs/plymouth/template @@ -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 " @@ -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"