9978e00086
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template' | xargs -r sed -i '/^patch_args=/d'
37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template file for 'geeqie'
|
|
pkgname=geeqie
|
|
version=1.6
|
|
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="Martin Tournoij <martin@arp242.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.geeqie.org"
|
|
changelog="http://www.geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blob_plain;f=NEWS;hb=HEAD"
|
|
distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
|
|
checksum="48f8a4474454d182353100e43878754b76227f3b8f30cfc258afc9d90a4e1920"
|
|
|
|
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
|
|
# The shipped configure doesn't have the code path
|
|
# for generating gtk+3 cflags and ldflags
|
|
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \
|
|
-e '/CATOBJEXT=/s/\.mo/.gmo/' \
|
|
configure
|
|
}
|
|
|
|
do_build() {
|
|
make ${makejobs} CFLAGS="${CFLAGS}"
|
|
}
|