Commit 39606c42 authored by Leo's avatar Leo Committed by TBK
Browse files

community/imv: upgrade to 4.2.0

parent 79a3a9ce
Pipeline #68664 passed with stages
in 2 minutes and 40 seconds
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment