* [PR PATCH] ffmpeg: update to 4.4.4.
@ 2023-04-20 19:44 mhmdanas
2023-04-28 18:37 ` [PR PATCH] [Updated] " mhmdanas
2023-05-19 15:30 ` [PR PATCH] [Merged]: " ahesford
0 siblings, 2 replies; 3+ messages in thread
From: mhmdanas @ 2023-04-20 19:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]
There is a new pull request by mhmdanas against master on the void-packages repository
https://github.com/mhmdanas/void-packages ffmpeg-4.4.4
https://github.com/void-linux/void-packages/pull/43556
ffmpeg: update to 4.4.4.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/43556.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ffmpeg-4.4.4-43556.patch --]
[-- Type: text/x-diff, Size: 2138 bytes --]
From 689ca0446c55a8af2936b44cacdbb3ab355f84fc Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 20 Apr 2023 20:44:01 +0100
Subject: [PATCH] ffmpeg: update to 4.4.4.
---
srcpkgs/ffmpeg/template | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template
index 23a3d5c9967b..213088985514 100644
--- a/srcpkgs/ffmpeg/template
+++ b/srcpkgs/ffmpeg/template
@@ -1,17 +1,17 @@
# Template file for 'ffmpeg'
# audacity also needs to be bumped when a new ffmpeg version bumps libavformat's soname!
pkgname=ffmpeg
-version=4.4.3
-revision=2
+version=4.4.4
+revision=1
short_desc="Decoding, encoding and streaming software"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.ffmpeg.org"
changelog="https://raw.githubusercontent.com/FFmpeg/FFmpeg/master/Changelog"
distfiles="https://www.ffmpeg.org/releases/ffmpeg-${version}.tar.xz"
-checksum=6c5b6c195e61534766a0b5fe16acc919170c883362612816d0a1c7f4f947006e
+checksum=e80b380d595c809060f66f96a5d849511ef4a76a26b76eacf5778b94c3570309
-hostmakedepends="pkg-config perl yasm"
+hostmakedepends="pkg-config perl"
makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-devel
libXext-devel libXvMC-devel libxcb-devel lame-devel libtheora-devel
libvorbis-devel x264-devel xvidcore-devel jack-devel SDL2-devel
@@ -39,7 +39,10 @@ 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 nvdec";;
+ i686*|x86_64*)
+ hostmakedepends+=" nasm"
+ build_options_default+=" vaapi vdpau nvenc nvdec"
+ ;;
ppc64*) build_options_default+=" vaapi vdpau";;
mips*) CFLAGS="-mnan=legacy";;
esac
@@ -71,7 +74,7 @@ post_patch() {
do_configure() {
# Fix gcc on x86_64-musl only
if [ "$XBPS_TARGET_MACHINE" = "x86_64-musl" ]; then
- sed -i configure -e "s;_cflags_speed='-O3';_cflags_speed='-O2';"
+ vsed -i configure -e "s;_cflags_speed='-O3';_cflags_speed='-O2';"
fi
if [ "$CROSS_BUILD" ]; then
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] ffmpeg: update to 4.4.4.
2023-04-20 19:44 [PR PATCH] ffmpeg: update to 4.4.4 mhmdanas
@ 2023-04-28 18:37 ` mhmdanas
2023-05-19 15:30 ` [PR PATCH] [Merged]: " ahesford
1 sibling, 0 replies; 3+ messages in thread
From: mhmdanas @ 2023-04-28 18:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1229 bytes --]
There is an updated pull request by mhmdanas against master on the void-packages repository
https://github.com/mhmdanas/void-packages ffmpeg-4.4.4
https://github.com/void-linux/void-packages/pull/43556
ffmpeg: update to 4.4.4.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/43556.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ffmpeg-4.4.4-43556.patch --]
[-- Type: text/x-diff, Size: 4363 bytes --]
From 48cabb59879312c609f771f2262ca9d7a63364cd Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 20 Apr 2023 20:44:01 +0100
Subject: [PATCH] ffmpeg: update to 4.4.4.
---
srcpkgs/ffmpeg/template | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template
index 23a3d5c9967b..df4179d1963a 100644
--- a/srcpkgs/ffmpeg/template
+++ b/srcpkgs/ffmpeg/template
@@ -1,17 +1,17 @@
# Template file for 'ffmpeg'
# audacity also needs to be bumped when a new ffmpeg version bumps libavformat's soname!
pkgname=ffmpeg
-version=4.4.3
-revision=2
+version=4.4.4
+revision=1
short_desc="Decoding, encoding and streaming software"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.ffmpeg.org"
changelog="https://raw.githubusercontent.com/FFmpeg/FFmpeg/master/Changelog"
distfiles="https://www.ffmpeg.org/releases/ffmpeg-${version}.tar.xz"
-checksum=6c5b6c195e61534766a0b5fe16acc919170c883362612816d0a1c7f4f947006e
+checksum=e80b380d595c809060f66f96a5d849511ef4a76a26b76eacf5778b94c3570309
-hostmakedepends="pkg-config perl yasm"
+hostmakedepends="pkg-config perl"
makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-devel
libXext-devel libXvMC-devel libxcb-devel lame-devel libtheora-devel
libvorbis-devel x264-devel xvidcore-devel jack-devel SDL2-devel
@@ -39,7 +39,10 @@ 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 nvdec";;
+ i686*|x86_64*)
+ hostmakedepends+=" nasm"
+ build_options_default+=" vaapi vdpau nvenc nvdec"
+ ;;
ppc64*) build_options_default+=" vaapi vdpau";;
mips*) CFLAGS="-mnan=legacy";;
esac
@@ -71,7 +74,7 @@ post_patch() {
do_configure() {
# Fix gcc on x86_64-musl only
if [ "$XBPS_TARGET_MACHINE" = "x86_64-musl" ]; then
- sed -i configure -e "s;_cflags_speed='-O3';_cflags_speed='-O2';"
+ vsed -i configure -e "s;_cflags_speed='-O3';_cflags_speed='-O2';"
fi
if [ "$CROSS_BUILD" ]; then
@@ -127,10 +130,12 @@ do_configure() {
$(vopt_if nvenc '--enable-nvenc') \
$(vopt_if nvdec '--enable-nvdec')
}
+
do_build() {
make ${makejobs}
make doc/ff{mpeg,play}.1
}
+
do_install() {
make DESTDIR=${DESTDIR} install install-man
}
@@ -141,54 +146,63 @@ libavcodec_package() {
vmove "usr/lib/libavcodec.so.*"
}
}
+
libavdevice_package() {
short_desc="FFmpeg device handling library"
pkg_install() {
vmove "usr/lib/libavdevice.so.*"
}
}
+
libavresample_package() {
short_desc="FFmpeg audio resampling library"
pkg_install() {
vmove "usr/lib/libavresample.so.*"
}
}
+
libavformat_package() {
short_desc="FFmpeg file format library"
pkg_install() {
vmove "usr/lib/libavformat.so.*"
}
}
+
libavutil_package() {
short_desc="FFmpeg utility library"
pkg_install() {
vmove "usr/lib/libavutil.so.*"
}
}
+
libavfilter_package() {
short_desc="FFmpeg audio/video filter library"
pkg_install() {
vmove "usr/lib/libavfilter.so.*"
}
}
+
libpostproc_package() {
short_desc="FFmpeg video postprocessing library"
pkg_install() {
vmove "usr/lib/libpostproc.so.*"
}
}
+
libswscale_package() {
short_desc="FFmpeg video scaling library"
pkg_install() {
vmove "usr/lib/libswscale.so.*"
}
}
+
libswresample_package() {
short_desc="FFmpeg video resampling library"
pkg_install() {
vmove "usr/lib/libswresample.so.*"
}
}
+
ffmpeg-devel_package() {
depends="
libavcodec>=${version}_${revision}
@@ -201,15 +215,22 @@ ffmpeg-devel_package() {
libswresample>=${version}_${revision}
libavresample>=${version}_${revision}"
short_desc+=" - development files"
+
+ if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
+ # /usr/bin/strip: error: the input file '/destdir//ffmpeg-devel-4.4.4/usr/lib/libavfilter.a(vf_atadenoise.o)' has no sections
+ nostrip_files="/usr/lib/libavfilter.a"
+ fi
+
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
- vmove usr/lib/*.a
- vmove usr/lib/*.so
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
vmove usr/share/ffmpeg/examples
vmove usr/share/man/man3
}
}
+
ffplay_package() {
short_desc="Simple video player using FFmpeg and SDL2"
pkg_install() {
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: ffmpeg: update to 4.4.4.
2023-04-20 19:44 [PR PATCH] ffmpeg: update to 4.4.4 mhmdanas
2023-04-28 18:37 ` [PR PATCH] [Updated] " mhmdanas
@ 2023-05-19 15:30 ` ahesford
1 sibling, 0 replies; 3+ messages in thread
From: ahesford @ 2023-05-19 15:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]
There's a merged pull request on the void-packages repository
ffmpeg: update to 4.4.4.
https://github.com/void-linux/void-packages/pull/43556
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-19 15:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 19:44 [PR PATCH] ffmpeg: update to 4.4.4 mhmdanas
2023-04-28 18:37 ` [PR PATCH] [Updated] " mhmdanas
2023-05-19 15:30 ` [PR PATCH] [Merged]: " ahesford
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).