mirror of
https://github.com/luzifer-aur/obs-studio-browser.git
synced 2024-11-09 22:00:04 +00:00
Simplify PKGBUILD according to escondida's instructions
This commit is contained in:
parent
3e90038534
commit
322b8a4fb8
2 changed files with 12 additions and 12 deletions
7
.SRCINFO
7
.SRCINFO
|
@ -1,7 +1,9 @@
|
||||||
|
# Generated by mksrcinfo v8
|
||||||
|
# Tue Dec 22 08:16:22 UTC 2015
|
||||||
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.11.1.r0.g1efb849
|
pkgver = 0.12.4.r7.g2a99e6f
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://github.com/jp9000/obs-studio
|
url = https://github.com/jp9000/obs-studio
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -16,7 +18,6 @@ pkgbase = obs-studio-git
|
||||||
depends = libxinerama
|
depends = libxinerama
|
||||||
depends = libxkbcommon-x11
|
depends = libxkbcommon-x11
|
||||||
depends = qt5-x11extras
|
depends = qt5-x11extras
|
||||||
depends = curl
|
|
||||||
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
|
||||||
|
|
17
PKGBUILD
17
PKGBUILD
|
@ -3,36 +3,35 @@
|
||||||
# Contributor: ledti <antergist at gmail dot com>
|
# Contributor: ledti <antergist at gmail dot com>
|
||||||
|
|
||||||
pkgname=obs-studio-git
|
pkgname=obs-studio-git
|
||||||
_pkgname=obs-studio
|
pkgver=0.12.4.r7.g2a99e6f
|
||||||
pkgver=0.11.1.r0.g1efb849
|
pkgrel=1
|
||||||
pkgrel=2
|
|
||||||
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' 'curl')
|
depends=('ffmpeg' 'jansson' 'libxinerama' 'libxkbcommon-x11' 'qt5-x11extras')
|
||||||
makedepends=('cmake' 'git' 'libfdk-aac' 'libxcomposite' 'x264')
|
makedepends=('cmake' 'git' 'libfdk-aac' 'libxcomposite' 'x264')
|
||||||
optdepends=('libfdk-aac: FDK AAC codec support'
|
optdepends=('libfdk-aac: FDK AAC codec support'
|
||||||
'libxcomposite: XComposite capture support')
|
'libxcomposite: XComposite capture support')
|
||||||
provides=('obs-studio')
|
provides=('obs-studio')
|
||||||
conflicts=('obs-studio')
|
conflicts=('obs-studio')
|
||||||
source=("$_pkgname::git://github.com/jp9000/obs-studio.git#branch=master")
|
source=("obs-studio::git://github.com/jp9000/obs-studio.git#branch=master")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$srcdir/$_pkgname"
|
cd "obs-studio"
|
||||||
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 "$srcdir/$_pkgname"
|
cd "obs-studio"
|
||||||
mkdir -p "build"
|
mkdir -p "build"
|
||||||
cd "build"
|
cd "build"
|
||||||
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DOBS_VERSION_OVERRIDE=$pkgver ..
|
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DOBS_VERSION_OVERRIDE=$pkgver ..
|
||||||
make -j`nproc`
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$_pkgname/build"
|
cd "obs-studio/build"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue