libkeybinder2: explicitly use python2
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
5825dcda2f
commit
36bb09801e
1 changed files with 4 additions and 3 deletions
|
@ -11,7 +11,7 @@ makedepends="pygtk-devel $(vopt_if gir gobject-introspection)"
|
|||
short_desc="Library for registering global keyboard shortcuts (GTK+2)"
|
||||
maintainer="ShadowKyogre <shadowkyogre.public@gmail.com>"
|
||||
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"
|
||||
checksum=6073bb5f626f75c4a6f25291b32673af02d47e735b56f9d471150d678ac0b5fa
|
||||
|
||||
|
@ -20,11 +20,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
do_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
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
|
||||
PYTHON=python2 ./configure ${configure_args}
|
||||
}
|
||||
|
||||
libkeybinder2-devel_package() {
|
||||
|
|
Loading…
Reference in a new issue