[arch-commits] Commit in obs-studio/repos (2 files)

Maxime Gauduin alucryd at archlinux.org
Tue Aug 7 18:22:59 UTC 2018


    Date: Tuesday, August 7, 2018 @ 18:22:59
  Author: alucryd
Revision: 370155

archrelease: copy trunk to community-staging-x86_64

Added:
  obs-studio/repos/community-staging-x86_64/
  obs-studio/repos/community-staging-x86_64/PKGBUILD
    (from rev 370154, obs-studio/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: obs-studio/repos/community-staging-x86_64/PKGBUILD (from rev 370154, obs-studio/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-07 18:22:59 UTC (rev 370155)
@@ -0,0 +1,43 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Benjamin Klettbach <b.klettbach at gmail.com>
+
+pkgname=obs-studio
+pkgver=21.1.2
+pkgrel=3
+pkgdesc="Free, open source software for live streaming and recording"
+arch=('x86_64')
+url="https://obsproject.com"
+license=('GPL2')
+depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11'
+         'qt5-x11extras' 'curl' 'jack' 'gtk-update-icon-cache')
+makedepends=('cmake' 'libfdk-aac' 'libxcomposite' 'x264' 'vlc' 'swig' 'python' 'luajit')
+optdepends=('libfdk-aac: FDK AAC codec support'
+            'libxcomposite: XComposite capture support'
+            'luajit: scripting support'
+            'python: scripting support'
+            'vlc: VLC Media Source support')
+source=($pkgname-$pkgver.tar.gz::https://github.com/jp9000/obs-studio/archive/$pkgver.tar.gz)
+md5sums=('fc36a9e8d8c8018955c64197f18f839a')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  sed -i '15i #include <QAction>' UI/frontend-plugins/frontend-tools/scripts.cpp
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  mkdir -p build; cd build
+
+  cmake -DCMAKE_INSTALL_PREFIX="/usr" \
+    -DOBS_VERSION_OVERRIDE="$pkgver-$pkgrel" ..
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list