[arch-commits] Commit in obs-studio/repos (2 files)
Maxime Gauduin
alucryd at archlinux.org
Thu Aug 6 08:40:57 UTC 2020
Date: Thursday, August 6, 2020 @ 08:40:57
Author: alucryd
Revision: 670676
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 670675, obs-studio/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: obs-studio/repos/community-staging-x86_64/PKGBUILD (from rev 670675, obs-studio/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-08-06 08:40:57 UTC (rev 670676)
@@ -0,0 +1,49 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Benjamin Klettbach <b.klettbach at gmail.com>
+
+pkgname=obs-studio
+pkgver=25.0.8
+pkgrel=2
+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' 'mbedtls'
+ 'qt5-svg' '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'
+ 'libva-intel-driver: hardware encoding'
+ 'libva-mesa-driver: hardware encoding'
+ '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
+ https://github.com/obsproject/obs-studio/commit/8a1429e29ebd6bf31ad6ae63c6992e2c03893767.patch
+)
+md5sums=('269e7a31b9b59f0eaf06f1c90a2e4573'
+ 'a8ce802b8ab9a79dd22dcbc9c1c311ad')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ patch -Np1 -i ../8a1429e29ebd6bf31ad6ae63c6992e2c03893767.patch # GCC 10
+}
+
+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