diff options
author | Chase Geigle | 2018-09-17 16:42:03 -0500 |
---|---|---|
committer | Chase Geigle | 2018-09-17 16:46:40 -0500 |
commit | 825dfafc544ff99f1af0134c473db8fb8761146c (patch) | |
tree | fe235ca50793c260b772221d62759fcd06523ef0 | |
download | aur-825dfafc544ff99f1af0134c473db8fb8761146c.tar.gz |
Add initial PKGBUILD and .SRCINFO file.
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fe46e2c398ca --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = obs-v4l2sink + pkgdesc = v4l2 output for obs-studio + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/CatxFish/obs-v4l2sink + arch = x86_64 + license = GPL + makedepends = obs-studio + depends = obs-studio + source = https://github.com/CatxFish/obs-v4l2sink/archive/0.1.0.tar.gz + source = https://github.com/obsproject/obs-studio/archive/22.0.2.tar.gz + md5sums = 94632ee7e73e512dcc9877f5cc87c8ea + md5sums = 8c63cdc08a4510f288d174c65b252544 + +pkgname = obs-v4l2sink + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..be2c6676ac76 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Chase Geigle <sky.strife@gmail.com> + +pkgname=obs-v4l2sink +pkgver=0.1.0 +obsver=22.0.2 +pkgrel=1 +epoch= +pkgdesc="v4l2 output for obs-studio" +arch=(x86_64) +url="https://github.com/CatxFish/obs-v4l2sink" +license=('GPL') +groups=() +depends=('obs-studio') +makedepends=('obs-studio') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("$url/archive/$pkgver.tar.gz" + "https://github.com/obsproject/obs-studio/archive/$obsver.tar.gz") +noextract=() +md5sums=('94632ee7e73e512dcc9877f5cc87c8ea' + '8c63cdc08a4510f288d174c65b252544') +validpgpkeys=() + +prepare() { + rm -rf build + mkdir build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIBOBS_INCLUDE_DIR=../obs-studio-$obsver/libobs \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + DESTDIR="$pkgdir" make install +} |