[arch-commits] Commit in ffnvcodec-headers/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Mon Oct 22 09:24:24 UTC 2018
Date: Monday, October 22, 2018 @ 09:24:23
Author: alucryd
Revision: 336987
upgpkg: ffnvcodec-headers 8.2.15.4-1
Modified:
ffnvcodec-headers/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-22 09:04:07 UTC (rev 336986)
+++ PKGBUILD 2018-10-22 09:24:23 UTC (rev 336987)
@@ -1,28 +1,25 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Daniel Bermond < yahoo-com: danielbermond >
+# Contributor: Daniel Bermond <danielbermond at yahoo.com>
pkgname=ffnvcodec-headers
-pkgver=8.1.24.2
-pkgrel=2
+pkgver=8.2.15.4
+pkgrel=1
pkgdesc='FFmpeg version of headers required to interface with Nvidias codec APIs'
arch=('any')
url='https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git'
license=('MIT')
-source=("https://github.com/FFmpeg/nv-codec-headers/releases/download/n${pkgver}/nv-codec-headers-${pkgver}.tar.gz")
-sha256sums=('2b339b2493f5b63b285dd660be05102af7d4ff2de9fcf3af94e48b5f91a3ca57')
+makedepends=('git')
+source=("git+https://git.videolan.org/git/ffmpeg/nv-codec-headers.git#tag=n${pkgver}")
+sha256sums=('SKIP')
build() {
- cd nv-codec-headers-n${pkgver}
-
- make PREFIX='/usr'
- sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE # Extract license
+ make PREFIX='/usr' -C nv-codec-headers
+ sed -n '4,25p' nv-codec-headers/include/ffnvcodec/nvEncodeAPI.h > LICENSE # Extract license
sed -i '1,22s/^.\{,3\}//' LICENSE # Delete C comments
}
package() {
- cd nv-codec-headers-n${pkgver}
-
- make PREFIX='/usr' DESTDIR="${pkgdir}" install
+ make PREFIX='/usr' DESTDIR="${pkgdir}" -C nv-codec-headers install
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/ffnvcodec-headers/
}
More information about the arch-commits
mailing list