pmaports/main/qt5-qtwayland/APKBUILD
Oliver Smith 7dfb3b8d2b
main/qt5-*/APKBUILD: use double quotation marks in URL (!119)
Let pmbootstrap properly parse the package URLs, this is required for
the next commit where we start comparing the pkgver of all QT packages
- based on the URL like we do it for the KDE packages.
2018-12-30 20:53:46 +01:00

33 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtwayland
pkgver=5.12.0
pkgrel=0
arch="all"
url="http://qt-project.org/"
license="GPL-3.0 GPL-2.0 LGPL-3.0"
pkgdesc='Provides APIs for Wayland'
depends="qt5-qtdeclarative libxcomposite wayland qt5-qtquickcontrols2"
makedepends="$depends_dev libxkbcommon-dev qt5-qtquickcontrols2-dev qt5-qtbase-dev wayland-dev"
source="http://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${pkgname/qt5-/}-everywhere-src-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"
builddir="$srcdir/${pkgname/qt5-/}-everywhere-src-$pkgver"
options="!check"
build() {
qmake-qt5
make
}
package() {
cd "$builddir"
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
}
sha512sums="a6819a918a8249861253ca24109888c4af26e5a75b746d10a516c1abe5c685a2aed85f9a57832596480e89870d8f189ee63609df983ed826148a62f60fb823bc qtwayland-everywhere-src-5.12.0.tar.xz"