mirror of
https://github.com/luzifer-aur/obs-studio-browser.git
synced 2024-12-20 16:21:17 +00:00
Add missing dependency: jack + Reformat PKGBUILD
This commit is contained in:
parent
322b8a4fb8
commit
ae43489984
3 changed files with 45 additions and 23 deletions
12
.SRCINFO
12
.SRCINFO
|
@ -1,10 +1,11 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Tue Dec 22 08:16:22 UTC 2015
|
||||
# Mon Mar 7 14:51:40 UTC 2016
|
||||
pkgbase = obs-studio-git
|
||||
pkgdesc = Free and open source software for video recording and live streaming.
|
||||
pkgver = 0.12.4.r7.g2a99e6f
|
||||
pkgver = 0.13.2.r12.gaa2bea3
|
||||
pkgrel = 1
|
||||
url = https://github.com/jp9000/obs-studio
|
||||
install = obs-studio-git.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL2
|
||||
|
@ -18,12 +19,15 @@ pkgbase = obs-studio-git
|
|||
depends = libxinerama
|
||||
depends = libxkbcommon-x11
|
||||
depends = qt5-x11extras
|
||||
depends = curl
|
||||
depends = hicolor-icon-theme
|
||||
depends = jack
|
||||
optdepends = libfdk-aac: FDK AAC codec support
|
||||
optdepends = libxcomposite: XComposite capture support
|
||||
provides = obs-studio
|
||||
conflicts = obs-studio
|
||||
source = obs-studio::git://github.com/jp9000/obs-studio.git#branch=master
|
||||
sha256sums = SKIP
|
||||
source = obs-studio-git::git+https://github.com/jp9000/obs-studio.git#branch=master
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = obs-studio-git
|
||||
|
||||
|
|
45
PKGBUILD
45
PKGBUILD
|
@ -1,37 +1,44 @@
|
|||
# Maintainer: Benjamin Klettbach <b dot klettbach at gmail dot com >
|
||||
# Contributor: Jonathan Steel <jsteel at archlinux.org>
|
||||
# Contributor: ArcticVanguard <LideEmily at gmail dot com>
|
||||
# Contributor: ledti <antergist at gmail dot com>
|
||||
|
||||
pkgname=obs-studio-git
|
||||
pkgver=0.12.4.r7.g2a99e6f
|
||||
pkgver=0.13.2.r12.gaa2bea3
|
||||
pkgrel=1
|
||||
pkgdesc="Free and open source software for video recording and live streaming."
|
||||
arch=('i686' 'x86_64')
|
||||
arch=("i686" "x86_64")
|
||||
url="https://github.com/jp9000/obs-studio"
|
||||
license=('GPL2')
|
||||
depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'qt5-x11extras')
|
||||
makedepends=('cmake' 'git' 'libfdk-aac' 'libxcomposite' 'x264')
|
||||
optdepends=('libfdk-aac: FDK AAC codec support'
|
||||
'libxcomposite: XComposite capture support')
|
||||
provides=('obs-studio')
|
||||
conflicts=('obs-studio')
|
||||
source=("obs-studio::git://github.com/jp9000/obs-studio.git#branch=master")
|
||||
sha256sums=('SKIP')
|
||||
license=("GPL2")
|
||||
depends=("ffmpeg" "jansson" "libxinerama" "libxkbcommon-x11"
|
||||
"qt5-x11extras" "curl" "hicolor-icon-theme" "jack")
|
||||
makedepends=("cmake" "git" "libfdk-aac" "libxcomposite" "x264")
|
||||
optdepends=("libfdk-aac: FDK AAC codec support"
|
||||
"libxcomposite: XComposite capture support")
|
||||
provides=("obs-studio")
|
||||
conflicts=("obs-studio")
|
||||
install=$pkgname.install
|
||||
source=("$pkgname::git+https://github.com/jp9000/obs-studio.git#branch=master")
|
||||
md5sums=("SKIP")
|
||||
|
||||
pkgver() {
|
||||
cd "obs-studio"
|
||||
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
||||
cd $pkgname
|
||||
git describe --long --tags | sed -r "s/([^-]*-g)/r\1/;s/-/./g"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "obs-studio"
|
||||
mkdir -p "build"
|
||||
cd "build"
|
||||
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DOBS_VERSION_OVERRIDE=$pkgver ..
|
||||
cd $pkgname
|
||||
|
||||
mkdir -p build; cd build
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DOBS_VERSION_OVERRIDE=$pkgver ..
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "obs-studio/build"
|
||||
make DESTDIR="$pkgdir" install
|
||||
cd $pkgname/build
|
||||
|
||||
make install DESTDIR="$pkgdir"
|
||||
}
|
||||
|
|
11
obs-studio-git.install
Normal file
11
obs-studio-git.install
Normal file
|
@ -0,0 +1,11 @@
|
|||
post_install() {
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in a new issue