aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-ugly1/APKBUILD
blob: 48378cd1d91bb50fb05bd840d3a5e4053d08ec27 (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.7
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="8754edf6c3be235f232fb75ad11708bb  gst-plugins-ugly-1.0.7.tar.xz"
sha256sums="b78b8cfabe322497da432a0f297dbb21862a033f95e8d4cd8f207eccb5288f2b  gst-plugins-ugly-1.0.7.tar.xz"
sha512sums="8d6c3ce19c67a3fe428ca63fab8dae0db5d8413ba86ed7f36ff59a0894086aa53574fa0477a611378f53a0c2fa27e45c53d24a6a264a3b2e0d884991c6fe246b  gst-plugins-ugly-1.0.7.tar.xz"