cruxports/imv/Pkgfile

20 lines
676 B
Plaintext

# Description: fast, lightweight image viewer for wayland and X11
# URL: https://git.sr.ht/~exec64/imv
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: egl-wayland icu libpthread-stubs libxkbcommon pango inih
# Optional: libjpeg-turbo libpng libtiff librsvg libfreeimage-lite xorg-libxcb
name=imv
version=4.3.1
release=1
source=(https://git.sr.ht/~exec64/$name/archive/v$version.tar.gz freeimagelite.patch)
renames=($name-$version.tar.gz SKIP)
build() {
cd $name-v$version
prt-get isinst libfreeimage-lite && patch -p1 < $SRC/freeimagelite.patch
meson --buildtype=release --prefix=/usr build
ninja -C build
DESTDIR=$PKG ninja -C build install
}