Skip to content

Commit 9af9a9d

Browse files
committed
addpkg: nvidia-580xx-utils, ffnvcodec-headers13.0
Supplementry packages that works with #4903.
1 parent 23a0b5f commit 9af9a9d

5 files changed

Lines changed: 92 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Copyright Arch Linux Contributors
2+
3+
Permission to use, copy, modify, and/or distribute this software for
4+
any purpose with or without fee is hereby granted.
5+
6+
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
7+
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
8+
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
9+
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
10+
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
11+
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
12+
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Maintainer: 1F616EMO <root@1f616emo.xyz>
2+
# Contributor: Karl Ludwig Brennan <karlludwigbrennan@outlook.com>
3+
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
4+
# Contributor: Daniel Bermond <danielbermond@yahoo.com>
5+
6+
pkgname=ffnvcodec-headers13.0
7+
pkgver=13.0.19.1
8+
pkgrel=1
9+
pkgdesc='FFmpeg version of headers required to interface with Nvidias codec APIs (version 13.0)'
10+
arch=(any)
11+
url=https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
12+
license=(MIT)
13+
makedepends=(git)
14+
conflicts=('ffnvcodec-headers')
15+
provides=('ffnvcodec-headers')
16+
_tag=88fee5c37318c991a8762d423530f91681e32e3a
17+
source=(git+https://git.videolan.org/git/ffmpeg/nv-codec-headers.git#tag=${_tag})
18+
sha256sums=('7016462c5bc737fdb4ac0fce51249447c48be59edfdf0f8bb0c668b357d38da6')
19+
20+
pkgver() {
21+
cd nv-codec-headers
22+
23+
git describe --tags | sed 's/^n//'
24+
}
25+
26+
build() {
27+
make PREFIX=/usr -C nv-codec-headers
28+
sed -n '4,25p' nv-codec-headers/include/ffnvcodec/nvEncodeAPI.h > LICENSE # Extract license
29+
sed -i '1,22s/^.\{,3\}//' LICENSE # Delete C comments
30+
}
31+
32+
package() {
33+
make PREFIX=/usr DESTDIR="${pkgdir}" -C nv-codec-headers install
34+
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/ffnvcodec-headers13.0/
35+
}
36+
37+
# vim: ts=2 sw=2 et:
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version = 1
2+
3+
[[annotations]]
4+
path = [
5+
"PKGBUILD",
6+
"README.md",
7+
"keys/**",
8+
".SRCINFO",
9+
".nvchecker.toml",
10+
"*.install",
11+
"*.sysusers",
12+
"*.tmpfiles",
13+
"*.logrotate",
14+
"*.pam",
15+
"*.service",
16+
"*.socket",
17+
"*.timer",
18+
"*.desktop",
19+
"*.hook",
20+
]
21+
SPDX-FileCopyrightText = "Arch Linux contributors"
22+
SPDX-License-Identifier = "0BSD"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
maintainers:
2+
- github: Emojigit
3+
4+
pre_build_script: update_pkgver_and_pkgrel(_G.newver)
5+
post_build_script: |
6+
git_pkgbuild_commit()
7+
update_aur_repo()
8+
9+
update_on:
10+
- source: git
11+
git: https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
12+
include_regex: ^n13\.0\..*$
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
maintainers:
2+
- github: Emojigit
3+
4+
pre_build_script: aur_pre_build(maintainers=['ventureo'])
5+
post_build: aur_post_build
6+
7+
update_on:
8+
- source: aur
9+
aur: nvidia-580xx-utils

0 commit comments

Comments
 (0)