🔒 Repository is read-only – file editing is disabled.

recipes/utils/x265/PAGBUILD.yaml main

39 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839
pkgname: x265
pkgver: '4.3'
pkgrel: '1'
pkgdesc: 'Open Source H265/HEVC video encoder.'
url: 'https://github.com/Multicorewareinc/x265'
arch: x86_64
license:
- GPL

depends: []
makedepends:
- nasm
- git
- 'make-ca'
- cmake

source:
- 'https://github.com/Multicorewareinc/x265.git'

sha256sums:
- SKIP

build: |
  # shallow clone -> brak tagow -> cmake NIE instaluje .so/.pc (X265_LATEST_TAG pusty)
  git -C ${pkgname} tag ${pkgver}
  mkdir build
  cd    build
   cmake  -DCMAKE_INSTALL_PREFIX=/usr \
   -DENABLE_SHARED=ON   \
   -DENABLE_STATIC=OFF  \
   ../${pkgname}/source

   make

   make DESTDIR=${PKGDIR} install
  # rm ${PKGDIR}/usr/lib/libx265.a

package: |
  true