libkeybinder2: explicitly use python2
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
@@ -11,7 +11,7 @@ makedepends="pygtk-devel $(vopt_if gir gobject-introspection)"
|
|||||||
short_desc="Library for registering global keyboard shortcuts (GTK+2)"
|
short_desc="Library for registering global keyboard shortcuts (GTK+2)"
|
||||||
maintainer="ShadowKyogre <shadowkyogre.public@gmail.com>"
|
maintainer="ShadowKyogre <shadowkyogre.public@gmail.com>"
|
||||||
homepage="https://github.com/engla/keybinder"
|
homepage="https://github.com/engla/keybinder"
|
||||||
license="GPL-2"
|
license="GPL-2.0-only"
|
||||||
distfiles="https://github.com/engla/keybinder/archive/v${version}.tar.gz"
|
distfiles="https://github.com/engla/keybinder/archive/v${version}.tar.gz"
|
||||||
checksum=6073bb5f626f75c4a6f25291b32673af02d47e735b56f9d471150d678ac0b5fa
|
checksum=6073bb5f626f75c4a6f25291b32673af02d47e735b56f9d471150d678ac0b5fa
|
||||||
|
|
||||||
@@ -20,11 +20,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
do_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -i "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
sed -i "s,\(PYTHON_INCLUDES\)=.*,\1=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
||||||
fi
|
fi
|
||||||
|
PYTHON=python2 ./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
libkeybinder2-devel_package() {
|
libkeybinder2-devel_package() {
|
||||||
|
|||||||
Reference in New Issue
Block a user