summaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-ugly1/APKBUILD
blob: b594c825c65f69c0d9832741900d1f7e89f4ec97 (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
51
52
53
54
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-ugly1
pkgver=1.0.10
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 \
		--build=$CBUILD \
		--host=$CHOST \
		--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="fbe21d93c314e43c790e0ac96e197905  gst-plugins-ugly-1.0.10.tar.xz"
sha256sums="bed3510e09f036e7609e8d291535c395d25109b1180324b16859f475eac3a3c0  gst-plugins-ugly-1.0.10.tar.xz"
sha512sums="bc9492eab069ae5a5e8cfa95a518ed596f93c0af89ba74a63a433e51b91f96618d456ab0dde283d56ac1a064718ac8851ca00e45d4430939d74fb7a2854a045e  gst-plugins-ugly-1.0.10.tar.xz"