author | Antonio Rojas
<arojas@archlinux.org> 2016-06-16 18:12:53 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2016-06-16 18:12:53 UTC |
parent | 548e4582ae58433e284cda4205d0eedaef2427f9 |
PKGBUILD | +9 | -9 |
diff --git a/PKGBUILD b/PKGBUILD index 9d098a0..0bfb8b1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,34 +3,34 @@ # Contributor: Andrea Scarpino <andrea@archlinux.org> pkgname=qt5-wayland -_qtver=5.6.1 +_qtver=5.7.0 pkgver=${_qtver/-/} pkgrel=1 arch=('i686' 'x86_64') url='http://qt-project.org/' license=('GPL3' 'LGPL' 'FDL' 'custom') pkgdesc='Provides APIs for Wayland' -depends=('qt5-base' 'libxcomposite' 'libxkbcommon') -makedepends=() -conflicts=('qt') +depends=('qt5-declarative' 'libxcomposite') groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}" source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -md5sums=('5b7654c9a909eb0de6c41796f16915ca') +md5sums=('2d2543a2564ee1b5db9f25dca9cc2e3b') prepare() { mkdir -p build } build() { - cd build - - qmake ../${_pkgfqn} +# cd build + cd ${_pkgfqn} # out-of-tree build fails https://bugreports.qt.io/browse/QTBUG-54148 +# qmake ../${_pkgfqn} + qmake . make } package() { - cd build +# cd build + cd ${_pkgfqn} make INSTALL_ROOT="$pkgdir" install # Drop QMAKE_PRL_BUILD_DIR because reference the build dir