# Description: Gtk+ based image viewer
# URL: http://geeqie.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: gtk3

name=geeqie
version=2.4
release=1
source=(https://github.com/BestImageViewer/geeqie/releases/download/v$version/$name-$version.tar.xz)

build() {
	meson setup build $name-$version \
		--prefix=/usr \
		--buildtype=plain \
		--wrap-mode nodownload \
		-D b_lto=true \
		-D b_pie=true

	meson compile -C build -j ${JOBS:-1}
	DESTDIR=$PKG meson install -C build

	rm -r $PKG/usr/share/{doc,locale,metainfo}
}
