You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
676 B

# Description: fast, lightweight image viewer for wayland and X11
# URL:
# 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
source=($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