aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-ugly/APKBUILD
blob: 2f67e6460b84d2d56ead5e0f7ff1fb1106dca02d (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=4
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"