APKBUILD 1.1 KB
Newer Older
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtmultimedia
3
_pkgname=${pkgname/qt5-//}-everywhere-src
4
pkgver=5.12.5
5 6
_ver=${pkgver/_p/-}
_ver=${_ver/_/-}
7
_ver=${_ver/beta0/beta}
8
_ver=${_ver/rc0/rc}
9 10
_v=${_ver/rc/RC}
pkgrel=1
11 12
pkgdesc="Qt5 - Multimedia support"
url="http://qt-project.org/"
13 14
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
15
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev
16
	alsa-lib-dev libxv-dev gstreamer-dev gst-plugins-base-dev"
17
subpackages="$pkgname-dev"
18

19
case $pkgver in
20
*_beta*|*_rc*) _rel=development_releases;;
21 22
*) _rel=official_releases;;
esac
23
source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtmultimedia-everywhere-src-$_v.tar.xz"
24

25
builddir="$srcdir/$_pkgname-${_v%-*}"
26 27

build() {
28
	qmake-qt5 && make
29 30
}

31 32 33
check() {
	make check
}
34
package() {
35
	make install INSTALL_ROOT="$pkgdir"
36 37
}

38
sha512sums="a59983d887c8de462399fd53beb640c1b865c17f8b1a83635c2e1d27903861dd588eb64935d7c02d733c51c9a21174065e70a5fc1aa78600e5540c489b7695a3  qtmultimedia-everywhere-src-5.12.5.tar.xz"