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
|
2022-11-01 00:20:14 +00:00
|
|
|
pkgver=28.1.0
|
2022-09-22 19:20:15 +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=(
|
2022-09-10 13:31:17 +00:00
|
|
|
"curl"
|
|
|
|
"ffmpeg"
|
|
|
|
"gtk-update-icon-cache"
|
|
|
|
"jansson"
|
2022-09-10 13:37:59 +00:00
|
|
|
"libajantv2"
|
2022-09-10 13:31:17 +00:00
|
|
|
"libxinerama"
|
|
|
|
"libxkbcommon-x11"
|
2022-09-12 14:29:28 +00:00
|
|
|
"mbedtls"
|
2022-09-10 13:31:17 +00:00
|
|
|
"qt5-x11extras"
|
|
|
|
"pciutils"
|
|
|
|
"pipewire"
|
2020-12-18 22:11:13 +00:00
|
|
|
)
|
|
|
|
makedepends=(
|
2022-09-10 13:31:17 +00:00
|
|
|
"cef-minimal-obs"
|
|
|
|
"cmake"
|
|
|
|
"git"
|
|
|
|
"jack"
|
|
|
|
"libfdk-aac"
|
|
|
|
"libxcomposite"
|
|
|
|
"luajit"
|
|
|
|
"python"
|
|
|
|
"swig"
|
|
|
|
"vlc"
|
|
|
|
"x264"
|
2020-12-18 22:11:13 +00:00
|
|
|
)
|
|
|
|
optdepends=(
|
2022-09-10 13:31:17 +00:00
|
|
|
"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"
|
2020-12-18 22:11:13 +00:00
|
|
|
)
|
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=(
|
2022-09-10 13:31:17 +00:00
|
|
|
"$pkgname::git+https://github.com/obsproject/obs-studio.git#tag=$pkgver"
|
2020-12-18 22:11:13 +00:00
|
|
|
)
|
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() {
|
2022-09-10 13:31:17 +00:00
|
|
|
cd $pkgname
|
|
|
|
git submodule update --init --recursive
|
2017-08-30 17:49:33 +00:00
|
|
|
}
|
|
|
|
|
2015-07-09 10:04:10 +00:00
|
|
|
build() {
|
2022-09-10 13:31:17 +00:00
|
|
|
cd $pkgname
|
2016-03-07 14:50:41 +00:00
|
|
|
|
2022-09-10 13:31:17 +00:00
|
|
|
mkdir -p build
|
|
|
|
cd build
|
2016-03-07 14:50:41 +00:00
|
|
|
|
2022-09-10 13:31:17 +00:00
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_BROWSER=ON \
|
|
|
|
-DCEF_ROOT_DIR="/opt/cef" \
|
|
|
|
-DOBS_VERSION_OVERRIDE=$pkgver \
|
|
|
|
-DENABLE_NEW_MPEGTS_OUTPUT=OFF \
|
|
|
|
..
|
2016-03-07 14:50:41 +00:00
|
|
|
|
2022-09-10 13:31:17 +00:00
|
|
|
make
|
2015-07-09 10:04:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-09-10 13:31:17 +00:00
|
|
|
cd $pkgname/build
|
2016-03-07 14:50:41 +00:00
|
|
|
|
2022-09-10 13:31:17 +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
|