# Maintainer: Zach van Rijn pkgname=qt5-qtwebglplugin _pkgname=${pkgname#*-}-everywhere-src pkgver=5.15.3_git20201027 pkgrel=0 _commit=550a8cee241bbf8c11863dec9587d579dcb1108b pkgdesc="Qt5 QPA plugin for running an application via a browser using streamed WebGL commands" url="https://www.qt.io/" arch="all" license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0" depends="" makedepends="qt5-qtbase-dev qt5-qtwebsockets-dev" subpackages="$pkgname-dev" source="https://invent.kde.org/qt/qt/${pkgname#*-}/-/archive/$_commit/${pkgname#*-}-$_commit.tar.gz" builddir="$srcdir"/${pkgname#*-}-$_commit prepare() { default_prepare # Make configure think we are running in a git directory # This makes it symlink the include files to the right directory mkdir .git } build() { qmake make } check() { make check } package() { make install INSTALL_ROOT="$pkgdir" } sha512sums="0336f992e1b8cc5457a1641f79c9d95a2c133c1644a86856cb077d6500aa73f7052533c235eddb742ea0a7efe75aefabe8cc776fd47a151136509cb7493f3061 qtwebglplugin-550a8cee241bbf8c11863dec9587d579dcb1108b.tar.gz"