mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
58 lines
1.5 KiB
Text
58 lines
1.5 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=qt5-qtwayland
|
|
pkgver=5.15.3_git20210510
|
|
pkgrel=0
|
|
_commit="d5186701e27ad6f09f3944809cec2a25c5328026"
|
|
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
|
|
url="https://www.qt.io/developers/"
|
|
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
|
|
pkgdesc="Provides APIs for Wayland"
|
|
depends_dev="
|
|
libxcomposite-dev
|
|
libxkbcommon-dev
|
|
qt5-qtquickcontrols2-dev
|
|
wayland-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
qt5-qtbase-dev
|
|
qt5-qtdeclarative-dev
|
|
vulkan-headers
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
|
|
# Make sure this package is installed when a Qt application is installed and a
|
|
# Wayland session is available on the system
|
|
install_if="wayland-libs-client qt5-qtbase"
|
|
|
|
builddir="$srcdir/qtwayland-$_commit"
|
|
|
|
source="https://invent.kde.org/qt/qt/qtwayland/-/archive/$_commit/qtwayland-$_commit.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
# We need to make the build system think we're running in a git repository
|
|
# so it correctly symlinks during the build
|
|
mkdir .git
|
|
}
|
|
|
|
build() {
|
|
qmake-qt5
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
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' {} \;
|
|
}
|
|
sha512sums="
|
|
bbd8b427582e982c01a9510e8f4d6274639d757e428b8fdc09354cf359ec76baa56898dfbfb96f95d08acb1cf9fc93bf1fc8b831fd632e13d9ccee52295d6801 qtwayland-d5186701e27ad6f09f3944809cec2a25c5328026.tar.gz
|
|
"
|