summaryrefslogtreecommitdiff
path: root/main/gst-plugins-ugly0.10/APKBUILD
blob: 03758f12f4ace3f648517e615eeb00df9cef553f (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
51
52
53
54
55
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-ugly0.10
pkgver=0.10.19
pkgrel=2
pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)"
url="https://gstreamer.freedesktop.org/"
arch="all"
license="LGPL"
depends=
replaces="gst-plugins-ugly"
makedepends="lame-dev libmpeg2-dev a52dec-dev libid3tag-dev libmad-dev
	glib-dev liboil-dev gstreamer0.10-dev gst-plugins-base0.10-dev
	x264-dev libcdio-dev libcdio-paranoia-dev libid3tag-dev orc-dev"
source="https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.bz2
	cdio-cd-text-api.patch"
subpackages="$pkgname-lang"

_builddir="$srcdir"/gst-plugins-ugly-$pkgver
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}


build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--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
}
md5sums="1d81c593e22a6cdf0f2b4f57eae93df2  gst-plugins-ugly-0.10.19.tar.bz2
6c1c665f864387f3a77d32231fedeaab  cdio-cd-text-api.patch"
sha256sums="1ca90059275c0f5dca71d4d1601a8f429b7852baed0723e820703b977e2c8df0  gst-plugins-ugly-0.10.19.tar.bz2
2a8aa4cd019fab333f1f8377bf7afa426d3038a033361d90fab70c335e9a53e7  cdio-cd-text-api.patch"
sha512sums="27ae79653f73a143b1dfd864b16b8f1a43d54538a5802d937cb29ce82d5681604c2b3c3fe68c7debf4a319b09bee880a5a95fc48dce83c6cb9753397a1e300d3  gst-plugins-ugly-0.10.19.tar.bz2
16b65f3140554212bb5454b0bfdc3d5a27627076aabab3ed23e124210a18f41888b488afa1a74ecc9939213cbc61dae1ff6a9055f1929f1803208e2414792de8  cdio-cd-text-api.patch"