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
|
2024-03-12 23:35:52 +00:00
|
|
|
pkgver=30.1.0
|
2023-05-28 22:35:09 +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"
|
2023-11-15 11:05:41 +00:00
|
|
|
"jack"
|
2022-09-10 13:31:17 +00:00
|
|
|
"jansson"
|
2023-05-07 13:46:17 +00:00
|
|
|
"libxcomposite"
|
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
|
|
|
"pciutils"
|
|
|
|
"pipewire"
|
2023-11-15 11:05:41 +00:00
|
|
|
"qrcodegencpp-cmake"
|
2023-05-07 13:46:17 +00:00
|
|
|
"qt5-x11extras"
|
2023-11-15 11:05:41 +00:00
|
|
|
"qt6-svg"
|
2023-05-07 13:46:17 +00:00
|
|
|
"rnnoise"
|
|
|
|
"x264"
|
2020-12-18 22:11:13 +00:00
|
|
|
)
|
|
|
|
makedepends=(
|
2023-05-07 13:46:17 +00:00
|
|
|
"asio"
|
2022-09-10 13:31:17 +00:00
|
|
|
"cef-minimal-obs"
|
|
|
|
"cmake"
|
|
|
|
"git"
|
|
|
|
"libfdk-aac"
|
|
|
|
"libxcomposite"
|
|
|
|
"luajit"
|
2023-05-07 13:46:17 +00:00
|
|
|
"nlohmann-json"
|
2022-09-10 13:31:17 +00:00
|
|
|
"python"
|
2023-05-07 13:46:17 +00:00
|
|
|
"sndio"
|
2022-09-10 13:31:17 +00:00
|
|
|
"swig"
|
|
|
|
"vlc"
|
2023-05-07 13:46:17 +00:00
|
|
|
"websocketpp"
|
2020-12-18 22:11:13 +00:00
|
|
|
)
|
|
|
|
optdepends=(
|
2022-09-10 13:31:17 +00:00
|
|
|
"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
|
|
|
)
|
2023-05-10 20:07:42 +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() {
|
2023-11-15 11:05:41 +00:00
|
|
|
cmake -B build -S $pkgname \
|
2022-09-10 13:31:17 +00:00
|
|
|
-DBUILD_BROWSER=ON \
|
2023-12-26 18:09:11 +00:00
|
|
|
-DCALM_DEPRECATION=ON \
|
2022-09-10 13:31:17 +00:00
|
|
|
-DCEF_ROOT_DIR="/opt/cef" \
|
2023-11-15 11:05:41 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DENABLE_AJA=OFF \
|
|
|
|
-DENABLE_JACK=ON \
|
|
|
|
-DENABLE_LIBFDK=ON \
|
2022-09-10 13:31:17 +00:00
|
|
|
-DENABLE_NEW_MPEGTS_OUTPUT=OFF \
|
2023-11-15 11:05:41 +00:00
|
|
|
-DENABLE_VST=ON \
|
|
|
|
-DENABLE_WEBRTC=OFF \
|
|
|
|
-DOBS_VERSION_OVERRIDE="$pkgver-$pkgrel" \
|
|
|
|
-Wno-dev
|
2016-03-07 14:50:41 +00:00
|
|
|
|
2023-11-15 11:05:41 +00:00
|
|
|
cmake --build build
|
2015-07-09 10:04:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-11-15 11:05:41 +00:00
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
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
|