diff options
author | tytan652 | 2022-11-07 16:00:49 +0100 |
---|---|---|
committer | tytan652 | 2022-11-07 16:00:49 +0100 |
commit | 8a75ba045e2ee7b7e39e57b2f8265baa81e4901d (patch) | |
tree | 1d1871fcc5bdf6996eceba91b18fdd52b59f9c9f | |
parent | bcf5bf47ab01cd83218cdcede1fa09fd26469a30 (diff) | |
download | aur-8a75ba045e2ee7b7e39e57b2f8265baa81e4901d.tar.gz |
build: Fix building with newer FFmpeg
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 25 insertions, 22 deletions
@@ -1,7 +1,7 @@ pkgbase = obs-dynamic-delay pkgdesc = Filter for dynamic delaying a video source pkgver = 0.1.3 - pkgrel = 1 + pkgrel = 2 url = https://obsproject.com/forum/resources/dynamic-delay.1035/ arch = i686 arch = x86_64 @@ -12,10 +12,10 @@ pkgbase = obs-dynamic-delay makedepends = libxcomposite makedepends = ffmpeg makedepends = pciutils - depends = obs-studio>=27.2.0 + depends = obs-studio>=28.0.0 source = obs-dynamic-delay::git+https://github.com/exeldro/obs-dynamic-delay#commit=33456a177f830fe63f3bc618ed606465920d072c - source = obs-studio-27.2.0.tar.gz::https://github.com/obsproject/obs-studio/archive/27.2.0.tar.gz + source = obs-studio-28.0.0.tar.gz::https://github.com/obsproject/obs-studio/archive/28.0.0.tar.gz sha256sums = SKIP - sha256sums = c52d99cba6c536cb805e3e0f54663c33cfc43a1b7521bec97d241019499f9789 + sha256sums = 412a1a26699a6861dbbe93346310d002369c62e00626e8c3a77c127e5e1c06e8 pkgname = obs-dynamic-delay @@ -3,8 +3,8 @@ _pluginname=dynamic-delay pkgname=obs-$_pluginname pkgver=0.1.3 -_obsver=27.2.0 -pkgrel=1 +_obsver=28.0.0 +pkgrel=2 pkgdesc="Filter for dynamic delaying a video source" arch=("i686" "x86_64" "aarch64") url="https://obsproject.com/forum/resources/dynamic-delay.1035/" @@ -17,15 +17,16 @@ source=( ) sha256sums=( "SKIP" - "c52d99cba6c536cb805e3e0f54663c33cfc43a1b7521bec97d241019499f9789" + "412a1a26699a6861dbbe93346310d002369c62e00626e8c3a77c127e5e1c06e8" ) prepare() { rm -rf fakeroot cd "obs-studio-$_obsver"/plugins - cp -r "$srcdir/$pkgname" . + sed -i 's|check_obs_browser()||g' CMakeLists.txt + sed -i 's|FATAL_ERROR "obs-websocket|STATUS "obs-websocket|g' CMakeLists.txt echo "add_subdirectory($pkgname)" | tee -a CMakeLists.txt >/dev/null } @@ -35,23 +36,25 @@ build() { cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ - -DDISABLE_UI=ON \ + -DENABLE_UI=OFF \ -DENABLE_WAYLAND=OFF \ -DENABLE_PIPEWIRE=OFF \ -DENABLE_SCRIPTING=OFF \ - -DDISABLE_DECKLINK=ON \ - -DDISABLE_ALSA=ON \ - -DDISABLE_JACK=ON \ - -DDISABLE_PULSEAUDIO=ON \ - -DDISABLE_V4L2=ON \ - -DDISABLE_SPEEXDSP=ON \ - -DDISABLE_LIBFDK=ON \ - -DDISABLE_SNDIO=ON \ - -DDISABLE_FREETYPE=ON \ - -DDISABLE_VLC=ON \ - -DBUILD_BROWSER=OFF \ - -DBUILD_VST=OFF \ - -DWITH_RTMPS=OFF + -DENABLE_DECKLINK=OFF \ + -DENABLE_ALSA=OFF \ + -DENABLE_JACK=OFF \ + -DENABLE_PULSEAUDIO=OFF \ + -DENABLE_V4L2=OFF \ + -DENABLE_SPEEXDSP=OFF \ + -DENABLE_LIBFDK=OFF \ + -DENABLE_SNDIO=OFF \ + -DENABLE_FREETYPE=OFF \ + -DENABLE_VLC=OFF \ + -DENABLE_BROWSER=OFF \ + -DENABLE_VST=OFF \ + -DENABLE_RTMPS=OFF \ + -DENABLE_AJA=OFF \ + -DENABLE_NEW_MPEGTS_OUTPUT=OFF make -C build } |