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
1 changed files with 10 additions and 11 deletions

View File

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