Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] ffmpeg: split ffplay
Date: Mon, 26 Jul 2021 20:27:48 +0200	[thread overview]
Message-ID: <20210726182748.u8rucxwq679aQx9sRzZjePdhPCJk5MSbQj8DyrEWEnU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32170@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages ffmpeg-split-ffplay
https://github.com/void-linux/void-packages/pull/32170

ffmpeg: split ffplay
ffplay depends on SDL2 which has a lot of dependencies, some systems
like servers may wish to install ffmpeg, but without ffplay to avoid
the SDL2 dependency.

I think it would be nice if ffmpeg didn't depend on ffplay, but that could break for some people. Should I remove the dependency?

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

A patch file from https://github.com/void-linux/void-packages/pull/32170.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ffmpeg-split-ffplay-32170.patch --]
[-- Type: text/x-diff, Size: 1828 bytes --]

From 83565891a2b091fc13a59e22c7b6895df8bb3843 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sat, 24 Jul 2021 16:16:08 +0200
Subject: [PATCH] ffmpeg: split ffplay

ffplay depends on SDL2 which has a lot of dependencies, some systems
like servers may wish to install ffmpeg without ffplay to avoid the
SDL2 dependency
---
 srcpkgs/ffmpeg/template | 10 +++++++++-
 srcpkgs/ffplay          |  1 +
 2 files changed, 10 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/ffplay

diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template
index e6667478fe13..966c4e3b441b 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.2
-revision=1
+revision=2
 short_desc="Decoding, encoding and streaming software"
 maintainer="Johannes <johannes.brechtmann@gmail.com>"
 license="GPL-3.0-or-later"
@@ -24,6 +24,7 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
  $(vopt_if nvenc nv-codec-headers) $(vopt_if sndio sndio-devel)
  $(vopt_if dav1d libdav1d-devel) $(vopt_if zimg zimg-devel)
  $(vopt_if webp libwebp-devel) $(vopt_if sofa libmysofa-devel)"
+depends="ffplay>=${version}_${revision}"
 
 build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc sndio pulseaudio
  dav1d zimg webp sofa"
@@ -183,3 +184,10 @@ ffmpeg-devel_package() {
 		vmove usr/share/man/man3
 	}
 }
+ffplay_package() {
+	short_desc+="FFmpeg video resampling library"
+	pkg_install() {
+		vmove usr/bin/ffplay
+		vmove "usr/share/man/man1/ffplay*"
+	}
+}
diff --git a/srcpkgs/ffplay b/srcpkgs/ffplay
new file mode 120000
index 000000000000..a9f1eea092d5
--- /dev/null
+++ b/srcpkgs/ffplay
@@ -0,0 +1 @@
+ffmpeg
\ No newline at end of file

  parent reply	other threads:[~2021-07-26 18:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-24 14:20 [PR PATCH] " paper42
2021-07-24 20:48 ` [PR REVIEW] " ericonr
2021-07-26 18:27 ` paper42 [this message]
2021-07-26 19:29 ` ericonr
2021-07-26 20:57 ` [PR PATCH] [Updated] " paper42
2021-07-26 20:57 ` [PR REVIEW] " paper42
2021-07-27  3:45 ` [PR PATCH] [Merged]: " ericonr

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=20210726182748.u8rucxwq679aQx9sRzZjePdhPCJk5MSbQj8DyrEWEnU@z \
    --to=paper42@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).