# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtgraphicaleffects
_pkgname=qtgraphicaleffects-everywhere-src
pkgver=5.12.9
pkgrel=0
pkgdesc="Pre-made visual effects for QML"
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-qtdeclarative-dev"
source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz"

_qt5_prefix=/usr/lib/qt5
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	qmake
	make
}

check() {
	make check
}

package() {
	make install INSTALL_ROOT="$pkgdir"
}

sha512sums="ab20fd691dc4f3ffd2f7b167aa4189b8ee1f65167ce433ecb5e44b9d0db254c7626ae6e6bcc361ca45fb141ffa2bb575942bcdc531a2f7a433aacc30a41c068c  qtgraphicaleffects-everywhere-src-5.12.9.tar.xz"