Verified Commit 03f56c6f authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/x265: Modernise and fix syntax

parent 902da7a1
......@@ -8,6 +8,7 @@ url="http://x265.org"
arch="all"
options="textrels"
license="GPL-2.0-only"
depends=""
makedepends="cmake yasm" # 2.6+ will use nasm instead of yasm
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://bitbucket.org/multicoreware/$pkgname/downloads/${pkgname}_${pkgver}.tar.gz
......@@ -17,7 +18,7 @@ builddir="$srcdir/${pkgname}_$pkgver"
build() {
cd "$builddir"/build/linux
local cmake_opts=""
cmake_opts=""
case "$CARCH" in
# unfortunately, AltiVec code is very broken (more than 1000 errors)
ppc*) cmake_opts="-DENABLE_ALTIVEC=OFF -DCPU_POWER8=OFF";;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment