32 lines
993 B
Bash
32 lines
993 B
Bash
# Template file for 'geeqie'
|
|
pkgname=geeqie
|
|
version=1.5.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-gtk3"
|
|
hostmakedepends="automake pkg-config intltool glib-devel gtk+3-devel"
|
|
makedepends="gtk+3-devel exiv2-devel lcms2-devel librsvg-devel lua51-devel
|
|
ffmpegthumbnailer-devel"
|
|
depends="desktop-file-utils"
|
|
short_desc="Lightweight GTK+ based image viewer"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.geeqie.org/"
|
|
distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
|
|
checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
|
|
patch_args="-Np1"
|
|
|
|
post_extract() {
|
|
# Missing from release tarball, and requires git tree to generate
|
|
sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
|
|
}
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
# musl gives many warnings and stops compiling after many warnings
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
do_build() {
|
|
make CFLAGS="$CFLAGS -Wno-error"
|
|
}
|
|
fi
|