mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
python-PyQt4: nocross as I can't fix it
This commit is contained in:
parent
79e3701175
commit
e61cb1bfb6
1 changed files with 6 additions and 1 deletions
|
@ -16,6 +16,11 @@ license="GPL-3"
|
|||
distfiles="${SOURCEFORGE_SITE}/pyqt/PyQt4_gpl_x11-${version}.tar.gz"
|
||||
checksum=45d724461ae58b019b9be95076ca07e212eb73084aec9125bb254825c3a05383
|
||||
alternatives="pyqt4:pyuic4:/usr/bin/python2-pyuic4"
|
||||
nocross="FIXME: Fails to detect the cross Qt4 version details"
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt-devel"
|
||||
fi
|
||||
|
||||
pre_build() {
|
||||
mkdir -p pyqt4-${py2_ver}
|
||||
|
@ -30,7 +35,7 @@ do_build() {
|
|||
for pyver in $py2_ver $py3_ver; do
|
||||
cd $wrksrc/pyqt4-$pyver
|
||||
python${pyver} configure-ng.py --confirm-license --assume-shared \
|
||||
--qmake=/usr/lib/qt/bin/qmake \
|
||||
--qmake=/usr/lib/qt/bin/qmake --verbose \
|
||||
CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
|
||||
LINK="${CXX}" LINK_SHLIB="${CXX}" LFLAGS="${LDFLAGS}" STRIP=""
|
||||
find -name Makefile -exec sed -i "{}" \
|
||||
|
|
Loading…
Add table
Reference in a new issue