Browse Source

[community-testing] -> [community] 'obs-studio-27.1.3-1' move

master
Nathan Owens 2 months ago
parent
commit
bcb32a9ecc
  1. 49
      x86_64/community-testing/PKGBUILD
  2. 24
      x86_64/community-testing/fix_python_binary_loading.patch
  3. 9
      x86_64/community/PKGBUILD

49
x86_64/community-testing/PKGBUILD

@ -1,49 +0,0 @@
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Benjamin Klettbach <b.klettbach@gmail.com>
pkgname=obs-studio
pkgver=27.1.3
pkgrel=1
pkgdesc="Free, open source software for live streaming and recording"
arch=('x86_64')
url="https://obsproject.com"
license=('GPL2')
depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'mbedtls'
'qt5-svg' 'curl' 'jack' 'gtk-update-icon-cache' 'pipewire' 'libxcomposite')
makedepends=('cmake' 'libfdk-aac' 'x264' 'swig' 'python' 'luajit' 'sndio')
optdepends=('libfdk-aac: FDK AAC codec support'
'libva-intel-driver: hardware encoding'
'libva-mesa-driver: hardware encoding'
'luajit: scripting support'
'python: scripting support'
'sndio: Sndio input client'
'v4l2loopback-dkms: virtual camera support')
source=($pkgname-$pkgver.tar.gz::https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz
fix_python_binary_loading.patch)
md5sums=('fc9df69561e3f1b140f7234b440a02bf'
'051b90f05e26bff99236b8fb1ad377d1')
prepare() {
cd $pkgname-$pkgver
patch -Np1 < "$srcdir"/fix_python_binary_loading.patch
}
build() {
cd $pkgname-$pkgver
mkdir -p build; cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-DBUILD_BROWSER=OFF \
-DBUILD_VST=OFF \
-DDISABLE_VLC=ON \
-DOBS_VERSION_OVERRIDE="$pkgver-$pkgrel" ..
make
}
package() {
cd $pkgname-$pkgver/build
make install DESTDIR="$pkgdir"
}

24
x86_64/community-testing/fix_python_binary_loading.patch

@ -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,

9
x86_64/community/PKGBUILD

@ -2,8 +2,8 @@
# Contributor: Benjamin Klettbach <b.klettbach@gmail.com>
pkgname=obs-studio
pkgver=27.0.1
pkgrel=3
pkgver=27.1.3
pkgrel=1
pkgdesc="Free, open source software for live streaming and recording"
arch=('x86_64')
url="https://obsproject.com"
@ -19,15 +19,12 @@ optdepends=('libfdk-aac: FDK AAC codec support'
'sndio: Sndio input client'
'v4l2loopback-dkms: virtual camera support')
source=($pkgname-$pkgver.tar.gz::https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz
linux-capture_pipewire.patch::https://github.com/obsproject/obs-studio/commit/ef0540c0d7df64b6cb148c80d566281a4ff3ba5c.patch
fix_python_binary_loading.patch)
md5sums=('48b51f558858f512928efda0f3aee1a1'
'ff855407700e3c8e9b956c562528a306'
md5sums=('fc9df69561e3f1b140f7234b440a02bf'
'051b90f05e26bff99236b8fb1ad377d1')
prepare() {
cd $pkgname-$pkgver
patch -Np1 < "$srcdir"/linux-capture_pipewire.patch
patch -Np1 < "$srcdir"/fix_python_binary_loading.patch
}

Loading…
Cancel
Save