Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesF/ffnvcodec-headers.git ffnvcodec-headers

subrepo:
  subdir:   "ffnvcodec-headers"
  merged:   "ced79b5"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesF/ffnvcodec-headers.git"
  branch:   "master"
  commit:   "ced79b5"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 3 years ago
parent
commit
08e9cdf898
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B
  1. 5
      ffnvcodec-headers/.artixlinux/agent.yaml
  2. 33
      ffnvcodec-headers/.gitignore
  3. 12
      ffnvcodec-headers/.gitrepo
  4. 3
      ffnvcodec-headers/Jenkinsfile
  5. 2
      ffnvcodec-headers/README.md
  6. 26
      ffnvcodec-headers/repos/extra-any/PKGBUILD
  7. 26
      ffnvcodec-headers/trunk/PKGBUILD

5
ffnvcodec-headers/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
ffnvcodec-headers/.gitignore vendored

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
ffnvcodec-headers/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesF/ffnvcodec-headers.git
branch = master
commit = ced79b58ec5d91cdac981e0c9e97bf50d813101a
parent = a2ed252e8bddff7cc2293db9ea2ba88469f6990a
method = merge
cmdver = 0.4.0

3
ffnvcodec-headers/Jenkinsfile vendored

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
ffnvcodec-headers/README.md

@ -0,0 +1,2 @@
# ffnvcodec-headers

26
ffnvcodec-headers/repos/extra-any/PKGBUILD

@ -0,0 +1,26 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Daniel Bermond <danielbermond@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:

26
ffnvcodec-headers/trunk/PKGBUILD

@ -0,0 +1,26 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Daniel Bermond <danielbermond@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:
Loading…
Cancel
Save