telepathy-qt5: fix cross
This commit is contained in:
parent
e73017578d
commit
f325a5a903
2 changed files with 12 additions and 0 deletions
|
@ -2072,6 +2072,7 @@ libphonon4qt5.so.4 phonon-qt5-4.8.3_1
|
|||
libphonon4qt5experimental.so.4 phonon-qt5-4.8.3_1
|
||||
libtelepathy-qt5.so.0 telepathy-qt5-0.9.5_1
|
||||
libtelepathy-qt5-farstream.so.0 telepathy-qt5-farstream-0.9.5_1
|
||||
libtelepathy-qt5-service.so.0 telepathy-qt5-farstream-0.9.7_1
|
||||
libKF5Attica.so.5 attica-qt5-5.6.0_1
|
||||
libechonest5.so.2.3 libechonest-qt5-2.3.0_1
|
||||
liblastfm_fingerprint5.so.1 liblastfm-qt5-1.0.9_1
|
||||
|
|
|
@ -18,6 +18,17 @@ homepage="http://telepathy.freedesktop.org/"
|
|||
distfiles="http://telepathy.freedesktop.org/releases/${pkgname//5/}/${pkgname//5/}-${version}.tar.gz"
|
||||
checksum=21bad30be7ebc4ba667d53d92cd1cec1be23114103f2149404d9740721693d4f
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-host-tools qt5-devel"
|
||||
# cmake/FindPythonLibrary.cmake fails when cross compiling
|
||||
sed -i CMakeLists.txt -e "/find_package(PythonLibrary ${REQUIRED_PY} REQUIRED)/d"
|
||||
configure_args+=" -DPYTHON_SHORT_VERSION=2.7"
|
||||
configure_args+=" -DPYTHON_LONG_VERSION=2.7.3"
|
||||
configure_args+=" -DPYTHON_SITE_PACKAGES_DIR=${XBPS_CROSS_BASE}/usr/lib/python2.7/site-packages"
|
||||
configure_args+=" -DPYTHON_INCLUDE_PATH=${XBPS_CROSS_BASE}/usr/include/python2.7"
|
||||
configure_args+=" -DCMAKE_PYTHON_LIBRARIES=${XBPS_CROSS_BASE}/usr/lib"
|
||||
fi
|
||||
|
||||
CXXFLAGS="-D_DEFAULT_SOURCE"
|
||||
|
||||
subpackages="telepathy-qt5-farstream telepathy-qt5-devel"
|
||||
|
|
Loading…
Reference in a new issue