blob: 180f63acf6a71f0e111992aebabb46d0d1bd4f7a (
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
|
# Description: Open Source H265/HEVC video encoder.
# URL: https://bitbucket.org/multicoreware/x265/wiki/Home
# Maintainer: Erich Eckner, erich at eckner dot net
# Packager: Danny Rawlins, crux at romster dot me
# Depends on: yasm cmake
name=x265
version=1.9
release=1
source=(https://bitbucket.org/multicoreware/x265/get/$version.tar.bz2)
build() {
cd multicoreware-$name-*/build/linux
# setting CC and CXX breaks compilation
if [ -n "$(pkginfo -i | grep '^ccache ')" ]; then
unset CC CXX
export PATH="/usr/lib/ccache/:$PATH"
fi
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr ../../source
make
make DESTDIR=$PKG install
}
|