2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=qt5-qtwayland
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgver=5.9.2
|
2017-11-29 23:29:26 +00:00
|
|
|
pkgrel=1
|
2017-08-03 20:14:04 +00:00
|
|
|
arch="all"
|
|
|
|
url='http://qt-project.org/'
|
2017-11-26 17:08:10 +00:00
|
|
|
license="GPL-3.0 GPL-2.0 LGPL-3.0"
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc='Provides APIs for Wayland'
|
2017-11-29 23:29:26 +00:00
|
|
|
depends="qt5-qtdeclarative libxcomposite wayland qt5-qtquickcontrols2"
|
2017-11-26 17:08:10 +00:00
|
|
|
depends_dev="qt5-qtbase-dev"
|
2017-11-29 23:29:26 +00:00
|
|
|
makedepends="$depends_dev libxkbcommon-dev qt5-qtquickcontrols2-dev"
|
|
|
|
source="http://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${pkgname/qt5-/}-opensource-src-$pkgver.tar.xz
|
|
|
|
0003-QtKeyExtensionGlobal-fix-export.patch"
|
2017-11-26 17:08:10 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
|
|
builddir="$srcdir/${pkgname/qt5-/}-opensource-src-$pkgver"
|
|
|
|
options="!check"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
qmake-qt5
|
2017-08-03 20:14:04 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
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
|
2017-11-26 17:08:10 +00:00
|
|
|
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
|
2017-08-03 20:14:04 +00:00
|
|
|
}
|
2017-11-29 23:29:26 +00:00
|
|
|
sha512sums="28b6f77be5289cb9eba0e3e6b220d2c99d2ab4dbae8e02caecd7651b5ae33c09f117545664b01649ca52b27025cc15853806ece8dc10713c3d90832416c7def6 qtwayland-opensource-src-5.9.2.tar.xz
|
|
|
|
2e081b0bd66d4f3865a96a53df45fcd04f61a2a951be89ed46405b35a334b4900be1cd834b583c6dca4bfb75ed816aaab8a2d536962922505c30e48fdc3b394d 0003-QtKeyExtensionGlobal-fix-export.patch"
|