Date: Friday, December 14, 2018 @ 09:41:45 Author: arojas Revision: 342110
archrelease: copy trunk to extra-x86_64 Added: qt5-wayland/repos/extra-x86_64/PKGBUILD (from rev 342109, qt5-wayland/trunk/PKGBUILD) Deleted: qt5-wayland/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 85 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 45 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-14 09:41:14 UTC (rev 342109) +++ PKGBUILD 2018-12-14 09:41:45 UTC (rev 342110) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> - -pkgname=qt5-wayland -_qtver=5.12.0 -pkgver=${_qtver/-/} -pkgrel=1 -arch=('x86_64') -url='http://qt-project.org/' -license=('GPL3' 'LGPL3' 'FDL' 'custom') -pkgdesc='Provides APIs for Wayland' -depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland is needed for nvidia-libgl users -groups=('qt' 'qt5') -_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" -source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('555c2d1b31733735d94c228f5f9183ea8216d61f85e30af08044763639d97ed7') - -prepare() { - mkdir -p build -} - -build() { - cd build - - qmake ../${_pkgfqn} - make -} - -package() { - cd build - - make INSTALL_ROOT="$pkgdir" install - - # Drop QMAKE_PRL_BUILD_DIR because reference the build dir - find "$pkgdir/usr/lib" -type f -name '*.prl' \ - -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; - - install -d "$pkgdir"/usr/share/licenses - ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} -} Copied: qt5-wayland/repos/extra-x86_64/PKGBUILD (from rev 342109, qt5-wayland/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-14 09:41:45 UTC (rev 342110) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-wayland +_qtver=5.12.0 +pkgver=${_qtver/-/} +pkgrel=2 +arch=('x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='Provides APIs for Wayland' +depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland is needed for nvidia-libgl users +groups=('qt' 'qt5') +_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" + qtbug-69077.patch::"http://code.qt.io/cgit/qt/qtwayland.git/patch/?id=1dc85b95") +sha256sums=('555c2d1b31733735d94c228f5f9183ea8216d61f85e30af08044763639d97ed7' + 'e4cef3faa5ea86f727cf388320585077cbebfd31b0d9f6a4131797ee5a0d61ac') + +prepare() { + mkdir -p build + + cd ${_pkgfqn} + patch -p1 -i ../qtbug-69077.patch # Fix qtwayland blocks in frame callback +} + +build() { + cd build + + qmake ../${_pkgfqn} + make +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir" install + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "$pkgdir/usr/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} +}