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