2020-12-18 22:29:19 +00:00
|
|
|
# Maintainer: Knut Ahlers <knut at ahlers dot me>
|
|
|
|
# Contributor: Alice Gaudon <alice at gaudon dot pro>
|
2020-11-05 09:29:04 +00:00
|
|
|
# Contributor: Benjamin Klettbach <b dot klettbach at gmail dot com >
|
2016-03-07 14:50:41 +00:00
|
|
|
# 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>
|
2020-12-18 22:11:13 +00:00
|
|
|
|
2020-11-05 09:29:04 +00:00
|
|
|
pkgname=obs-studio-browser
|
2021-01-16 23:11:28 +00:00
|
|
|
pkgver=26.1.2
|
2021-01-07 00:43:56 +00:00
|
|
|
pkgrel=1
|
2020-11-05 09:29:04 +00:00
|
|
|
pkgdesc="Free and open source software for video recording and live streaming. Built with the browser plugin."
|
2016-03-07 14:50:41 +00:00
|
|
|
arch=("i686" "x86_64")
|
2019-08-13 17:58:28 +00:00
|
|
|
url="https://github.com/obsproject/obs-studio"
|
2016-03-07 14:50:41 +00:00
|
|
|
license=("GPL2")
|
2020-12-18 22:11:13 +00:00
|
|
|
depends=(
|
|
|
|
"curl"
|
|
|
|
"ffmpeg"
|
|
|
|
"gtk-update-icon-cache"
|
|
|
|
"jansson"
|
|
|
|
"libxinerama"
|
|
|
|
"libxkbcommon-x11"
|
|
|
|
"qt5-x11extras"
|
|
|
|
)
|
|
|
|
makedepends=(
|
|
|
|
"cef-minimal"
|
|
|
|
"cmake"
|
|
|
|
"git"
|
|
|
|
"jack"
|
|
|
|
"libfdk-aac"
|
|
|
|
"libxcomposite"
|
|
|
|
"luajit"
|
|
|
|
"python"
|
|
|
|
"swig"
|
|
|
|
"vlc"
|
|
|
|
"x264"
|
|
|
|
)
|
|
|
|
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"
|
|
|
|
"v4l2loopback-dkms: Virtual camera output"
|
|
|
|
)
|
2018-01-12 17:48:52 +00:00
|
|
|
provides=("obs-studio=$pkgver")
|
2016-03-07 14:50:41 +00:00
|
|
|
conflicts=("obs-studio")
|
2020-12-18 22:11:13 +00:00
|
|
|
source=(
|
|
|
|
"$pkgname::git+https://github.com/obsproject/obs-studio.git#tag=$pkgver"
|
|
|
|
)
|
2020-12-19 00:00:01 +00:00
|
|
|
sha256sums=('SKIP')
|
2015-07-09 10:04:10 +00:00
|
|
|
|
2017-08-30 17:49:33 +00:00
|
|
|
prepare() {
|
2020-12-18 22:11:13 +00:00
|
|
|
cd $pkgname
|
2020-12-19 00:00:01 +00:00
|
|
|
git submodule update --init --recursive
|
2017-08-30 17:49:33 +00:00
|
|
|
}
|
|
|
|
|
2015-07-09 10:04:10 +00:00
|
|
|
build() {
|
2020-12-18 22:11:13 +00:00
|
|
|
cd $pkgname
|
2016-03-07 14:50:41 +00:00
|
|
|
|
2020-12-18 22:11:13 +00:00
|
|
|
mkdir -p build
|
|
|
|
cd build
|
2016-03-07 14:50:41 +00:00
|
|
|
|
2020-12-18 22:11:13 +00:00
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_BROWSER=ON \
|
|
|
|
-DCEF_ROOT_DIR="/opt/cef" \
|
|
|
|
-DOBS_VERSION_OVERRIDE=$pkgver ..
|
2016-03-07 14:50:41 +00:00
|
|
|
|
2020-12-18 22:11:13 +00:00
|
|
|
make
|
2015-07-09 10:04:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-12-18 22:11:13 +00:00
|
|
|
cd $pkgname/build
|
2016-03-07 14:50:41 +00:00
|
|
|
|
2020-12-18 22:11:13 +00:00
|
|
|
make install DESTDIR="$pkgdir"
|
2015-07-09 10:04:10 +00:00
|
|
|
}
|
2016-08-30 19:29:09 +00:00
|
|
|
|
2018-01-25 19:13:49 +00:00
|
|
|
# vim: ts=2:sw=2:expandtab
|