aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-ugly/APKBUILD
blob: 1ece1c8b91d8a783d0d4f2085934c8b3a2a335e5 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-ugly
pkgver=0.10.18
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"

_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="04a7009a4efea2844075949c111f5e4d  gst-plugins-ugly-0.10.18.tar.bz2"