PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/x265/PAGBUILD.yaml main

40 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637383940
pkgname: x265
pkgver: '4.3'
pkgrel: '3'
pkgdesc: 'Open Source H265/HEVC video encoder.'
url: 'https://github.com/Multicorewareinc/x265'
arch: x86_64
license:
- GPL

depends:
- numactl
makedepends:
- nasm
- git
- 'make-ca'
- cmake

source:
- 'https://github.com/Multicorewareinc/x265.git#tag=${pkgver}'

sha256sums:
- SKIP

build: |
  # Zabezpieczenie na wypadek płytkiego klonowania bez tagów (X265_LATEST_TAG)
  git -C ${pkgname} tag ${pkgver} 2>/dev/null || true

  mkdir -p build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=Release \
        -DENABLE_SHARED=ON \
        -DENABLE_STATIC=OFF \
        ../${pkgname}/source

  make -j$(nproc)
  make DESTDIR=${PKGDIR} install

package: |
  true