geany-plugins: update to 1.33.0.
This commit is contained in:
parent
04bb6f7ddf
commit
1cf6042b5b
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'geany-plugins'
|
# Template file for 'geany-plugins'
|
||||||
pkgname=geany-plugins
|
pkgname=geany-plugins
|
||||||
version=1.33.0
|
version=1.33.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-all-plugins"
|
configure_args="--enable-all-plugins"
|
||||||
hostmakedepends="automake gettext-devel intltool libtool pkg-config vala
|
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
|
checksum=e889073b573452c91b4d3d87ce45bd4bb57f63e4cde03dea25b6304c5a89bf55
|
||||||
|
|
||||||
pre_configure() {
|
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
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Use cross prefix for python
|
# Use cross prefix for python
|
||||||
sed -e "s;-L\$ac_python_libdir;-L${XBPS_CROSS_BASE}/usr/lib;g" \
|
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
|
-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
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue