mirror of
https://github.com/luzifer-aur/obs-studio-browser.git
synced 2024-11-08 13:20:02 +00:00
Add support for obs browser source
This commit is contained in:
parent
1754a5d915
commit
538435fbb2
3 changed files with 19 additions and 9 deletions
10
.SRCINFO
10
.SRCINFO
|
@ -1,7 +1,7 @@
|
|||
pkgbase = obs-studio-git
|
||||
pkgdesc = Free and open source software for video recording and live streaming.
|
||||
pkgver = 23.2.1.r188.gae83c857d
|
||||
pkgrel = 2
|
||||
pkgver = 24.0.3.r570.g57b47ca90
|
||||
pkgrel = 1
|
||||
url = https://github.com/obsproject/obs-studio
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
|
@ -16,6 +16,7 @@ pkgbase = obs-studio-git
|
|||
makedepends = swig
|
||||
makedepends = luajit
|
||||
makedepends = python
|
||||
makedepends = cef-minimal
|
||||
depends = ffmpeg
|
||||
depends = jansson
|
||||
depends = libxinerama
|
||||
|
@ -30,10 +31,13 @@ pkgbase = obs-studio-git
|
|||
optdepends = swig: Scripting
|
||||
optdepends = luajit: Lua scripting
|
||||
optdepends = python: Python scripting
|
||||
provides = obs-studio=23.2.1.r188.gae83c857d
|
||||
optdepends = cef-minimal: OBS Browser Source
|
||||
provides = obs-studio=24.0.3.r570.g57b47ca90
|
||||
conflicts = obs-studio
|
||||
source = obs-studio-git::git+https://github.com/obsproject/obs-studio.git#branch=master
|
||||
source = git+https://github.com/Mixer/ftl-sdk.git
|
||||
source = git+https://github.com/obsproject/obs-browser.git
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
|||
*.tar
|
||||
obs-studio-git/
|
||||
ftl-sdk
|
||||
obs-browser
|
||||
pkg/
|
||||
src/
|
||||
|
||||
|
|
17
PKGBUILD
17
PKGBUILD
|
@ -3,8 +3,8 @@
|
|||
# Contributor: ArcticVanguard <LideEmily at gmail dot com>
|
||||
# Contributor: ledti <antergist at gmail dot com>
|
||||
pkgname=obs-studio-git
|
||||
pkgver=23.2.1.r188.gae83c857d
|
||||
pkgrel=2
|
||||
pkgver=24.0.3.r570.g57b47ca90
|
||||
pkgrel=1
|
||||
pkgdesc="Free and open source software for video recording and live streaming."
|
||||
arch=("i686" "x86_64")
|
||||
url="https://github.com/obsproject/obs-studio"
|
||||
|
@ -12,19 +12,21 @@ license=("GPL2")
|
|||
depends=("ffmpeg" "jansson" "libxinerama" "libxkbcommon-x11"
|
||||
"qt5-x11extras" "curl" "gtk-update-icon-cache")
|
||||
makedepends=("cmake" "git" "libfdk-aac" "libxcomposite" "x264" "jack"
|
||||
"vlc" "swig" "luajit" "python")
|
||||
"vlc" "swig" "luajit" "python" "cef-minimal")
|
||||
optdepends=("libfdk-aac: FDK AAC codec support"
|
||||
"libxcomposite: XComposite capture support"
|
||||
"jack: JACK Support"
|
||||
"vlc: VLC Media Source"
|
||||
"swig: Scripting"
|
||||
"luajit: Lua scripting"
|
||||
"python: Python scripting")
|
||||
"python: Python scripting"
|
||||
"cef-minimal: OBS Browser Source")
|
||||
provides=("obs-studio=$pkgver")
|
||||
conflicts=("obs-studio")
|
||||
source=("$pkgname::git+https://github.com/obsproject/obs-studio.git#branch=master"
|
||||
"git+https://github.com/Mixer/ftl-sdk.git")
|
||||
md5sums=("SKIP" "SKIP")
|
||||
"git+https://github.com/Mixer/ftl-sdk.git"
|
||||
"git+https://github.com/obsproject/obs-browser.git")
|
||||
md5sums=("SKIP" "SKIP" "SKIP")
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
|
@ -34,6 +36,7 @@ pkgver() {
|
|||
prepare() {
|
||||
cd $pkgname
|
||||
git config submodule.plugins/obs-outputs/ftl-sdk.url $srcdir/ftl-sdk
|
||||
git config submodule.plugins/plugins/obs-browser.url $srcdir/obs-browser
|
||||
git submodule update
|
||||
}
|
||||
|
||||
|
@ -45,6 +48,8 @@ build() {
|
|||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_BROWSER=ON \
|
||||
-DCEF_ROOT_DIR="/opt/cef" \
|
||||
-DOBS_VERSION_OVERRIDE=$pkgver ..
|
||||
|
||||
make
|
||||
|
|
Loading…
Reference in a new issue