20 lines
689 B
Plaintext
20 lines
689 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: meson ninja libpthread-stubs libxkbcommon cairo pango icu egl-wayland
|
|
# 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
|
|
}
|