aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gstreamermm/APKBUILD
blob: 0dc135c00c30822472eef5039e52fbc0970bc2c5 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gstreamermm
pkgver=1.8.0
pkgrel=1
pkgdesc="C++ interface for GStreamer"
url="http://gstreamer.freedesktop.org/bindings/cplusplus.html"
arch="all"
license="LGPL"
makedepends="glibmm-dev gst-plugins-base-dev"
checkdepends="gtest-dev"
options="!check"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gstreamermm/${pkgver%.[0-9]*}/$pkgname-$pkgver.tar.xz
	gst-audioclock.patch
	"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	export CXXFLAGS="$CXXFLAGS -std=c++11"
	./configure --prefix=/usr
	make
}

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

check() {
	cd "$builddir"
	make check
}
sha512sums="4d458c8a2efde683dabd00308ddde6fbf732788fb9282cb2eeab9f3a01dc9b4a03bfbbe9991cd50ef3092cec861034b3a34a6c5e364582dbfc6b1a0d5bb935fe  gstreamermm-1.8.0.tar.xz
6c0db61bbfe849b5829663b7caccb883bba698c89350003dba6a020b83a8491cafecff1c444d85e4f27c91f8106dfa503e02aed4c61a19e7aed3fdc2e62b6b74  gst-audioclock.patch"