# rebuild ffmpeg, gst-plugins-bad, vlc & avidemux on updates pkgname=x265 pkgver=3.5 _pkgver=11047 pkgrel=3 pkgdesc='H.265/HEVC encoder available anywhere, offering the highest compression efficiency and the highest performance.' arch=('x86_64') url='https://bitbucket.org/multicoreware/x265_git' license=('GPL') depends=('gcc-libs') makedepends=('cmake' 'yasm') options=('!staticlibs') source=("https://bitbucket.org/multicoreware/x265_git/downloads/${pkgname}_${pkgver}.tar.gz") md5sums=('deb5df5cb2ec17bdbae6ac6bbc3b1eef') build() { cmake -B build -S ${pkgname}_${pkgver}/source \ -DCMAKE_INSTALL_PREFIX=/usr \ -DHIGH_BIT_DEPTH=ON cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }