[arch-commits] Commit in ffnvcodec-headers/repos/extra-any (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Mon Oct 22 09:24:33 UTC 2018
Date: Monday, October 22, 2018 @ 09:24:33
Author: alucryd
Revision: 336988
archrelease: copy trunk to extra-any
Added:
ffnvcodec-headers/repos/extra-any/PKGBUILD
(from rev 336987, ffnvcodec-headers/trunk/PKGBUILD)
Deleted:
ffnvcodec-headers/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++------------------------------
1 file changed, 26 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-22 09:24:23 UTC (rev 336987)
+++ PKGBUILD 2018-10-22 09:24:33 UTC (rev 336988)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Daniel Bermond < yahoo-com: danielbermond >
-
-pkgname=ffnvcodec-headers
-pkgver=8.1.24.2
-pkgrel=2
-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')
-
-build() {
- cd nv-codec-headers-n${pkgver}
-
- make PREFIX='/usr'
- sed -n '4,25p' 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
- install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/ffnvcodec-headers/
-}
-
-# vim: ts=2 sw=2 et:
Copied: ffnvcodec-headers/repos/extra-any/PKGBUILD (from rev 336987, ffnvcodec-headers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-22 09:24:33 UTC (rev 336988)
@@ -0,0 +1,26 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Bermond <danielbermond at yahoo.com>
+
+pkgname=ffnvcodec-headers
+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')
+makedepends=('git')
+source=("git+https://git.videolan.org/git/ffmpeg/nv-codec-headers.git#tag=n${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ 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() {
+ make PREFIX='/usr' DESTDIR="${pkgdir}" -C nv-codec-headers install
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/ffnvcodec-headers/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list