obs-studio-browser/PKGBUILD

60 lines
1.8 KiB
Text
Raw Normal View History

# Maintainer: Alice Gaudon <alice at gaudon dot pro>
# Contributor: Benjamin Klettbach <b dot klettbach at gmail dot com >
# Contributor: Jonathan Steel <jsteel at archlinux.org>
2015-07-09 10:04:10 +00:00
# Contributor: ArcticVanguard <LideEmily at gmail dot com>
# Contributor: ledti <antergist at gmail dot com>
pkgname=obs-studio-browser
2020-12-15 13:18:33 +00:00
pkgver=26.1.0
2020-03-02 20:15:01 +00:00
pkgrel=1
pkgdesc="Free and open source software for video recording and live streaming. Built with the browser plugin."
arch=("i686" "x86_64")
2019-08-13 17:58:28 +00:00
url="https://github.com/obsproject/obs-studio"
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" "cef-minimal-3770")
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")
provides=("obs-studio=$pkgver")
conflicts=("obs-studio")
source=("$pkgname::git+https://github.com/obsproject/obs-studio.git#tag=$pkgver"
2020-03-02 20:15:01 +00:00
"git+https://github.com/Mixer/ftl-sdk.git"
"git+https://github.com/obsproject/obs-browser.git")
md5sums=("SKIP" "SKIP" "SKIP")
2015-07-09 10:04:10 +00:00
2017-08-30 17:49:33 +00:00
prepare() {
cd $pkgname
git config submodule.plugins/obs-outputs/ftl-sdk.url $srcdir/ftl-sdk
2020-03-03 14:47:17 +00:00
git config submodule.plugins/obs-browser.url $srcdir/obs-browser
2017-08-30 17:49:33 +00:00
git submodule update
}
2015-07-09 10:04:10 +00:00
build() {
cd $pkgname
mkdir -p build; cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
2019-08-13 18:06:12 +00:00
-DCMAKE_INSTALL_LIBDIR=lib \
2020-03-02 20:15:01 +00:00
-DBUILD_BROWSER=ON \
-DCEF_ROOT_DIR="/opt/cef" \
-DOBS_VERSION_OVERRIDE=$pkgver ..
make
2015-07-09 10:04:10 +00:00
}
package() {
cd $pkgname/build
make install DESTDIR="$pkgdir"
2015-07-09 10:04:10 +00:00
}
# vim: ts=2:sw=2:expandtab