summaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-ugly1/APKBUILD
blob: 6430d0a0684ae9a251d3675562e6bba3c3d1b052 (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.8
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="67fd24035eccee556ed9e89d75447d94  gst-plugins-ugly-1.0.8.tar.xz"
sha256sums="58cbae3cad52a91526d599fc90793147e934078055126865ee019bf97f1e0b84  gst-plugins-ugly-1.0.8.tar.xz"
sha512sums="353d458a145a7703473ecd41fec200b0996917febff3d368ef121472b9af7588533456a2e00a3dbc20df871a724448aca66be87ab67f259b106994b4dd3dd00b  gst-plugins-ugly-1.0.8.tar.xz"