From: dataCobra <dataCobra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ffmpeg: add option --enable-nvdec
Date: Mon, 22 Aug 2022 11:20:34 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38829@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 812 bytes --]
There is a new pull request by dataCobra against master on the void-packages repository
https://github.com/dataCobra/void-packages ffmpeg-enable-nvdec
https://github.com/void-linux/void-packages/pull/38829
ffmpeg: add option --enable-nvdec
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (crossbuild)
- aarch64-musl (crossbuild)
- armv7l (crossbuild)
- armv6l-musl (crossbuild)
This is an update to try fixing issue #38782.
@nvidiaLinuxUser, could you please test this PR for your system?
A patch file from https://github.com/void-linux/void-packages/pull/38829.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ffmpeg-enable-nvdec-38829.patch --]
[-- Type: text/x-diff, Size: 2282 bytes --]
From 43884ea4c71d31372e5bf00b6112e1099c52b1a7 Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Sun, 21 Aug 2022 11:53:20 +0200
Subject: [PATCH] ffmpeg: add option --enable-nvdec
---
srcpkgs/ffmpeg/template | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template
index 63d02eb3af18..c71bddeca406 100644
--- a/srcpkgs/ffmpeg/template
+++ b/srcpkgs/ffmpeg/template
@@ -2,7 +2,7 @@
# audacity also needs to be bumped when a new ffmpeg version bumps libavformat's soname!
pkgname=ffmpeg
version=4.4.2
-revision=2
+revision=3
short_desc="Decoding, encoding and streaming software"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
@@ -26,11 +26,12 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
$(vopt_if webp libwebp-devel) $(vopt_if sofa libmysofa-devel)
$(vopt_if vulkan 'vulkan-loader Vulkan-Headers')
$(vopt_if drm libdrm-devel) $(vopt_if svtav1 libsvt-av1-devel)
- $(vopt_if srt srt-devel) $(vopt_if rist librist-devel)"
+ $(vopt_if srt srt-devel) $(vopt_if rist librist-devel)
+ $(vopt_if nvdec nv-codec-headers)"
depends="ffplay>=${version}_${revision}"
build_options="x265 v4l2 vaapi vdpau vpx fdk_aac aom nvenc sndio pulseaudio
- dav1d zimg webp sofa vulkan drm svtav1 srt rist"
+ dav1d zimg webp sofa vulkan drm svtav1 srt rist nvdec"
build_options_default="x265 v4l2 vpx aom sndio pulseaudio dav1d webp vulkan drm srt rist"
desc_option_srt="Enable support for SRT (Secure, Reliable, Transport)"
desc_option_rist="Enable support for RIST (Reliable Internet Stream Transport)"
@@ -38,7 +39,7 @@ desc_option_sofa="Enable support for AES SOFA"
desc_option_webp="Enable support for WebP"
case "$XBPS_TARGET_MACHINE" in
- i686*|x86_64*) build_options_default+=" vaapi vdpau nvenc";;
+ i686*|x86_64*) build_options_default+=" vaapi vdpau nvenc nvdec";;
ppc64*) build_options_default+=" vaapi vdpau";;
mips*) CFLAGS="-mnan=legacy";;
esac
@@ -122,7 +123,8 @@ do_configure() {
$(vopt_enable drm libdrm) \
$(vopt_enable svtav1 libsvtav1) \
$(vopt_enable srt libsrt) \
- $(vopt_enable rist librist)
+ $(vopt_enable rist librist) \
+ $(vopt_enable nvdec)
}
do_build() {
make ${makejobs}
next reply other threads:[~2022-08-22 9:20 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-22 9:20 dataCobra [this message]
2022-08-22 11:02 ` [PR REVIEW] " sgn
2022-08-22 11:03 ` sgn
2022-08-22 12:34 ` [PR PATCH] [Updated] " dataCobra
2022-08-22 12:37 ` [PR REVIEW] " dataCobra
2022-08-22 12:38 ` dataCobra
2022-08-22 13:01 ` nvidiaLinuxUser
2022-08-22 13:01 ` nvidiaLinuxUser
2022-08-22 13:01 ` nvidiaLinuxUser
2022-08-22 13:02 ` nvidiaLinuxUser
2022-08-22 14:03 ` nvidiaLinuxUser
2022-08-22 14:04 ` nvidiaLinuxUser
2022-08-22 14:05 ` nvidiaLinuxUser
2022-08-22 14:07 ` nvidiaLinuxUser
2022-08-23 0:00 ` sgn
2022-08-23 22:35 ` abenson
2022-08-24 5:47 ` dataCobra
2022-08-24 12:45 ` abenson
2022-08-24 12:48 ` abenson
2022-08-24 12:59 ` dataCobra
2022-08-24 16:02 ` sgn
2022-08-24 16:53 ` [PR PATCH] [Merged]: " abenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38829@inbox.vuxu.org \
--to=datacobra@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).