diff options
author | tytan652 | 2021-06-02 16:11:01 +0200 |
---|---|---|
committer | tytan652 | 2021-06-02 16:11:01 +0200 |
commit | cf4bb9e05dfdfeec7350141e24bf28c61eac8516 (patch) | |
tree | ff795fde36396fe46a0e9fdcdf29473987b61ffb | |
parent | 66900d47e56b92649dd3288cd0c9b9ff8518e049 (diff) | |
download | aur-cf4bb9e05dfdfeec7350141e24bf28c61eac8516.tar.gz |
build: Bump to OBS 27
-rw-r--r-- | .SRCINFO | 33 | ||||
-rw-r--r-- | PKGBUILD | 57 | ||||
-rw-r--r-- | fix_python_binary_loading.patch | 24 |
3 files changed, 42 insertions, 72 deletions
@@ -1,36 +1,19 @@ pkgbase = obs-recursion-effect pkgdesc = Plugin for add recursion effect to a source using a filter pkgver = 0.0.3 - pkgrel = 1 - url = https://github.com/exeldro/obs-recursion-effect + pkgrel = 2 + url = https://obsproject.com/forum/resources/recursion-effect.1008/ + arch = i686 arch = x86_64 + arch = aarch64 license = GPL2 makedepends = cmake - makedepends = libfdk-aac - makedepends = libxcomposite - makedepends = x264 - makedepends = vlc - makedepends = swig - makedepends = python - makedepends = luajit - makedepends = ffmpeg - makedepends = jansson - makedepends = libxinerama - makedepends = libxkbcommon-x11 - makedepends = mbedtls - makedepends = qt5-svg - makedepends = qt5-x11extras - makedepends = curl - makedepends = jack - makedepends = gtk-update-icon-cache makedepends = git - depends = obs-studio + makedepends = libxcomposite + depends = obs-studio>=27.0.0 source = obs-recursion-effect-0.0.3::git+https://github.com/exeldro/obs-recursion-effect#commit=a4b92d836224a80eb7d61cc7f6b839290faf1864 - source = obs-studio-26.1.2.tar.gz::https://github.com/obsproject/obs-studio/archive/26.1.2.tar.gz - source = fix_python_binary_loading.patch + source = obs-studio-27.0.0.tar.gz::https://github.com/obsproject/obs-studio/archive/27.0.0.tar.gz sha256sums = SKIP - sha256sums = bc8b4c61ba4aae87b70c589a6a5b8538e4f03121b31e9b98a2071d9f6006b897 - sha256sums = bdfbd062f080bc925588aec1989bb1df34bf779cc2fc08ac27236679cf612abd + sha256sums = c7ea5369f4c94203a8a81b73c6372873f08ab9e5b20860691dad2c29f5dda85e pkgname = obs-recursion-effect - @@ -1,35 +1,28 @@ # Maintainer: tytan652 <tytan652@tytanium.xyz> -pkgname=obs-recursion-effect +_pluginname=recursion-effect +pkgname=obs-$_pluginname pkgver=0.0.3 -_obsver=26.1.2 -pkgrel=1 +_obsver=27.0.0 +pkgrel=2 pkgdesc="Plugin for add recursion effect to a source using a filter" -arch=('x86_64') -url="https://github.com/exeldro/obs-recursion-effect" +arch=("i686" "x86_64" "aarch64") +url="https://obsproject.com/forum/resources/recursion-effect.1008/" license=("GPL2") -depends=("obs-studio") -# Need to compile plugin in OBS compilation process -makedepends=( - 'cmake' 'libfdk-aac' 'libxcomposite' 'x264' 'vlc' 'swig' 'python' - 'luajit' 'ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'mbedtls' - 'qt5-svg' 'qt5-x11extras' 'curl' 'jack' 'gtk-update-icon-cache' 'git' -) +depends=("obs-studio>=$_obsver") +makedepends=("cmake" "git" "libxcomposite") source=( "$pkgname-$pkgver::git+https://github.com/exeldro/obs-recursion-effect#commit=a4b92d836224a80eb7d61cc7f6b839290faf1864" "obs-studio-$_obsver.tar.gz::https://github.com/obsproject/obs-studio/archive/$_obsver.tar.gz" - "fix_python_binary_loading.patch" ) sha256sums=( - 'SKIP' - 'bc8b4c61ba4aae87b70c589a6a5b8538e4f03121b31e9b98a2071d9f6006b897' - 'bdfbd062f080bc925588aec1989bb1df34bf779cc2fc08ac27236679cf612abd' + "SKIP" + "c7ea5369f4c94203a8a81b73c6372873f08ab9e5b20860691dad2c29f5dda85e" ) prepare() { rm -rf fakeroot - cd "obs-studio-$_obsver" - patch -Np1 < "$srcdir"/fix_python_binary_loading.patch - cd plugins + + cd "obs-studio-$_obsver"/plugins cp -r "$srcdir/$pkgname-$pkgver" . echo "add_subdirectory($pkgname-$pkgver)" | tee -a CMakeLists.txt >/dev/null } @@ -38,8 +31,26 @@ prepare() { build() { cd "obs-studio-$_obsver" cmake -B build \ - -DCMAKE_INSTALL_PREFIX='/usr' \ - -DBUILD_CAPTIONS=ON + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DDISABLE_UI=ON \ + -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 + make -C build } @@ -49,6 +60,6 @@ package() { cd "obs-studio-$_obsver" make -C build DESTDIR="$srcdir/fakeroot/" install - cp -a "$srcdir"/fakeroot/usr/lib/obs-plugins/recursion-effect.so "$pkgdir"/usr/lib/obs-plugins/ - cp -a "$srcdir"/fakeroot/usr/share/obs/obs-plugins/recursion-effect "$pkgdir"/usr/share/obs/obs-plugins/ + cp -a "$srcdir"/fakeroot/usr/lib/obs-plugins/$_pluginname.so "$pkgdir"/usr/lib/obs-plugins/ + cp -a "$srcdir"/fakeroot/usr/share/obs/obs-plugins/$_pluginname "$pkgdir"/usr/share/obs/obs-plugins/ }
\ No newline at end of file diff --git a/fix_python_binary_loading.patch b/fix_python_binary_loading.patch deleted file mode 100644 index 6cba55f2f1af..000000000000 --- a/fix_python_binary_loading.patch +++ /dev/null @@ -1,24 +0,0 @@ -From c482159ce93deafc7f1fc5755ba15135709ae726 Mon Sep 17 00:00:00 2001 -From: Matt Gajownik <matt@obsproject.com> -Date: Tue, 25 Aug 2020 19:28:26 +1000 -Subject: [PATCH] libobs/util: Fix loading Python binary modules on *nix - -Fixes #2222 ---- - libobs/util/platform-nix.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/libobs/util/platform-nix.c b/libobs/util/platform-nix.c -index 26800d52f7..997b62db1a 100644 ---- a/libobs/util/platform-nix.c -+++ b/libobs/util/platform-nix.c -@@ -71,7 +71,8 @@ void *os_dlopen(const char *path) - #ifdef __APPLE__ - void *res = dlopen(dylib_name.array, RTLD_LAZY | RTLD_FIRST); - #else -- void *res = dlopen(dylib_name.array, RTLD_LAZY); -+ void *res = dlopen(dylib_name.array, -+ RTLD_LAZY | RTLD_DEEPBIND | RTLD_GLOBAL); - #endif - if (!res) - blog(LOG_ERROR, "os_dlopen(%s->%s): %s\n", path, |