2022-02-05 15:39:19 -05:00
|
|
|
# Description: fast, lightweight image viewer for wayland and X11
|
|
|
|
# URL: https://git.sr.ht/~exec64/imv
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2022-06-14 15:35:00 -04:00
|
|
|
# Depends on: egl-wayland icu libpthread-stubs libxkbcommon pango inih
|
2022-02-05 15:39:19 -05:00
|
|
|
# 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
|
|
|
|
}
|