aboutsummaryrefslogtreecommitdiffstats
path: root/community/gst-editing-services/APKBUILD
blob: 6e5caac888239ab87fadad8dd36e29126cff2529 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gst-editing-services
pkgver=1.16.2
pkgrel=0
pkgdesc="GStreamer Editing Services Library"
url="https://gstreamer.freedesktop.org"
arch="all !s390x !mips !mips64" # 7 Tests fail
license="LGPL-2.0-or-later"
makedepends="gstreamer-dev gtk-doc python3 gobject-introspection-dev py3-gobject3-dev
	glib-dev gst-plugins-good gst-plugins-bad-dev gst-plugins-base-dev
	libxml2-dev flex perl automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://gstreamer.freedesktop.org/src/gst-editing-services/gstreamer-editing-services-$pkgver.tar.xz"
builddir="$srcdir/gstreamer-editing-services-$pkgver"

prepare() {
	default_prepare

	# https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/70
	case "$CARCH" in
		x86_64) ;;
		*)
			sed '/ges\/layer/d' -i tests/check/Makefile.am
			;;
	esac

	autoreconf -ivf
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="5c0d4499f02fcc11a2f99e1629971e2df3e23717bf53896b437a5e1fdd451661e8aef61b6270ebd5a5e0173e53c947e62554764de0cd4f692e444238ca64fb66  gstreamer-editing-services-1.16.2.tar.xz"