summaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-ugly1/APKBUILD
blob: aad222a0618a3fdbfdf5d7de63fc83d54acf2bae (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-ugly1
pkgver=1.0.6
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
depends=
makedepends="
	a52dec-dev
	glib-dev
	gst-plugins-base1-dev
	gstreamer1-dev
	lame-dev
	libcdio-dev
	libdvdread-dev
	libid3tag-dev
	libmad-dev
	libmpeg2-dev
	liboil-dev
	orc-dev
	x264-dev
	"
source="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.xz"
subpackages="$pkgname-lang"
ldpath="/usr/lib/gstreamer-1.0"

_builddir="$srcdir"/gst-plugins-ugly-$pkgver

build() { 
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--enable-experimental \
		--with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \
		--with-package-origin="http://alpinelinux.org/" || return 1
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '*.la' -delete
}
md5sums="9ffee39153f419ae2329fbf54ed708e0  gst-plugins-ugly-1.0.6.tar.xz"
sha256sums="8655ceec7533b5d30080a5051025e26ff8d06bea8d03a6b2af56c2f839d60586  gst-plugins-ugly-1.0.6.tar.xz"
sha512sums="3af4dd111a09768396748e6e9c7a85257a1abd19294e026007cb27da42e57eba99d2a764129a4c39ba6dc48a3c926368a94900afc013cd143148dedec8d3259a  gst-plugins-ugly-1.0.6.tar.xz"