hugin: revbump for glew, xlintify.

This commit is contained in:
Érico Rolim 2020-09-25 00:05:15 -03:00 committed by Érico Nogueira Rolim
parent 25da014076
commit 8adddec1f1

View file

@ -1,10 +1,9 @@
# Template file for 'hugin' # Template file for 'hugin'
pkgname=hugin pkgname=hugin
version=2019.2.0 version=2019.2.0
revision=2 revision=3
wrksrc="${pkgname}-${version}" wrksrc="${pkgname}-${version}"
build_style=cmake build_style=cmake
pycompile_module="hpi.py hsi.py"
pycompile_dirs="usr/share/hugin/data/plugins usr/share/hugin/data/plugins-templates" pycompile_dirs="usr/share/hugin/data/plugins usr/share/hugin/data/plugins-templates"
hostmakedepends="pkg-config exiftool swig gettext" hostmakedepends="pkg-config exiftool swig gettext"
makedepends="wxWidgets-gtk3-devel tiff-devel libpng-devel libopenexr-devel libgomp-devel makedepends="wxWidgets-gtk3-devel tiff-devel libpng-devel libopenexr-devel libgomp-devel
@ -27,13 +26,13 @@ else
fi fi
pre_configure() { pre_configure() {
# workaround for cmake to find wx-config-gtk3 # workaround for cmake to find wx-config-gtk3
# can be removed once there is only one 'wx-config' # can be removed once there is only one 'wx-config'
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
# cannot override wxWidgets_CONFIG_EXECUTABLE set in # cannot override wxWidgets_CONFIG_EXECUTABLE set in
# the cross toolchain file otherwise # the cross toolchain file otherwise
ln -s ${XBPS_WRAPPERDIR}/wx-config{-gtk3,} ln -s ${XBPS_WRAPPERDIR}/wx-config{-gtk3,}
else else
sed -i "1i\set(wxWidgets_CONFIG_EXECUTABLE wx-config-gtk3)" CMakeLists.txt sed -i "1i\set(wxWidgets_CONFIG_EXECUTABLE wx-config-gtk3)" CMakeLists.txt
fi fi
} }