summaryrefslogtreecommitdiff
path: root/user/qt5-qtmultimedia/APKBUILD
blob: cf71e6071e5b108a3e09eb89aee9931a058a8504 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtmultimedia
_pkgname=qtmultimedia-opensource-src
pkgver=5.9.6
pkgrel=0
pkgdesc="Qt 5 - Audio, video, radio, and camera libraries"
url="https://www.qt.io/"
arch="all"
license="LGPL-2.0 with exceptions OR GPL-3.0 with exceptions"
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() {
	cd "$builddir"
	qmake
	make
}

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

sha512sums="2d5f1341ef1f2d7e99ced28945f70b283630ce4ed9ac968c34ffc7d215c59a9b895681ee519aca64fe8a41ae574577ce834e486281db7e1f337245f9b6506207  qtmultimedia-opensource-src-5.9.6.tar.xz"