aboutsummaryrefslogtreecommitdiffstats
path: root/community/gst-plugins-ugly/APKBUILD
blob: af3040e27e2f1f17a7a740d4c691bf09f9ee8ab5 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-ugly
pkgver=1.16.0
pkgrel=0
pkgdesc="GStreamer streaming media framework ugly plug-ins"
url="https://gstreamer.freedesktop.org"
arch="all"
license="GPL-2.0-or-later LGPL-2.0-or-later"
replaces="gst-plugins-ugly1"
makedepends="a52dec-dev glib-dev gst-plugins-base-dev gstreamer-dev libcdio-dev
	libdvdread-dev libmpeg2-dev meson orc-dev x264-dev"
source="https://gstreamer.freedesktop.org/src/gst-plugins-ugly/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"
ldpath="/usr/lib/gstreamer-1.0"

# secfixes:
#   1.10.4-r0:
#     - CVE-2017-5846
#     - CVE-2017-5847

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Dpackage-origin="https://alpinelinux.org" \
		-Dpackage-name="GStreamer ugly plug-ins (Alpine Linux)" \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

check() {
	meson test -C output --print-errorlogs
}

doc() {
	default_doc
	replaces="${pkgname}1-doc"
}

sha512sums="7ecbd3ddc3034dfaa3ce7d118589c856e99e8da734e8d1dd70ab70f4aa3d11d78bd55b6c6134eddaa0b6e627015b1f663c0439367bba305c7d7d46a387470d2e  gst-plugins-ugly-1.16.0.tar.xz"