milis/talimatname/genel/x265/talimat

24 lines
662 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Open Source H265/HEVC video encoder.
# URL: https://bitbucket.org/multicoreware/x265/wiki/Home
# Packager: Chris Farrell, timcowchip at gmail dot com
# Maintainer: Chris Farrell, timcowchip at gmail dot com
# Depends on: yasm cmake
name=x265
version=1.8
release=1
source=(https://bitbucket.org/multicoreware/x265/get/$version.tar.bz2
http://www.linuxfromscratch.org/patches/blfs/svn/x265_1.8-enable_static-1.patch)
build() {
cd multicoreware-$name-*
patch -Np1 -i ../x265_1.8-enable_static-1.patch
mkdir bld
cd bld
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_STATIC=OFF \
../source
make
make DESTDIR=$PKG install
}