blob: 317cc9a75c7855b0bfbd15d4d2bd03fe43324b37 (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtmultimedia
pkgver=5.4.0
_ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
_ver=${_ver/rc0/rc}
_V=${_ver/rc/RC}
pkgrel=0
pkgdesc="Qt5 - Multimedia support"
url="http://qt-project.org/"
arch="all"
license="LGPLv2 with exceptions or GPLv3 with exceptions"
depends=""
depends_dev=""
makedepends="$depends_dev qt5-qtbase-dev qt5-qtdeclarative-dev
alsa-lib-dev libxv-dev gstreamer0.10-dev gst-plugins-base0.10-dev"
install=""
subpackages="$pkgname-dev"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtmultimedia-opensource-src-$_V.tar.xz"
_builddir="$srcdir"/qtmultimedia-opensource-src-$_V
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
qmake && make || return 1
}
package() {
cd "$_builddir"
make install INSTALL_ROOT="$pkgdir" || return 1
rm "$pkgdir"/usr/lib/*.la
}
md5sums="3a6a415813b54a54cf283a5e2906e012 qtmultimedia-opensource-src-5.4.0.tar.xz"
sha256sums="5ab9dba27ae64123f2d0124b6884da276d8982aa959d65aa44125f758ef9af51 qtmultimedia-opensource-src-5.4.0.tar.xz"
sha512sums="200c86725cf40afcf3ec62ff0d6dd231db913c83bef3a2a76248d465f5cf093c86eee840b97c644cf26b223acb88118d4ee5c519ac0819ba3567ffbad986744c qtmultimedia-opensource-src-5.4.0.tar.xz"
|