summaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-ugly/APKBUILD
blob: cf94c5e6306c49cf1c994ca6312eba17ca5bdec4 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-ugly
pkgver=0.10.19
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)"
url="http://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
depends= # libdvdread>=4.1.3 libsidplay>=1.36.59 "
makedepends="pkgconfig lame-dev libmpeg2-dev a52dec-dev libid3tag-dev
	libmad-dev glib-dev liboil-dev gstreamer-dev gst-plugins-base-dev
	x264-dev libcdio-dev libid3tag-dev orc-dev"
source="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.bz2"
subpackages="$pkgname-lang"

_builddir="$srcdir"/$pkgname-$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://www.alpinelinux.org/" || return 1
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '*.la' -delete
}
md5sums="1d81c593e22a6cdf0f2b4f57eae93df2  gst-plugins-ugly-0.10.19.tar.bz2"