geeqie: update to 2.0.1.

This commit is contained in:
icp 2023-03-05 22:48:19 +05:30 committed by Michal Vasilek
parent eddda924aa
commit b0f508fe47
1 changed files with 10 additions and 31 deletions

View File

@ -1,37 +1,16 @@
# Template file for 'geeqie'
pkgname=geeqie
version=1.6
version=2.0.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"
build_style=meson
hostmakedepends="pkg-config gettext xxd gdk-pixbuf-devel glib-devel"
makedepends="gtk+3-devel glib-devel lcms2-devel exiv2-devel libheif-devel
imlib2-devel libjpeg-turbo-devel librsvg-devel libwebp-devel"
depends="desktop-file-utils"
short_desc="Lightweight GTK+ based image viewer"
maintainer="Martin Tournoij <martin@arp242.net>"
maintainer="icp <pangolin@vivaldi.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}"
}
homepage="https://www.geeqie.org"
changelog="https://raw.githubusercontent.com/BestImageViewer/geeqie/master/NEWS"
distfiles="https://github.com/BestImageViewer/geeqie/archive/refs/tags/v${version}.tar.gz"
checksum=6d87004a21b91afb7ea9eac3624fc37f5ccf1818fd40f567f8c7d1b5cbc2a6c7