summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Langendorf2020-12-03 13:54:43 +0100
committerTobias Langendorf2020-12-03 13:54:43 +0100
commit94a64cace183044645a04eb4d321e389fb52a071 (patch)
tree858e09b99c6b9b88cf25f9915a3c8c369cf857e2
downloadaur-94a64cace183044645a04eb4d321e389fb52a071.tar.gz
wlrobs 1.0
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD26
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..651bdb86201
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = wlrobs
+ pkgdesc = An obs-studio plugin that allows you to screen capture on wlroots based wayland compositors
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://hg.sr.ht/~scoopta/wlrobs
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = meson
+ depends = obs-studio
+ depends = wlroots
+ source = wlrobs-v1.0.tar.gz::https://hg.sr.ht/~scoopta/wlrobs/archive/v1.0.tar.gz
+ sha256sums = SKIP
+
+pkgname = wlrobs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..67188b76854
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Tobias Langendorf <junglerobba@jngl.one>
+
+pkgname=wlrobs
+pkgver=1.0
+pkgrel=1
+pkgdesc="An obs-studio plugin that allows you to screen capture on wlroots based wayland compositors"
+arch=('i686' 'x86_64')
+url='https://hg.sr.ht/~scoopta/wlrobs'
+license=('GPL3')
+depends=('obs-studio' 'wlroots')
+makedepends=('meson')
+source=("${pkgname}-v${pkgver}.tar.gz::https://hg.sr.ht/~scoopta/wlrobs/archive/v${pkgver}.tar.gz")
+sha256sums=('SKIP')
+
+build() {
+ cd "${pkgname}-v${pkgver}"
+ meson build
+ ninja -C build
+}
+
+package() {
+ cd "${pkgname}-v${pkgver}"
+ mkdir -p ${pkgdir}/usr/lib/obs-plugins
+ install -D -m 0644 build/libwlrobs.so \
+ ${pkgdir}/usr/lib/obs-plugins/wlrobs.so
+}