mirror of
https://github.com/luzifer-aur/obs-studio-browser.git
synced 2024-11-13 23:52:42 +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
|
# Generated by mksrcinfo v8
|
||||||
# Tue Dec 22 08:16:22 UTC 2015
|
# Mon Mar 7 14:51:40 UTC 2016
|
||||||
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 = 0.12.4.r7.g2a99e6f
|
pkgver = 0.13.2.r12.gaa2bea3
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/jp9000/obs-studio
|
url = https://github.com/jp9000/obs-studio
|
||||||
|
install = obs-studio-git.install
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL2
|
license = GPL2
|
||||||
|
@ -18,12 +19,15 @@ pkgbase = obs-studio-git
|
||||||
depends = libxinerama
|
depends = libxinerama
|
||||||
depends = libxkbcommon-x11
|
depends = libxkbcommon-x11
|
||||||
depends = qt5-x11extras
|
depends = qt5-x11extras
|
||||||
|
depends = curl
|
||||||
|
depends = hicolor-icon-theme
|
||||||
|
depends = jack
|
||||||
optdepends = libfdk-aac: FDK AAC codec support
|
optdepends = libfdk-aac: FDK AAC codec support
|
||||||
optdepends = libxcomposite: XComposite capture support
|
optdepends = libxcomposite: XComposite capture support
|
||||||
provides = obs-studio
|
provides = obs-studio
|
||||||
conflicts = obs-studio
|
conflicts = obs-studio
|
||||||
source = obs-studio::git://github.com/jp9000/obs-studio.git#branch=master
|
source = obs-studio-git::git+https://github.com/jp9000/obs-studio.git#branch=master
|
||||||
sha256sums = SKIP
|
md5sums = SKIP
|
||||||
|
|
||||||
pkgname = obs-studio-git
|
pkgname = obs-studio-git
|
||||||
|
|
||||||
|
|
45
PKGBUILD
45
PKGBUILD
|
@ -1,37 +1,44 @@
|
||||||
# Maintainer: Benjamin Klettbach <b dot klettbach at gmail dot com >
|
# 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: ArcticVanguard <LideEmily at gmail dot com>
|
||||||
# Contributor: ledti <antergist at gmail dot com>
|
# Contributor: ledti <antergist at gmail dot com>
|
||||||
|
|
||||||
pkgname=obs-studio-git
|
pkgname=obs-studio-git
|
||||||
pkgver=0.12.4.r7.g2a99e6f
|
pkgver=0.13.2.r12.gaa2bea3
|
||||||
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")
|
||||||
url="https://github.com/jp9000/obs-studio"
|
url="https://github.com/jp9000/obs-studio"
|
||||||
license=('GPL2')
|
license=("GPL2")
|
||||||
depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'qt5-x11extras')
|
depends=("ffmpeg" "jansson" "libxinerama" "libxkbcommon-x11"
|
||||||
makedepends=('cmake' 'git' 'libfdk-aac' 'libxcomposite' 'x264')
|
"qt5-x11extras" "curl" "hicolor-icon-theme" "jack")
|
||||||
optdepends=('libfdk-aac: FDK AAC codec support'
|
makedepends=("cmake" "git" "libfdk-aac" "libxcomposite" "x264")
|
||||||
'libxcomposite: XComposite capture support')
|
optdepends=("libfdk-aac: FDK AAC codec support"
|
||||||
provides=('obs-studio')
|
"libxcomposite: XComposite capture support")
|
||||||
conflicts=('obs-studio')
|
provides=("obs-studio")
|
||||||
source=("obs-studio::git://github.com/jp9000/obs-studio.git#branch=master")
|
conflicts=("obs-studio")
|
||||||
sha256sums=('SKIP')
|
install=$pkgname.install
|
||||||
|
source=("$pkgname::git+https://github.com/jp9000/obs-studio.git#branch=master")
|
||||||
|
md5sums=("SKIP")
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "obs-studio"
|
cd $pkgname
|
||||||
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
git describe --long --tags | sed -r "s/([^-]*-g)/r\1/;s/-/./g"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "obs-studio"
|
cd $pkgname
|
||||||
mkdir -p "build"
|
|
||||||
cd "build"
|
mkdir -p build; cd build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DOBS_VERSION_OVERRIDE=$pkgver ..
|
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DOBS_VERSION_OVERRIDE=$pkgver ..
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "obs-studio/build"
|
cd $pkgname/build
|
||||||
make DESTDIR="$pkgdir" install
|
|
||||||
|
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