[arch-commits] Commit in ffnvcodec-headers8.1/repos/community-any (6 files)

Maxime Gauduin alucryd at archlinux.org
Mon Apr 13 12:52:43 UTC 2020


    Date: Monday, April 13, 2020 @ 12:52:42
  Author: alucryd
Revision: 613638

archrelease: copy trunk to community-any

Added:
  ffnvcodec-headers8.1/repos/community-any/.SRCINFO
    (from rev 613637, ffnvcodec-headers8.1/trunk/.SRCINFO)
  ffnvcodec-headers8.1/repos/community-any/PKGBUILD
    (from rev 613637, ffnvcodec-headers8.1/trunk/PKGBUILD)
  ffnvcodec-headers8.1/repos/community-any/ffnvcodec-install.patch
    (from rev 613637, ffnvcodec-headers8.1/trunk/ffnvcodec-install.patch)
Deleted:
  ffnvcodec-headers8.1/repos/community-any/.SRCINFO
  ffnvcodec-headers8.1/repos/community-any/PKGBUILD
  ffnvcodec-headers8.1/repos/community-any/ffnvcodec-install.patch

-------------------------+
 .SRCINFO                |   26 +++++++-------
 PKGBUILD                |   80 +++++++++++++++++++++++++---------------------
 ffnvcodec-install.patch |   64 ++++++++++++++++++------------------
 3 files changed, 89 insertions(+), 81 deletions(-)

Deleted: .SRCINFO
===================================================================
--- .SRCINFO	2020-04-13 12:52:33 UTC (rev 613637)
+++ .SRCINFO	2020-04-13 12:52:42 UTC (rev 613638)
@@ -1,13 +0,0 @@
-pkgbase = ffnvcodec-headers
-	pkgdesc = FFmpeg version of headers required to interface with Nvidias codec APIs
-	pkgver = 9.0.18.1
-	pkgrel = 1
-	url = https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
-	arch = any
-	license = MIT
-	makedepends = git
-	source = git+https://git.videolan.org/git/ffmpeg/nv-codec-headers.git#tag=n9.0.18.1
-	sha256sums = SKIP
-
-pkgname = ffnvcodec-headers
-

Copied: ffnvcodec-headers8.1/repos/community-any/.SRCINFO (from rev 613637, ffnvcodec-headers8.1/trunk/.SRCINFO)
===================================================================
--- .SRCINFO	                        (rev 0)
+++ .SRCINFO	2020-04-13 12:52:42 UTC (rev 613638)
@@ -0,0 +1,13 @@
+pkgbase = ffnvcodec-headers
+	pkgdesc = FFmpeg version of headers required to interface with Nvidias codec APIs
+	pkgver = 9.0.18.1
+	pkgrel = 1
+	url = https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
+	arch = any
+	license = MIT
+	makedepends = git
+	source = git+https://git.videolan.org/git/ffmpeg/nv-codec-headers.git#tag=n9.0.18.1
+	sha256sums = SKIP
+
+pkgname = ffnvcodec-headers
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-13 12:52:33 UTC (rev 613637)
+++ PKGBUILD	2020-04-13 12:52:42 UTC (rev 613638)
@@ -1,36 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Daniel Bermond <danielbermond at yahoo.com>
-
-pkgname=ffnvcodec-headers8.1
-pkgver=8.1.24.9
-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}
-  ffnvcodec-install.patch
-)
-sha256sums=('SKIP'
-            '248dc04818d010c470a2dc4436bd4091f6e2ef3e09d1b3fcb4d52ed08cd7809b')
-
-prepare() {
-  cd nv-codec-headers
-
-  patch -Np1 -i ../ffnvcodec-install.patch
-}
-
-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-headers8.1/
-}
-
-# vim: ts=2 sw=2 et:

Copied: ffnvcodec-headers8.1/repos/community-any/PKGBUILD (from rev 613637, ffnvcodec-headers8.1/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-13 12:52:42 UTC (rev 613638)
@@ -0,0 +1,44 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Daniel Bermond <danielbermond at yahoo.com>
+
+pkgname=ffnvcodec-headers8.1
+pkgver=8.1.24.11
+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=0cd5c2b7c30d580d09348c92d8facd7a39957f01
+  ffnvcodec-install.patch
+)
+sha256sums=(
+  SKIP
+  248dc04818d010c470a2dc4436bd4091f6e2ef3e09d1b3fcb4d52ed08cd7809b
+)
+
+pkgver() {
+  cd nv-codec-headers
+
+  git describe --tags | sed 's/^n//'
+}
+
+prepare() {
+  cd nv-codec-headers
+
+  patch -Np1 -i ../ffnvcodec-install.patch
+}
+
+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-headers8.1/
+}
+
+# vim: ts=2 sw=2 et:

Deleted: ffnvcodec-install.patch
===================================================================
--- ffnvcodec-install.patch	2020-04-13 12:52:33 UTC (rev 613637)
+++ ffnvcodec-install.patch	2020-04-13 12:52:42 UTC (rev 613638)
@@ -1,32 +0,0 @@
-diff -rupN nv-codec-headers.orig/ffnvcodec.pc.in nv-codec-headers/ffnvcodec.pc.in
---- nv-codec-headers.orig/ffnvcodec.pc.in	2019-04-30 11:44:46.313950977 +0200
-+++ nv-codec-headers/ffnvcodec.pc.in	2019-04-30 11:47:35.311985459 +0200
-@@ -1,5 +1,5 @@
- prefix=@@PREFIX@@
--includedir=${prefix}/include
-+includedir=${prefix}/include/ffnvcodec8.1
- 
- Name: ffnvcodec
- Description: FFmpeg version of Nvidia Codec SDK headers
-diff -rupN nv-codec-headers.orig/Makefile nv-codec-headers/Makefile
---- nv-codec-headers.orig/Makefile	2019-04-30 11:44:46.313950977 +0200
-+++ nv-codec-headers/Makefile	2019-04-30 11:48:37.275820562 +0200
-@@ -11,13 +11,13 @@ else
- endif
- 
- install: all
--	$(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
--	$(INSTALL) -m 0644 include/ffnvcodec/*.h '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
--	$(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
--	$(INSTALL) -m 0644 ffnvcodec.pc '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
-+	$(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/include/ffnvcodec8.1/ffnvcodec'
-+	$(INSTALL) -m 0644 include/ffnvcodec/*.h '$(DESTDIR)$(PREFIX)/include/ffnvcodec8.1/ffnvcodec'
-+	$(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/$(LIBDIR)/ffnvcodec8.1/pkgconfig'
-+	$(INSTALL) -m 0644 ffnvcodec.pc '$(DESTDIR)$(PREFIX)/$(LIBDIR)/ffnvcodec8.1/pkgconfig'
- 
- uninstall:
--	rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec' '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/ffnvcodec.pc'
-+	rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec8.1' '$(DESTDIR)$(PREFIX)/$(LIBDIR)/ffnvcodec8.1/pkgconfig/ffnvcodec.pc'
- 
- .PHONY: all install uninstall
- 

Copied: ffnvcodec-headers8.1/repos/community-any/ffnvcodec-install.patch (from rev 613637, ffnvcodec-headers8.1/trunk/ffnvcodec-install.patch)
===================================================================
--- ffnvcodec-install.patch	                        (rev 0)
+++ ffnvcodec-install.patch	2020-04-13 12:52:42 UTC (rev 613638)
@@ -0,0 +1,32 @@
+diff -rupN nv-codec-headers.orig/ffnvcodec.pc.in nv-codec-headers/ffnvcodec.pc.in
+--- nv-codec-headers.orig/ffnvcodec.pc.in	2019-04-30 11:44:46.313950977 +0200
++++ nv-codec-headers/ffnvcodec.pc.in	2019-04-30 11:47:35.311985459 +0200
+@@ -1,5 +1,5 @@
+ prefix=@@PREFIX@@
+-includedir=${prefix}/include
++includedir=${prefix}/include/ffnvcodec8.1
+ 
+ Name: ffnvcodec
+ Description: FFmpeg version of Nvidia Codec SDK headers
+diff -rupN nv-codec-headers.orig/Makefile nv-codec-headers/Makefile
+--- nv-codec-headers.orig/Makefile	2019-04-30 11:44:46.313950977 +0200
++++ nv-codec-headers/Makefile	2019-04-30 11:48:37.275820562 +0200
+@@ -11,13 +11,13 @@ else
+ endif
+ 
+ install: all
+-	$(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
+-	$(INSTALL) -m 0644 include/ffnvcodec/*.h '$(DESTDIR)$(PREFIX)/include/ffnvcodec'
+-	$(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
+-	$(INSTALL) -m 0644 ffnvcodec.pc '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig'
++	$(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/include/ffnvcodec8.1/ffnvcodec'
++	$(INSTALL) -m 0644 include/ffnvcodec/*.h '$(DESTDIR)$(PREFIX)/include/ffnvcodec8.1/ffnvcodec'
++	$(INSTALL) -m 0755 -d '$(DESTDIR)$(PREFIX)/$(LIBDIR)/ffnvcodec8.1/pkgconfig'
++	$(INSTALL) -m 0644 ffnvcodec.pc '$(DESTDIR)$(PREFIX)/$(LIBDIR)/ffnvcodec8.1/pkgconfig'
+ 
+ uninstall:
+-	rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec' '$(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/ffnvcodec.pc'
++	rm -rf '$(DESTDIR)$(PREFIX)/include/ffnvcodec8.1' '$(DESTDIR)$(PREFIX)/$(LIBDIR)/ffnvcodec8.1/pkgconfig/ffnvcodec.pc'
+ 
+ .PHONY: all install uninstall
+ 



More information about the arch-commits mailing list