27 lines
559 B
Plaintext
27 lines
559 B
Plaintext
# Description: Library for encoding H264/AVC video streams (snapshot).
|
|
# URL: http://www.videolan.org/developers/x264.html
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Rouven Schuerch, rs at tegonal dot com
|
|
# Depends on: yasm
|
|
|
|
name=x264
|
|
version=148.20160808
|
|
release=1
|
|
source=(http://crux.ster.zone/downloads/$name/$name-$version-a5e06b9.tar.xz)
|
|
|
|
build() {
|
|
cd $name
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-pic \
|
|
--enable-shared \
|
|
--bit-depth='10' \
|
|
--disable-cli
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
chmod a-x $PKG/usr/lib/*.so
|
|
}
|