Created
August 14, 2022 21:16
-
-
Save hannesmann/829a0bcd2a6f12933c4393f3dc0e7383 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/PKGBUILD 2022-03-27 23:40:31.000000000 +0200 | |
+++ b/PKGBUILD 2022-08-14 23:12:38.116131063 +0200 | |
@@ -2,8 +2,9 @@ | |
# Contributor: Jonathan Steel <jsteel at archlinux.org> | |
# Contributor: ArcticVanguard <LideEmily at gmail dot com> | |
# Contributor: ledti <antergist at gmail dot com> | |
+# Contributor: Hannes Mann <hannesmann2000 at gmail dot com> | |
pkgname=obs-studio-git | |
-pkgver=27.2.0.177 | |
+pkgver=28.0.0.beta2.29.g7b76619c4 | |
pkgrel=1 | |
pkgdesc="Free and open source software for video recording and live streaming." | |
arch=("i686" "x86_64") | |
@@ -11,7 +12,7 @@ | |
license=("GPL2") | |
depends=("ffmpeg" "jansson" "libxinerama" "libxkbcommon-x11" "mbedtls" | |
"qt5-svg" "qt5-x11extras" "curl" "jack" "gtk-update-icon-cache" | |
- "speexdsp" "pciutils" "libajantv2") | |
+ "speexdsp" "pciutils" "libajantv2" "librist") | |
makedepends=("cmake" "git" "libfdk-aac" "libxcomposite" "x264" | |
"vlc" "swig" "luajit" "python" "cef-minimal-obs-bin" "wayland" | |
"qt5-wayland" "pipewire" "xdg-desktop-portal") | |
@@ -32,13 +33,14 @@ | |
"git+https://github.com/Mixer/ftl-sdk.git" | |
"git+https://github.com/obsproject/obs-browser.git" | |
"git+https://github.com/obsproject/obs-vst.git" | |
+ "git+https://github.com/obsproject/obs-websocket.git" | |
"fix_python_binary_loading.patch") | |
-md5sums=("SKIP" "SKIP" "SKIP" "SKIP" | |
+md5sums=("SKIP" "SKIP" "SKIP" "SKIP" "SKIP" | |
"051b90f05e26bff99236b8fb1ad377d1") | |
pkgver() { | |
cd $pkgname | |
- git describe --long --tags | cut -d- -f1-2 | sed "s/-/\./" | |
+ git describe --always --tags | sed "s/-/\./g" | |
} | |
prepare() { | |
@@ -47,7 +49,11 @@ | |
git config submodule.plugins/obs-outputs/ftl-sdk.url $srcdir/ftl-sdk | |
git config submodule.plugins/obs-browser.url $srcdir/obs-browser | |
git config submodule.plugins/obs-vst.url $srcdir/obs-vst | |
+ git config submodule.plugins/obs-websocket.url $srcdir/obs-websocket | |
git submodule update | |
+ | |
+ cd plugins/obs-websocket | |
+ git submodule update --init | |
} | |
build() { | |
@@ -57,10 +63,9 @@ | |
cmake \ | |
-DCMAKE_INSTALL_PREFIX=/usr \ | |
- -DCMAKE_INSTALL_LIBDIR=lib \ | |
-DBUILD_BROWSER=ON \ | |
-DCEF_ROOT_DIR="/opt/cef-obs" \ | |
- -DOBS_VERSION_OVERRIDE=$pkgver .. | |
+ -DOBS_VERSION_OVERRIDE="$(git describe --always --tags)" .. | |
make | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment