diff --git a/packagelist b/packagelist index 74676e1d83..60bd943e0d 100644 --- a/packagelist +++ b/packagelist @@ -131,6 +131,7 @@ fennel-bin ferdium-deb ferium-bin feroxbuster-bin +ffnvcodec-headers ffsend-bin firefox-arm64-deb firefox-bin diff --git a/packages/ffnvcodec-headers/.SRCINFO b/packages/ffnvcodec-headers/.SRCINFO new file mode 100644 index 0000000000..26293a68ca --- /dev/null +++ b/packages/ffnvcodec-headers/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = ffnvcodec-headers + gives = ffnvcodec-headers + pkgver = 12.2.72.0 + pkgdesc = FFmpeg version of headers required to interface with Nvidias codec APIs + url = https://git.videolan.org/git/ffmpeg/nv-codec-headers.git + makedepends = git + license = MIT + maintainer = Luis Garcia + source = https://github.com/FFmpeg/nv-codec-headers/releases/download/n12.2.72.0/nv-codec-headers-12.2.72.0.tar.gz + sha256sums = c295a2ba8a06434d4bdc5c2208f8a825285210d71d91d572329b2c51fd0d4d03 + +pkgname = ffnvcodec-headers diff --git a/packages/ffnvcodec-headers/ffnvcodec-headers.pacscript b/packages/ffnvcodec-headers/ffnvcodec-headers.pacscript new file mode 100644 index 0000000000..0af7f4dcc6 --- /dev/null +++ b/packages/ffnvcodec-headers/ffnvcodec-headers.pacscript @@ -0,0 +1,33 @@ +pkgname="ffnvcodec-headers" +gives="ffnvcodec-headers" +pkgver="12.2.72.0" +url='https://git.videolan.org/git/ffmpeg/nv-codec-headers.git' +pkgdesc="FFmpeg version of headers required to interface with Nvidias codec APIs" +maintainer=("Luis Garcia ") +license=('MIT') + +source=( + "https://github.com/FFmpeg/nv-codec-headers/releases/download/n${pkgver}/nv-codec-headers-${pkgver}.tar.gz" +) +sha256sums=( + "c295a2ba8a06434d4bdc5c2208f8a825285210d71d91d572329b2c51fd0d4d03" +) + +makedepends=( + 'git' +) +depends=() +optdepends=() + +build() { + cd "${_archive}" + 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 "${_archive}" + make PREFIX=/usr DESTDIR="${pkgdir}" install + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/ffnvcodec-headers/ +} diff --git a/srclist b/srclist index 60969b6268..c75d2cab52 100644 --- a/srclist +++ b/srclist @@ -2599,6 +2599,19 @@ pkgbase = feroxbuster-bin pkgname = feroxbuster-bin --- +pkgbase = ffnvcodec-headers + gives = ffnvcodec-headers + pkgver = 12.2.72.0 + pkgdesc = FFmpeg version of headers required to interface with Nvidias codec APIs + url = https://git.videolan.org/git/ffmpeg/nv-codec-headers.git + makedepends = git + license = MIT + maintainer = Luis Garcia + source = https://github.com/FFmpeg/nv-codec-headers/releases/download/n12.2.72.0/nv-codec-headers-12.2.72.0.tar.gz + sha256sums = c295a2ba8a06434d4bdc5c2208f8a825285210d71d91d572329b2c51fd0d4d03 + +pkgname = ffnvcodec-headers +--- pkgbase = ffsend-bin gives = ffsend pkgver = 0.2.76