From 03fa30e3f4cd08c443d961a27c01d885dae72c8e9eebd673c117efdeabf34944 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Sun, 3 Nov 2024 09:33:21 +0000 Subject: [PATCH] Needed for obs-studio 31.0.0~beta3 - Update to version 12.2.72.0: * Update headers from Video SDK 12.2 * Bump for (in-dev) 12.1.14.1 * Add cuCtxGetCurrent function * Add cuDriverGetVersion * Update headers from Video SDK 12.1 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffnvcodec?expand=0&rev=32 --- .gitattributes | 23 +++++ .gitignore | 1 + _service | 15 ++++ _servicedata | 4 + ffnvcodec.changes | 138 ++++++++++++++++++++++++++++++ ffnvcodec.spec | 54 ++++++++++++ nv-codec-headers-12.0.16.1.tar.xz | 3 + nv-codec-headers-12.2.72.0.tar.xz | 3 + 8 files changed, 241 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 ffnvcodec.changes create mode 100644 ffnvcodec.spec create mode 100644 nv-codec-headers-12.0.16.1.tar.xz create mode 100644 nv-codec-headers-12.2.72.0.tar.xz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..4006bd6 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://git.videolan.org/git/ffmpeg/nv-codec-headers.git + git + @PARENT_TAG@ + n([0-9\.]*) + n12.2.72.0 + enable + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..1178bcc --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://git.videolan.org/git/ffmpeg/nv-codec-headers.git + c69278340ab1d5559c7d7bf0edf615dc33ddbba7 \ No newline at end of file diff --git a/ffnvcodec.changes b/ffnvcodec.changes new file mode 100644 index 0000000..b3d70f7 --- /dev/null +++ b/ffnvcodec.changes @@ -0,0 +1,138 @@ +------------------------------------------------------------------- +Sun Nov 03 02:35:26 UTC 2024 - mrueckert@suse.de + +- Update to version 12.2.72.0: + * Update headers from Video SDK 12.2 + * Bump for (in-dev) 12.1.14.1 + * Add cuCtxGetCurrent function + * Add cuDriverGetVersion + * Update headers from Video SDK 12.1 + +------------------------------------------------------------------- +Mon Oct 30 11:13:20 UTC 2023 - bjorn.lie@gmail.com + +- Update to version 12.0.16.1: + * Add cuCtxGetCurrent function + * Add cuDriverGetVersion + * Add missing cuStreamWaitEvent function + * Add functions to identify devices in more ways + * Add cuArrayCreate + * Update README + * Remove AV1 High Profile GUID + * Update for final release of Video Codec SDK 12.0.16 + * Add missing SDK 12.0 bits + +------------------------------------------------------------------- +Mon Oct 30 10:31:36 UTC 2023 - Bjørn Lie + +- Update to version 11.1.5.3: + * Add cuCtxGetCurrent function + * Add cuDriverGetVersion + * Add missing cuStreamWaitEvent function + * Add functions to identify devices in more ways + * Add cuArrayCreate + +------------------------------------------------------------------- +Wed Apr 26 19:10:54 UTC 2023 - Carsten Ziepke + +- Update to version 11.1.5.2: + * Add D3D11 interop functions + * Fix codestyle + +------------------------------------------------------------------- +Mon Jan 24 04:39:04 UTC 2022 - malcolmlewis@opensuse.org + +- Update to version 11.1.5.1: + * Update forgotten version number in README. + * Add a subset of CUDA EGLStreams interop API. + * Add CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHOR. + * Add timeline semaphore type. + +------------------------------------------------------------------- +Fri Oct 29 07:50:01 UTC 2021 - Bjørn Lie + +- Update to version 11.1.5.0: + * Update headers from Video SDK 11.1 + +------------------------------------------------------------------- +Sun Nov 22 03:40:20 UTC 2020 - Mia Herkt + +- Update to 11.0.10.0: + * Update headers from Video SDK 11.0 + +------------------------------------------------------------------- +Sun Oct 11 21:09:28 UTC 2020 - Mia Herkt + +- Update to 10.0.26.1: + * Add linker functions and types + * Fix CUdeviceptr definition for ARM64 CPU + +------------------------------------------------------------------- +Tue Jul 7 22:26:12 UTC 2020 - Mia Herkt + +- Update to 10.0.26.0: + * Update headers from Video SDK 10.0 + +------------------------------------------------------------------- +Wed May 6 12:42:44 UTC 2020 - Martin Pluskal + +- Update to version 9.1.23.1: + * Add primary context management functions + +------------------------------------------------------------------- +Tue Nov 26 03:51:19 UTC 2019 - Martin Herkt <9+suse@cirno.systems> + +- Update to version 9.1.23.0 + * Add cuCtxGetDevice + * Use pointer-to-struct typedefs for pointer-to-struct types + * Update headers from Video SDK 9.1 release + +------------------------------------------------------------------- +Mon Jun 17 23:34:03 UTC 2019 - Bjørn Lie + +- Update to version 9.0.18.1 + * Fix CUdeviceptr definition for 64bit CPU +- Changes from version 9.0.18.0 + * Initial release for SDK 9.0 + +------------------------------------------------------------------- +Sat Feb 23 02:10:38 UTC 2019 - Martin Herkt <9+suse@cirno.systems> + +- Update to version 8.2.15.7 + * Add cuMipmappedArrayDestroy + +------------------------------------------------------------------- +Wed Dec 5 23:59:44 UTC 2018 - Martin Herkt <9+suse@cirno.systems> + +- Update to version 8.2.15.6 + * CUDA 10: Add external semaphore API + * Add a subset of CUDA kernel interaction API + * Add CUDA function cuMemAllocPitch + +------------------------------------------------------------------- +Tue Nov 6 17:14:47 UTC 2018 - Martin Herkt <9+suse@cirno.systems> + +- Update to version 8.2.15.5 + * Add CUDA function cuDeviceGetAttribute V2 + * Guard against multiple definitions of CUuuid + * Add cuGetDeviceUuid, load as optional function + +------------------------------------------------------------------- +Sun Oct 7 19:29:11 UTC 2018 - Martin Herkt <9+suse@cirno.systems> + +- Update to version 8.2.15.1 + * Update for CUDA 10 + This adds support for the CUDA/Vulkan interop API, which + requires very new driver versions. As such, we allow the + symbols to be optionally loaded. + +------------------------------------------------------------------- +Fri Jun 29 21:37:39 UTC 2018 - 9+suse@cirno.systems + +- Update to version 8.1.24.2 + * SDK 8.1 + +------------------------------------------------------------------- +Fri Jun 29 00:27:13 UTC 2018 - 9+suse@cirno.systems + +- Init, 8.0.14.2 diff --git a/ffnvcodec.spec b/ffnvcodec.spec new file mode 100644 index 0000000..427975d --- /dev/null +++ b/ffnvcodec.spec @@ -0,0 +1,54 @@ +# +# spec file for package ffnvcodec +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: ffnvcodec +Version: 12.2.72.0 +Release: 0 +Summary: FFmpeg version of NVIDIA codec API headers +License: MIT +Group: Development/Libraries/C and C++ +URL: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git +Source: nv-codec-headers-%{version}.tar.xz +BuildRequires: pkgconfig + +%description +This package contains the headers required for FFmpeg to interface +with NVIDIA codec APIs. + +%package -n %{name}-devel +Summary: FFmpeg version of NVIDIA codec API headers +Group: Development/Libraries/C and C++ + +%description -n %{name}-devel +This package contains the headers required for FFmpeg to interface +with NVIDIA codec APIs. + +%prep +%setup -q -n nv-codec-headers-%{version} + +%build + +%install +make PREFIX=%{_prefix} LIBDIR=%{_lib} DESTDIR=%{buildroot} install + +%files -n %{name}-devel +%doc README +%{_includedir}/%{name} +%{_libdir}/pkgconfig/%{name}.pc + +%changelog diff --git a/nv-codec-headers-12.0.16.1.tar.xz b/nv-codec-headers-12.0.16.1.tar.xz new file mode 100644 index 0000000..92f9b2c --- /dev/null +++ b/nv-codec-headers-12.0.16.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94f066254229b22df5cc08fd1e1992c18fc790f466814ce8d8e4c90d424cb6f7 +size 63388 diff --git a/nv-codec-headers-12.2.72.0.tar.xz b/nv-codec-headers-12.2.72.0.tar.xz new file mode 100644 index 0000000..5d6b357 --- /dev/null +++ b/nv-codec-headers-12.2.72.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5719e8a430cf99b9fc42cef8a009ee9dd8742b886e57917962e40a47f1c1e8c7 +size 65800