aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gstreamermm/APKBUILD
blob: 18fc2b3e72e1a605eb2db30ceb27a84e67ac6c5c (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
32
33
34
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gstreamermm
pkgver=1.10.0
pkgrel=2
pkgdesc="C++ interface for GStreamer"
url="https://gstreamer.freedesktop.org/bindings/cplusplus.html"
arch="all"
license="LGPL"
makedepends="glibmm-dev gst-plugins-base-dev"
checkdepends="gtest-dev"
options="!check" #tests are broken
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/gstreamermm/${pkgver%.[0-9]*}/$pkgname-$pkgver.tar.xz
	"
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="34eeb9eec5958c96acf7c7791eef80138e5d55fea6ddf1bf9ace6b1ec7f052da2abf04d87089e4c9ead51c631ef7afceaf9fceb946ec3d105da522187c69e429  gstreamermm-1.10.0.tar.xz"