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-12-23 08:52:45 -05:00
|
|
|
# Depends on: icu libpthread-stubs libxkbcommon pango inih
|
2023-01-09 14:51:35 -05:00
|
|
|
# Optional: libjpeg-turbo libpng libtiff librsvg libfreeimage-lite egl-wayland xorg-libxcb asciidoc
|
2022-02-05 15:39:19 -05:00
|
|
|
|
|
|
|
name=imv
|
2024-04-09 14:48:20 -04:00
|
|
|
version=4.5.0
|
2022-02-05 15:39:19 -05:00
|
|
|
release=1
|
|
|
|
source=(https://git.sr.ht/~exec64/$name/archive/v$version.tar.gz freeimagelite.patch)
|
|
|
|
renames=($name-$version.tar.gz SKIP)
|
|
|
|
|
|
|
|
build() {
|
2023-02-10 20:48:16 -05:00
|
|
|
cd $name-v$version
|
|
|
|
|
|
|
|
prt-get isinst libfreeimage-lite && patch -p1 -i $SRC/freeimagelite.patch
|
|
|
|
prt-get isinst asciidoc && MAN_IMV="-D man=enabled" || MAN_IMV="-D man=disabled"
|
|
|
|
|
|
|
|
meson setup build --buildtype=release --prefix=/usr $MAN_IMV
|
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
|
|
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2022-02-05 15:39:19 -05:00
|
|
|
}
|