mirror of
https://github.com/luzifer-aur/obs-studio-browser.git
synced 2024-12-20 16:21:17 +00:00
Disable ENABLE_NEW_MPEGTS_OUTPUT for v28.x
as it requires librist Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2e6a9abc71
commit
4b2900b925
1 changed files with 45 additions and 43 deletions
88
PKGBUILD
88
PKGBUILD
|
@ -13,71 +13,73 @@ arch=("i686" "x86_64")
|
||||||
url="https://github.com/obsproject/obs-studio"
|
url="https://github.com/obsproject/obs-studio"
|
||||||
license=("GPL2")
|
license=("GPL2")
|
||||||
depends=(
|
depends=(
|
||||||
"curl"
|
"curl"
|
||||||
"ffmpeg"
|
"ffmpeg"
|
||||||
"gtk-update-icon-cache"
|
"gtk-update-icon-cache"
|
||||||
"jansson"
|
"jansson"
|
||||||
"libxinerama"
|
"libxinerama"
|
||||||
"libxkbcommon-x11"
|
"libxkbcommon-x11"
|
||||||
"qt5-x11extras"
|
"qt5-x11extras"
|
||||||
"pciutils"
|
"pciutils"
|
||||||
"pipewire"
|
"pipewire"
|
||||||
)
|
)
|
||||||
makedepends=(
|
makedepends=(
|
||||||
"cef-minimal-obs"
|
"cef-minimal-obs"
|
||||||
"cmake"
|
"cmake"
|
||||||
"git"
|
"git"
|
||||||
"jack"
|
"jack"
|
||||||
"libfdk-aac"
|
"libfdk-aac"
|
||||||
"libxcomposite"
|
"libxcomposite"
|
||||||
"luajit"
|
"luajit"
|
||||||
"python"
|
"python"
|
||||||
"swig"
|
"swig"
|
||||||
"vlc"
|
"vlc"
|
||||||
"x264"
|
"x264"
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=(
|
||||||
"libfdk-aac: FDK AAC codec support"
|
"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"
|
||||||
"v4l2loopback-dkms: Virtual camera output"
|
"v4l2loopback-dkms: Virtual camera output"
|
||||||
)
|
)
|
||||||
provides=("obs-studio=$pkgver")
|
provides=("obs-studio=$pkgver")
|
||||||
conflicts=("obs-studio")
|
conflicts=("obs-studio")
|
||||||
source=(
|
source=(
|
||||||
"$pkgname::git+https://github.com/obsproject/obs-studio.git#tag=$pkgver"
|
"$pkgname::git+https://github.com/obsproject/obs-studio.git#tag=$pkgver"
|
||||||
)
|
)
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $pkgname
|
cd $pkgname
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname
|
cd $pkgname
|
||||||
|
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DBUILD_BROWSER=ON \
|
-DBUILD_BROWSER=ON \
|
||||||
-DCEF_ROOT_DIR="/opt/cef" \
|
-DCEF_ROOT_DIR="/opt/cef" \
|
||||||
-DOBS_VERSION_OVERRIDE=$pkgver ..
|
-DOBS_VERSION_OVERRIDE=$pkgver \
|
||||||
|
-DENABLE_NEW_MPEGTS_OUTPUT=OFF \
|
||||||
|
..
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $pkgname/build
|
cd $pkgname/build
|
||||||
|
|
||||||
make install DESTDIR="$pkgdir"
|
make install DESTDIR="$pkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: ts=2:sw=2:expandtab
|
# vim: ts=2:sw=2:expandtab
|
||||||
|
|
Loading…
Reference in a new issue