[arch-commits] Commit in ffnvcodec-headers/repos/extra-any (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Wed Nov 27 12:15:22 UTC 2019


    Date: Wednesday, November 27, 2019 @ 12:15:22
  Author: alucryd
Revision: 369824

archrelease: copy trunk to extra-any

Added:
  ffnvcodec-headers/repos/extra-any/PKGBUILD
    (from rev 369823, ffnvcodec-headers/trunk/PKGBUILD)
Deleted:
  ffnvcodec-headers/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 32 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-27 12:15:16 UTC (rev 369823)
+++ PKGBUILD	2019-11-27 12:15:22 UTC (rev 369824)
@@ -1,26 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Daniel Bermond <danielbermond at yahoo.com>
-
-pkgname=ffnvcodec-headers
-pkgver=9.0.18.1
-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:

Copied: ffnvcodec-headers/repos/extra-any/PKGBUILD (from rev 369823, ffnvcodec-headers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-27 12:15:22 UTC (rev 369824)
@@ -0,0 +1,32 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Bermond <danielbermond at yahoo.com>
+
+pkgname=ffnvcodec-headers
+pkgver=9.1.23.1
+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=4a0bbfd58724d6d19851cd8a6f7a9098dde9ab77)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd nv-codec-headers
+
+  git describe --tags | sed 's/^n//'
+}
+
+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