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
This commit is contained in:
parent
044021a7a0
commit
fd1f941503
2 changed files with 10 additions and 1 deletions
|
@ -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="Simple video player using FFmpeg and SDL2"
|
||||
pkg_install() {
|
||||
vmove usr/bin/ffplay
|
||||
vmove "usr/share/man/man1/ffplay*"
|
||||
}
|
||||
}
|
||||
|
|
1
srcpkgs/ffplay
Symbolic link
1
srcpkgs/ffplay
Symbolic link
|
@ -0,0 +1 @@
|
|||
ffmpeg
|
Loading…
Reference in a new issue