diff options
author | Daniel Bermond | 2022-04-15 12:17:03 -0300 |
---|---|---|
committer | Daniel Bermond | 2022-04-15 12:17:03 -0300 |
commit | 0bdbefe6ad3a430d3f346a951da7f811e910fda6 (patch) | |
tree | 406574b8c009f272ae5b6819125e4383019a4fb9 /PKGBUILD | |
parent | cfcadb01739e92b48d038d167039ada2a1c22aca (diff) | |
download | aur-davs2.tar.gz |
Update to version 1.7
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 9 insertions, 20 deletions
@@ -1,45 +1,34 @@ -# Maintainer : Daniel Bermond < gmail-com: danielbermond > +# Maintainer: Daniel Bermond <dbermond@archlinux.org> # NOTE: -# 10-bit depth currently fails to build -# https://github.com/pkuvcl/davs2/issues/4 +# 10-bit depth is not supported currently +# https://github.com/pkuvcl/davs2/blob/1.7/build/linux/configure#L470 pkgname=davs2 -pkgver=1.6 -pkgrel=7 +pkgver=1.7 +pkgrel=1 arch=('x86_64') pkgdesc='Open-Source decoder of AVS2-P2/IEEE1857.4 video coding standard' url='https://github.com/pkuvcl/davs2/' license=('GPL') depends=('glibc') -makedepends=('yasm') +makedepends=('nasm') provides=('libdavs2') conflicts=('libdavs2') replaces=('libdavs2') -source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/pkuvcl/${pkgname}/archive/${pkgver}.tar.gz" - 'davs2-1.6-gcc8-fix.patch') -sha256sums=('de93800f016cbaf08cb40184a8069050dc625da5240a528155137052d1cf81c8' - '4bea78a55bf6a34591ae016cee800aa75c3c5b1706724534095cf2a0e9fc6e71') - -prepare() { - cd "${pkgname}-${pkgver}" - - patch --binary -Np1 -i "${srcdir}/davs2-1.6-gcc8-fix.patch" -} +options=('!lto') +source=("https://github.com/pkuvcl/davs2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('b697d0b376a1c7f7eda3a4cc6d29707c8154c4774358303653f0a9727f923cc8') build() { cd "${pkgname}-${pkgver}/build/linux" - ./configure \ --prefix='/usr' \ - --extra-ldflags='-Wl,-z,noexecstack' \ --enable-shared \ --disable-static \ --bit-depth='8' \ --chroma-format='all' \ - --enable-lto \ --enable-pic - make } |