geany-plugins: update to 1.33.0.

This commit is contained in:
Jasper Chan 2018-08-18 21:24:36 -07:00
parent 04bb6f7ddf
commit 1cf6042b5b

View file

@ -1,7 +1,7 @@
# Template file for 'geany-plugins'
pkgname=geany-plugins
version=1.33.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-all-plugins"
hostmakedepends="automake gettext-devel intltool libtool pkg-config vala
@ -17,13 +17,22 @@ distfiles="https://github.com/geany/${pkgname}/archive/${version}.tar.gz>${pkgna
checksum=e889073b573452c91b4d3d87ce45bd4bb57f63e4cde03dea25b6304c5a89bf55
pre_configure() {
# Force python2.7 (configure seems to find the python3 libs for some reason)
rm /usr/bin/python
ln -s python2 /usr/bin/python
NOCONFIGURE=1 ./autogen.sh
if [ "$CROSS_BUILD" ]; then
# Use cross prefix for python
sed -e "s;-L\$ac_python_libdir;-L${XBPS_CROSS_BASE}/usr/lib;g" \
-e "s;PYTHON_CPPFLAGS=\$python_path;PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7;g" -i configure
else
sed -e "s;-L\$ac_python_libdir;-L/usr/lib;g" \
-e "s;PYTHON_CPPFLAGS=\$python_path;PYTHON_CPPFLAGS=-I/usr/include/python2.7;g" -i configure
fi
}
pre_build() {