Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 1A9577811E3 for <~alpine/aports@lists.alpinelinux.org>; Fri, 14 Jan 2022 23:03:26 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpwn.com; s=key1; t=1642201405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=NzkVGVJz3gwDSiCWtbrZd4EjTep+H5yUl97COm/Eqog=; b=j4nFJjbrU1zvT0ZheFak/1fKfYp7TcnRRtyCdHnhR3GmAybL5QwOSdGv+4OorlZKEloUWP f37/8zL0xkOYKfv5nBqzt4ZTNaUnIwYarMpzb4R+1s0bxRGP/iqOPmfQQKtJsjrMA2PwQf VcIt4LxxCVwEWpsOuxBwZKYH5PFrXYDUHvBvvlE3djkyUhCq0uZnecZsu34iz57Oo07eNt JSg4754s9JWC1sJ9AQjKqcV5j+NimPERyHSeNzAtmpr35N/9vbZJ48Q1TM8wJT+/x/92cH wtVU0S3Ppdw5BGwpwRdMTEIvrL+2RQw9RAA5uHFpV65IuvwlExh+XTFAFx7A+g== From: Drew DeVault To: ~alpine/aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [PATCH] community/imv: re-enable riscv64 et al Date: Fri, 14 Jan 2022 23:03:23 +0000 Message-Id: <20220114230324.15317-1-sir@cmpwn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: cmpwn.com --- community/imv/APKBUILD | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/community/imv/APKBUILD b/community/imv/APKBUILD index 1958f90a92..61a688c2b7 100644 --- a/community/imv/APKBUILD +++ b/community/imv/APKBUILD @@ -1,11 +1,10 @@ # Maintainer: Drew DeVault pkgname=imv pkgver=4.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Image viewer for X11/Wayland" url="https://sr.ht/~exec64/imv" -# s390x, mips64 and riscv64 blocked by librsvg -arch="all !s390x !mips64 !riscv64" +arch="all" license="MIT" makedepends=" meson @@ -13,7 +12,6 @@ makedepends=" fontconfig-dev freeimage-dev sdl2_ttf-dev - librsvg-dev wayland-dev mesa-dev libxkbcommon-dev @@ -31,6 +29,16 @@ source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~exec64/imv/archive/v$pkgver. " builddir="$srcdir/$pkgname-v$pkgver" +case $CARCH in + s390x|mips64|riscv64) + _rsvg="" + ;; + *) + makedepends="$makedepends librsvg-dev" + _rsvg="-Dlibrsvg=enabled" + ;; +esac + build() { abuild-meson \ -Dwindows=all \ @@ -40,9 +48,9 @@ build() { -Dlibtiff=disabled \ -Dlibpng=disabled \ -Dlibjpeg=disabled \ - -Dlibrsvg=enabled \ -Dlibnsgif=disabled \ -Dlibheif=disabled \ + $_rsvg \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } -- 2.34.1