diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 12 insertions, 6 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Apr 12 07:24:50 UTC 2017 +# Mon Jun 5 08:21:39 UTC 2017 pkgbase = qml-box2d-git pkgdesc = Box2D QML bindings pkgver = 2.3.2 - pkgrel = 2 + pkgrel = 3 url = https://github.com/qml-box2d/qml-box2d/blob/master/README arch = any license = GPL @@ -10,7 +10,7 @@ if [[ -z $_piver ]] && [[ -n $LOCAL_PI_VER ]]; then fi if [[ -n "$_piver" ]]; then - _qmake="/opt/qt-sdk-raspberry-pi${_piver}/bin/qmake" + _qmake="/opt/qt-sdk-minimal-raspberry-pi${_piver}/bin/qmake" fi # Uncomment for a debug build @@ -19,17 +19,23 @@ fi _pkgname=qml-box2d pkgname=${_pkgname}-git pkgver=2.3.2 -pkgrel=2 +pkgrel=3 pkgdesc='Box2D QML bindings' arch=('any') url='https://github.com/qml-box2d/qml-box2d/blob/master/README' license=('GPL') -depends=('qt5-declarative') -makedepends=('gcc' 'qt5-base') source=("git://github.com/qml-box2d/qml-box2d") sha256sums=('SKIP') options=('!strip') +if [[ -n "$_piver" ]]; then + depends=('qt-sdk-raspberry-pi-target-libs') + makedepends=("qt-sdk-minimal-raspberry-pi${_piver}") +else + depends=('qt5-declarative') + makedepends=('gcc' 'qt5-base') +fi + build() { cd "$srcdir/$_pkgname" ${_qmake} |