void-packages/srcpkgs/geeqie/template

30 lines
932 B
Bash

# Template file for 'geeqie'
pkgname=geeqie
version=1.4
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=5c583a165573ec37874c278f9dc57e73df356b30e09a9ccac3179dd5d97e3e32
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
# Remove -Werror (gcc changes may add new warnings)
sed -e '/CFLAGS/s/-Werror //g' -i configure.in
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}