diff options
author | Daniel Bermond | 2021-03-26 22:47:54 +0000 |
---|---|---|
committer | Daniel Bermond | 2021-03-26 22:47:54 +0000 |
commit | bb0e4321fdf3e749697a027ca9d83cd5aad84a6d (patch) | |
tree | 3128230e8cf036a1a8f2efc19b8a4d40ba08f7ea | |
parent | 6d83e4322fba4c383da9951720d75860ae44dba4 (diff) | |
download | aur-bb0e4321fdf3e749697a027ca9d83cd5aad84a6d.tar.gz |
Fix pkgver. Adjust build options. Cosmetic changes.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 20 insertions, 30 deletions
@@ -1,13 +1,12 @@ pkgbase = libvpx-git pkgdesc = VP8 and VP9 video codecs (git version) - pkgver = 1.7.0.r1445.g5039d2d82b + pkgver = 1.10.0.r15.gd55cab425d pkgrel = 1 url = https://www.webmproject.org/ - arch = i686 arch = x86_64 license = BSD makedepends = git - makedepends = yasm + makedepends = nasm depends = gcc-libs provides = libvpx provides = libvpx.so @@ -1,19 +1,18 @@ -# Maintainer : Daniel Bermond < gmail-com: danielbermond > -# Contributor: Jesse Jaara <gmail.com: jesse.jaara> -# Contributor: Det <gmail.com: nimetonmaili> -# Contributor: h31 <yandex.com: h31mail> -# Contributor: julroy67 <gmail.com: julroy67> +# Maintainer : Daniel Bermond <dbermond@archlinux.org> +# Contributor: Jesse Jaara <gmail.com: jesse.jaara> +# Contributor: Det <gmail.com: nimetonmaili> +# Contributor: h31 <yandex.com: h31mail> +# Contributor: julroy67 <gmail.com: julroy67> pkgname=libvpx-git -_srcname=libvpx -pkgver=1.7.0.r1445.g5039d2d82b +pkgver=1.10.0.r15.gd55cab425d pkgrel=1 pkgdesc='VP8 and VP9 video codecs (git version)' -arch=('i686' 'x86_64') +arch=('x86_64') url='https://www.webmproject.org/' license=('BSD') depends=('gcc-libs') -makedepends=('git' 'yasm') +makedepends=('git' 'nasm') provides=('libvpx' 'libvpx.so') conflicts=('libvpx') source=('git+https://chromium.googlesource.com/webm/libvpx') # official repo @@ -21,36 +20,28 @@ source=('git+https://chromium.googlesource.com/webm/libvpx') # official repo sha256sums=('SKIP') pkgver() { - cd "$_srcname" - - # git, tags available - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' + cd libvpx + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//;s/\.\(RC\|rc\)/rc/' } build() { - cd "$_srcname" - + cd libvpx ./configure \ --prefix='/usr' \ - --enable-runtime-cpu-detect \ - --enable-shared \ - --enable-pic \ --disable-install-docs \ --disable-install-srcs \ - --enable-vp8 \ + --enable-pic \ --enable-postproc \ + --enable-runtime-cpu-detect \ + --enable-shared \ + --enable-vp8 \ --enable-vp9 \ --enable-vp9-highbitdepth \ - --enable-experimental - + --enable-vp9-temporal-denoising make } package() { - cd "$_srcname" - - make DESTDIR="$pkgdir" install - - install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -D -m644 PATENTS -t "${pkgdir}/usr/share/licenses/${pkgname}" + make -C libvpx DESTDIR="$pkgdir" install + install -D -m644 libvpx/{LICENSE,PATENTS} -t "${pkgdir}/usr/share/licenses/${pkgname}" } |