From b9831d9d5190576f023a20fe70ece7ffb7735f85 Mon Sep 17 00:00:00 2001 From: benklett Date: Tue, 23 Jan 2018 20:54:50 +0100 Subject: [PATCH] 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. --- .SRCINFO | 8 ++++++-- PKGBUILD | 8 +++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 569fcd4..1baff65 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = obs-studio-git 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 url = https://github.com/jp9000/obs-studio arch = i686 @@ -13,6 +13,8 @@ pkgbase = obs-studio-git makedepends = x264 makedepends = jack makedepends = vlc + makedepends = swig + makedepends = python depends = ffmpeg depends = jansson depends = libxinerama @@ -24,7 +26,9 @@ pkgbase = obs-studio-git optdepends = libxcomposite: XComposite capture support optdepends = jack: JACK Support 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 source = obs-studio-git::git+https://github.com/jp9000/obs-studio.git#branch=master source = git+https://github.com/Mixer/ftl-sdk.git diff --git a/PKGBUILD b/PKGBUILD index 4fa8d7c..6845e71 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: ledti pkgname=obs-studio-git -pkgver=20.1.3.r195.g17560bf8 +pkgver=21.0.1.r0.g4eb5be49 pkgrel=1 pkgdesc="Free and open source software for video recording and live streaming." arch=("i686" "x86_64") @@ -12,11 +12,13 @@ url="https://github.com/jp9000/obs-studio" license=("GPL2") depends=("ffmpeg" "jansson" "libxinerama" "libxkbcommon-x11" "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" "libxcomposite: XComposite capture support" "jack: JACK Support" - "vlc: VLC Media Source") + "vlc: VLC Media Source" + "swig: Scripting" + "python: Python scripting") provides=("obs-studio=$pkgver") conflicts=("obs-studio") source=("$pkgname::git+https://github.com/jp9000/obs-studio.git#branch=master"