void-packages/srcpkgs/geeqie/template
Jürgen Buchmüller 9e2ea242d5 geeqie: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:32 +02:00

32 lines
915 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"
CFLAGS="-Wno-error -fcommon"
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
}
do_build() {
make ${makejobs} CFLAGS="${CFLAGS}"
}