aboutsummaryrefslogtreecommitdiffstats
path: root/community/imv/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/imv/APKBUILD')
-rw-r--r--community/imv/APKBUILD29
1 files changed, 20 insertions, 9 deletions
diff --git a/community/imv/APKBUILD b/community/imv/APKBUILD
index c09a9ffc32..cf125d8fad 100644
--- a/community/imv/APKBUILD
+++ b/community/imv/APKBUILD
@@ -1,12 +1,13 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=imv
-pkgver=4.1.0
-pkgrel=3
+pkgver=4.2.0
+pkgrel=0
pkgdesc="Image viewer for X11/Wayland"
url="https://github.com/eXeC64/imv"
arch="all !s390x !mips !mips64" # librsvg
license="MIT"
makedepends="
+ meson
asciidoc
fontconfig-dev
freeimage-dev
@@ -17,6 +18,7 @@ makedepends="
libxkbcommon-dev
glu-dev
pango-dev
+ inih-dev
"
checkdepends="
cmocka
@@ -26,18 +28,27 @@ subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/eXeC64/imv/archive/v$pkgver.tar.gz"
build() {
- case "$CARCH" in
- ppc64le) export CFLAGS="$CFLAGS -U__ALTIVEC__";;
- esac
- make
+ abuild-meson \
+ -Dwindows=all \
+ -Dtest=enabled \
+ -Dman=enabled \
+ -Dfreeimage=enabled \
+ -Dlibtiff=disabled \
+ -Dlibpng=disabled \
+ -Dlibjpeg=disabled \
+ -Dlibrsvg=enabled \
+ -Dlibnsgif=disabled \
+ -Dlibheif=disabled \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
- make check
+ meson test --no-rebuild -v -C output
}
package() {
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
-sha512sums="92d7551bda55185b29724e90230dac608a82f4a45cd3cb9c7a5d261f65eede6dcdde78f5c16eecfc1242533ec8e155204189fab3cacf31ddc088707af5131b2a imv-4.1.0.tar.gz"
+sha512sums="7b64c6d4e5e484fd2ef4e28e2ba5cc74e4d28f8e2fa329ae7c744bd77ce8a345123f9cc3c77e015ff780938d5add97cfe9ed4e5a3a52b03a91b7bb6bb50e7115 imv-4.2.0.tar.gz"