diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-03-22 15:29:20 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-03-23 07:58:01 +0000 |
commit | 913ab399a3758b18030f549fce9c96e530678b4b (patch) | |
tree | 9f3fd784fd0510e20bf8d004174a120558a78c10 /testing/gstreamermm/APKBUILD | |
parent | 7a1d8ad654dc33c40ef173d862f53fc1adb91bf2 (diff) | |
download | aports-913ab399a3758b18030f549fce9c96e530678b4b.tar.bz2 aports-913ab399a3758b18030f549fce9c96e530678b4b.tar.xz |
testing/gstreamermm: new aport
Diffstat (limited to 'testing/gstreamermm/APKBUILD')
-rw-r--r-- | testing/gstreamermm/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/gstreamermm/APKBUILD b/testing/gstreamermm/APKBUILD new file mode 100644 index 0000000000..0d8f7b0300 --- /dev/null +++ b/testing/gstreamermm/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=gstreamermm +pkgver=1.4.3 +pkgrel=0 +pkgdesc="C++ interface for GStreamer" +url="http://gstreamer.freedesktop.org/bindings/cplusplus.html" +arch="all" +license="LGPL" +makedepends="glibmm-dev gst-plugins-base1-dev" +checkdepends="gtest-dev" +options="!check" +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/${pkgver%.[0-9]*}/$pkgname-$pkgver.tar.xz +fix-ftbfs.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="ea4d281a4f3b79113fc3a0474e23d82442facac6eaf66215de412310b9c306aa5d586ee5570087d94d90acbfc09c5766edba1414b50f0fd9a3111cda610f5671 gstreamermm-1.4.3.tar.xz +83636b6fe9f4438dfe1e4188ac62ba996b9ac575994406a234a2597f89a396f5cf4fda781f403308137e740e0215d01010e433bdce06aa896c767f50ab379017 fix-ftbfs.patch" |