mirror of
https://github.com/luzifer-aur/obs-studio-browser.git
synced 2024-12-21 00:31:18 +00:00
Add luajit dependency
This adds luajit as makedepends and as optional dependency. The LUAJIT_INCLUDE_DIR cmake variable had to be set to use luajit instead of lua.
This commit is contained in:
parent
b9831d9d51
commit
3c02406da8
2 changed files with 14 additions and 8 deletions
6
.SRCINFO
6
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = obs-studio-git
|
pkgbase = obs-studio-git
|
||||||
pkgdesc = Free and open source software for video recording and live streaming.
|
pkgdesc = Free and open source software for video recording and live streaming.
|
||||||
pkgver = 21.0.1.r0.g4eb5be49
|
pkgver = 21.0.2.r0.g6ed55995
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/jp9000/obs-studio
|
url = https://github.com/jp9000/obs-studio
|
||||||
arch = i686
|
arch = i686
|
||||||
|
@ -14,6 +14,7 @@ pkgbase = obs-studio-git
|
||||||
makedepends = jack
|
makedepends = jack
|
||||||
makedepends = vlc
|
makedepends = vlc
|
||||||
makedepends = swig
|
makedepends = swig
|
||||||
|
makedepends = luajit
|
||||||
makedepends = python
|
makedepends = python
|
||||||
depends = ffmpeg
|
depends = ffmpeg
|
||||||
depends = jansson
|
depends = jansson
|
||||||
|
@ -27,8 +28,9 @@ pkgbase = obs-studio-git
|
||||||
optdepends = jack: JACK Support
|
optdepends = jack: JACK Support
|
||||||
optdepends = vlc: VLC Media Source
|
optdepends = vlc: VLC Media Source
|
||||||
optdepends = swig: Scripting
|
optdepends = swig: Scripting
|
||||||
|
optdepends = luajit: Lua scripting
|
||||||
optdepends = python: Python scripting
|
optdepends = python: Python scripting
|
||||||
provides = obs-studio=21.0.1.r0.g4eb5be49
|
provides = obs-studio=21.0.2.r0.g6ed55995
|
||||||
conflicts = obs-studio
|
conflicts = obs-studio
|
||||||
source = obs-studio-git::git+https://github.com/jp9000/obs-studio.git#branch=master
|
source = obs-studio-git::git+https://github.com/jp9000/obs-studio.git#branch=master
|
||||||
source = git+https://github.com/Mixer/ftl-sdk.git
|
source = git+https://github.com/Mixer/ftl-sdk.git
|
||||||
|
|
10
PKGBUILD
10
PKGBUILD
|
@ -4,7 +4,7 @@
|
||||||
# Contributor: ledti <antergist at gmail dot com>
|
# Contributor: ledti <antergist at gmail dot com>
|
||||||
|
|
||||||
pkgname=obs-studio-git
|
pkgname=obs-studio-git
|
||||||
pkgver=21.0.1.r0.g4eb5be49
|
pkgver=21.0.2.r0.g6ed55995
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Free and open source software for video recording and live streaming."
|
pkgdesc="Free and open source software for video recording and live streaming."
|
||||||
arch=("i686" "x86_64")
|
arch=("i686" "x86_64")
|
||||||
|
@ -12,12 +12,14 @@ url="https://github.com/jp9000/obs-studio"
|
||||||
license=("GPL2")
|
license=("GPL2")
|
||||||
depends=("ffmpeg" "jansson" "libxinerama" "libxkbcommon-x11"
|
depends=("ffmpeg" "jansson" "libxinerama" "libxkbcommon-x11"
|
||||||
"qt5-x11extras" "curl" "gtk-update-icon-cache")
|
"qt5-x11extras" "curl" "gtk-update-icon-cache")
|
||||||
makedepends=("cmake" "git" "libfdk-aac" "libxcomposite" "x264" "jack" "vlc" "swig" "python")
|
makedepends=("cmake" "git" "libfdk-aac" "libxcomposite" "x264" "jack"
|
||||||
|
"vlc" "swig" "luajit" "python")
|
||||||
optdepends=("libfdk-aac: FDK AAC codec support"
|
optdepends=("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"
|
||||||
"python: Python scripting")
|
"python: Python scripting")
|
||||||
provides=("obs-studio=$pkgver")
|
provides=("obs-studio=$pkgver")
|
||||||
conflicts=("obs-studio")
|
conflicts=("obs-studio")
|
||||||
|
@ -41,7 +43,9 @@ build() {
|
||||||
|
|
||||||
mkdir -p build; cd build
|
mkdir -p build; cd build
|
||||||
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
cmake \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DLUAJIT_INCLUDE_DIR=/usr/include/luajit-2.0 \
|
||||||
-DOBS_VERSION_OVERRIDE=$pkgver ..
|
-DOBS_VERSION_OVERRIDE=$pkgver ..
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in a new issue