summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authortytan6522024-06-22 08:36:15 +0200
committertytan6522024-06-22 08:36:15 +0200
commitcfd3128d63a5320089af3981b91b79ebb174b1e7 (patch)
treec3d8e756e5286c2805ae80c50f23dbe246a92af3 /PKGBUILD
parent3feb49a6996caa82c1f98f5762d6c18f13880706 (diff)
downloadaur-obs-studio-browser.tar.gz
build: FFmpeg 7 rebuild
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3fdf752e1e3d..09162998dc5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=obs-studio-browser
pkgver=30.1.2
-pkgrel=4
+pkgrel=5
pkgdesc="Free and open source software for video recording and live streaming. With everything except service integration"
arch=("x86_64" "aarch64")
url="https://github.com/obsproject/obs-studio"
@@ -21,7 +21,7 @@ _pythonver=3.12
depends=(
"alsa-lib" # Deps of ALSA plugin and CEF
"curl" # Deps of OBS Studio and rtmp-services plugin
- "ffmpeg-obs>=6" # Deps of OBS Studio and FFmpeg plugin
+ "ffmpeg-obs>=7" # Deps of OBS Studio and FFmpeg plugin
"fontconfig" # Deps of Freetype2 plugin
"freetype2" # Deps of Freetype2 plugin
"ftl-sdk" # Deps of Outputs plugin
@@ -140,6 +140,11 @@ prepare() {
git config submodule.plugins/obs-websocket.url $srcdir/obs-websocket
git -c protocol.file.allow=always submodule update
+ # obs-ffmpeg: Fix incompatible-pointer-types with FFmpeg 7
+ git cherry-pick -n 8dbad9ac2974f9db776838e3f87c57c15291e983
+ # linux-v4l2: Fix deprecation with FFmpeg 7
+ git cherry-pick -n 7d4501131a9e0014b23035168648a6175f7e7025
+
patch -Np1 -i "$srcdir/0001-Add_finder_for_uthash.patch"
patch -Np1 -i "$srcdir/0002-Use_system_uthash.patch"
patch -Np1 -i "$srcdir/0003-Update_to_libajantv2_17_legacy_path_only.patch"