milis/talimatname/genel/x/x265/talimat

23 lines
580 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Açık Kaynaklı H265/HEVC video kodlayıcı.
2016-02-24 01:27:23 +01:00
# URL: https://bitbucket.org/multicoreware/x265/wiki/Home
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: yasm cmake
2016-02-24 01:27:23 +01:00
name=x265
version=1.8
release=1
source=(https://bitbucket.org/multicoreware/x265/get/$version.tar.bz2
2016-03-12 16:22:49 +01:00
http://www.linuxfromscratch.org/patches/downloads/x265/x265_1.8-enable_static-1.patch)
2016-02-24 01:27:23 +01:00
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
}