summaryrefslogblamecommitdiff
path: root/user/qt5-qtwebview/APKBUILD
blob: fd0e5ee6215d3885f71a911de16334bbf2cf3471 (plain) (tree)





































                                                                                                                                                                                                        
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=qt5-qtwebview
_pkgname=${pkgname#*-}-everywhere-src
pkgver=5.15.3_git20201027
pkgrel=0
_commit=920de5f1cd9f9001cfef1bfd2c19e6720793362f
pkgdesc="Qt5 WebView provides a way to display web content in a QML application without necessarily including a full web browser stack"
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"
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="ebfdf785f64649c26576a7871553cd5550cbc86a84a86b6c5b3f2e206b70007125192027d5899f95c27479d7880ee57b5d2d39d2e46779c5376ea6ebcd9751a7  qtwebview-920de5f1cd9f9001cfef1bfd2c19e6720793362f.tar.gz"