# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtmultimedia
_pkgname=qtmultimedia-everywhere-src
pkgver=5.12.6
pkgrel=0
pkgdesc="Audio, video, radio, and camera libraries for Qt 5"
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="alsa-lib-dev gstreamer-dev gst-plugins-base-dev libxv-dev
	pulseaudio-dev qt5-qtbase-dev qt5-qtdeclarative-dev xorgproto-dev"
subpackages="$pkgname-dev"
source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	qmake
	make
}

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

sha512sums="e72768c9b392dcaaefafb63b26cdf1a44b554c545c3f42bd12b0817c251cd495291e06bda97fa303c522c2f34e0483db428684f4053db52753929c57fa257470  qtmultimedia-everywhere-src-5.12.6.tar.xz"