From ec3479f43f42db37d0696bb04ad1e9fa009f2d45 Mon Sep 17 00:00:00 2001 From: yosh Date: Sat, 24 Jun 2023 14:12:39 -0500 Subject: [PATCH] ferium: fix base build, include GUI build option. --- srcpkgs/ferium/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ferium/template b/srcpkgs/ferium/template index 859e790f75d1..de04a7717bb8 100644 --- a/srcpkgs/ferium/template +++ b/srcpkgs/ferium/template @@ -1,9 +1,11 @@ # Template file for 'ferium' pkgname=ferium version=4.4.0 -revision=1 +revision=2 build_style=cargo build_helper=qemu +configure_args="--no-default-features $(vopt_if gui --features=gui)" +depends="$(vopt_if gui xdg-desktop-portal)" short_desc="CLI program for managing Minecraft mods and modpacks" maintainer="yosh " license="MPL-2.0" @@ -12,6 +14,9 @@ changelog="https://raw.githubusercontent.com/gorilla-devs/ferium/main/CHANGELOG. distfiles="https://github.com/gorilla-devs/ferium/archive/refs/tags/v${version}.tar.gz" checksum=a19b5ea7b12123ef68b2caf96a1c58025aa30d7e14e8c0dbfef44ffc01938045 +build_options="gui" +desc_option_gui="Use GUI file picker via xdg-desktop-portal" + post_install() { local ferium="${DESTDIR}/usr/bin/ferium" for shell in bash fish zsh; do