hugin: use cmake-wxWidgets-gtk3 build_helper
This commit is contained in:
parent
bfd28ea29c
commit
7398436b6c
1 changed files with 1 additions and 12 deletions
|
@ -4,6 +4,7 @@ version=2020.0.0
|
|||
revision=2
|
||||
wrksrc="${pkgname}-${version}"
|
||||
build_style=cmake
|
||||
build_helper=cmake-wxWidgets-gtk3
|
||||
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
|
||||
|
@ -24,15 +25,3 @@ if [ "$CROSS_BUILD" ]; then
|
|||
else
|
||||
makedepends+=" flann-devel"
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue