aboutsummaryrefslogtreecommitdiffstats
path: root/x11/x264/APKBUILD
blob: 2d3d93f3e269dbaad4a71afbbdf0ba7a499513c1 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=x264
pkgver=20090706
pkgrel=0
pkgdesc="free library for encoding H264/AVC video streams"
url="http://www.videolan.org/developers/x264.html"
license="GPL"
depends=
makedepends="libx11-dev bash"
subpackages="$pkgname-dev"
source="http://ftp.videolan.org/pub/videolan/$pkgname/snapshots/$pkgname-snapshot-$pkgver-2245.tar.bz2"

build ()
{
	cd "$srcdir/$pkgname-snapshot-$pkgver-2245" || return 1
	./configure --prefix=/usr \
		--enable-pthread \
		--enable-visualize \
		--enable-shared \
		--disable-asm \
		--enable-pic || return 1
	make || return 1
	make DESTDIR="$pkgdir" bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install || return 1
}
md5sums="1b321022c9b023d520714d1e5153b1f6  x264-snapshot-20090706-2245.tar.bz2"