milis/talimatname/genel/x265/talimat

23 lines
587 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Açık Kaynaklı H265/HEVC video kodlayıcı.
# URL: https://bitbucket.org/multicoreware/x265/wiki/Home
# Packager: milisarge
# 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/downloads/x265/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
}