From 1a2b3a37f2b653c68152b80f512c66aab10a46f3 Mon Sep 17 00:00:00 2001 From: benklett Date: Thu, 9 Jul 2015 12:04:10 +0200 Subject: [PATCH] Initial import --- .SRCINFO | 27 +++++++++++++++++ .gitignore | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ PKGBUILD | 38 ++++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..67f2ff6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = obs-studio-git + pkgdesc = Free and open source software for video recording and live streaming. + pkgver = 0.11.0.r1.g91bfb53 + pkgrel = 1 + url = https://github.com/jp9000/obs-studio + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = git + makedepends = libfdk-aac + makedepends = libxcomposite + makedepends = x264 + depends = ffmpeg + depends = jansson + depends = libxinerama + depends = libxkbcommon-x11 + depends = qt5-x11extras + 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 + +pkgname = obs-studio-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3606bf5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,86 @@ +#binaries +*.exe +*.dll +*.dylib +*.so + +#cmake +/cmbuild/ +/build/ +/build32/ +/build64/ +/release/ +/release32/ +/release64/ +/debug/ +/debug32/ +/debug64/ +/builds/ +*.o.d +*.ninja +.ninja* +.dirstamp + +#xcode +*.xcodeproj/ + +#other stuff (windows stuff, qt moc stuff, etc) +Release_MD/ +Release/ +Debug/ +x64/ +ipch/ +GeneratedFiles/ +.moc/ + +/other/ + +#make stuff +configure +depcomp +install-sh +Makefile.in +Makefile + +#random useless file stuff +*.dmg +*.app +.DS_Store +.directory +.hg +.depend +tags +*.trace +*.vsp +*.psess +*.swp +*.dat +*.clbin +*.log +*.tlog +*.sdf +*.opensdf +*.xml +*.ipch +*.css +*.xslt +*.aps +*.suo +*.ncb +*.user +*.lo +*.ilk +*.la +*.o +*.obj +*.pdb +*.res +*.manifest +*.dep +*.zip +*.lnk +*.chm +*~ +.DS_Store +*/.DS_Store +*/**/.DS_Store diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..5e52783 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Benjamin Klettbach +# Contributor: ArcticVanguard +# Contributor: ledti + +pkgname=obs-studio-git +_pkgname=obs-studio +pkgver=0.11.0.r1.g91bfb53 +pkgrel=1 +pkgdesc="Free and open source software for video recording and live streaming." +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=("$_pkgname::git://github.com/jp9000/obs-studio.git#branch=master") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/$_pkgname" + mkdir -p "build" + cd "build" + cmake -DCMAKE_INSTALL_PREFIX="/usr" -DOBS_VERSION_OVERRIDE=$pkgver .. + make -j`nproc` +} + +package() { + cd "$srcdir/$_pkgname/build" + make DESTDIR="$pkgdir" install +}