Add python and swig dependency at compile time

This adds python and swig as makedepends and optdepends for scripting.

Sadly I could not add luajit because it does not compile yet. I will ask
around when I have time for it.
This commit is contained in:
benklett 2018-01-23 20:54:50 +01:00
parent 116da8cb58
commit b9831d9d51
2 changed files with 11 additions and 5 deletions

View file

@ -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 = 20.1.3.r195.g17560bf8 pkgver = 21.0.1.r0.g4eb5be49
pkgrel = 1 pkgrel = 1
url = https://github.com/jp9000/obs-studio url = https://github.com/jp9000/obs-studio
arch = i686 arch = i686
@ -13,6 +13,8 @@ pkgbase = obs-studio-git
makedepends = x264 makedepends = x264
makedepends = jack makedepends = jack
makedepends = vlc makedepends = vlc
makedepends = swig
makedepends = python
depends = ffmpeg depends = ffmpeg
depends = jansson depends = jansson
depends = libxinerama depends = libxinerama
@ -24,7 +26,9 @@ pkgbase = obs-studio-git
optdepends = libxcomposite: XComposite capture support optdepends = libxcomposite: XComposite capture support
optdepends = jack: JACK Support optdepends = jack: JACK Support
optdepends = vlc: VLC Media Source optdepends = vlc: VLC Media Source
provides = obs-studio=20.1.3.r195.g17560bf8 optdepends = swig: Scripting
optdepends = python: Python scripting
provides = obs-studio=21.0.1.r0.g4eb5be49
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

View file

@ -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=20.1.3.r195.g17560bf8 pkgver=21.0.1.r0.g4eb5be49
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,11 +12,13 @@ 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") makedepends=("cmake" "git" "libfdk-aac" "libxcomposite" "x264" "jack" "vlc" "swig" "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"
"python: Python scripting")
provides=("obs-studio=$pkgver") provides=("obs-studio=$pkgver")
conflicts=("obs-studio") conflicts=("obs-studio")
source=("$pkgname::git+https://github.com/jp9000/obs-studio.git#branch=master" source=("$pkgname::git+https://github.com/jp9000/obs-studio.git#branch=master"