From: mamins1376 <mamins1376@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ffmpeg: Add support for webp codec
Date: Mon, 21 Sep 2020 14:30:44 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25009@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 424 bytes --]
There is a new pull request by mamins1376 against master on the void-packages repository
https://github.com/mamins1376/void-packages ffmpeg-webp
https://github.com/void-linux/void-packages/pull/25009
ffmpeg: Add support for webp codec
Adds dependency on `libwebp` with `--enable-libwebp`, behind enabled-by-default feature `webp`.
A patch file from https://github.com/void-linux/void-packages/pull/25009.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ffmpeg-webp-25009.patch --]
[-- Type: text/x-diff, Size: 1970 bytes --]
From 63c5c6c3ff2c2e5033667b8b66ba8139c6f3aa29 Mon Sep 17 00:00:00 2001
From: Mohammad Amin Sameti <mamins1376@gmail.com>
Date: Mon, 21 Sep 2020 15:53:02 +0330
Subject: [PATCH] ffmpeg: Add support for webp codec
---
srcpkgs/ffmpeg/template | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template
index 94af48561be..7dca3bf485c 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.3.1
-revision=2
+revision=3
short_desc="Decoding, encoding and streaming software"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
license="GPL-3.0-or-later"
@@ -22,11 +22,12 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
$(vopt_if v4l2 v4l-utils-devel) $(vopt_if faac faac-devel) $(vopt_if fdk_aac fdk-aac-devel)
$(vopt_if vpx libvpx-devel) $(vopt_if aom libaom-devel)
$(vopt_if nvenc nv-codec-headers) $(vopt_if sndio sndio-devel)
- $(vopt_if dav1d libdav1d-devel) $(vopt_if zimg zimg-devel)"
+ $(vopt_if dav1d libdav1d-devel) $(vopt_if zimg zimg-devel)
+ $(vopt_if webp libwebp-devel)"
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc sndio pulseaudio
- dav1d zimg"
-build_options_default="x265 v4l2 vpx aom sndio pulseaudio dav1d"
+ dav1d zimg webp"
+build_options_default="x265 v4l2 vpx aom sndio pulseaudio dav1d webp"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) build_options_default+=" vaapi vdpau nvenc";;
@@ -94,7 +95,8 @@ do_configure() {
$(vopt_enable aom libaom) $(vopt_enable vaapi) $(vopt_enable vdpau) \
--enable-libbs2b --enable-avresample --enable-libvidstab \
$(vopt_if dav1d '--enable-libdav1d') \
- $(vopt_if zimg '--enable-libzimg')
+ $(vopt_if zimg '--enable-libzimg') \
+ $(vopt_if webp '--enable-libwebp')
}
do_build() {
rm ${XBPS_WRAPPERDIR}/strip
next reply other threads:[~2020-09-21 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-21 12:30 mamins1376 [this message]
2020-09-22 0:29 ` [PR PATCH] [Merged]: " ahesford
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-25009@inbox.vuxu.org \
--to=mamins1376@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).