summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrechdachs2020-09-04 21:43:43 +0200
committerFrechdachs2020-09-04 21:43:43 +0200
commit615af7fa772926b73f6eb80a8d1b6cd38e49e6f0 (patch)
tree89b4dc24fbeca8c2255741ae30d12a76c9c11acb
downloadaur-615af7fa772926b73f6eb80a8d1b6cd38e49e6f0.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD44
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7581795c59e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = mpvqc-gtk-git
+ pkgdesc = mpvQC is a libmpv based application for the creation of quality control reports of video files. (GTK version)
+ pkgver = v0.9.0.g224c0ba
+ pkgrel = 1
+ url = https://github.com/mpvqc/mpvQC-gtk
+ arch = any
+ license = AGPL3
+ makedepends = git
+ makedepends = meson
+ depends = mpv
+ depends = python
+ depends = python-opengl
+ depends = python-gobject
+ provides = mpvqc-gtk
+ provides = mpvqc
+ conflicts = mpvqc-gtk
+ conflicts = mpvqc
+ source = mpvqc-gtk::git+https://github.com/mpvqc/mpvQC-gtk.git
+ sha256sums = SKIP
+
+pkgname = mpvqc-gtk-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aa3846d4688
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Frechdachs
+
+_pkgname=mpvqc-gtk
+pkgname=${_pkgname}-git
+pkgver=v0.9.0.g224c0ba
+pkgrel=1
+pkgdesc="mpvQC is a libmpv based application for the creation of quality control reports of video files. (GTK version)"
+arch=('any')
+url="https://github.com/mpvqc/mpvQC-gtk"
+license=('AGPL3')
+depends=('mpv'
+ 'python'
+ 'python-opengl'
+ 'python-gobject'
+ )
+makedepends=('git'
+ 'meson'
+ )
+provides=("$_pkgname" "mpvqc")
+conflicts=("$_pkgname" "mpvqc")
+source=("$_pkgname::git+https://github.com/mpvqc/mpvQC-gtk.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ echo "$(git describe --long --tags | tr - .)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ arch-meson build $_pkgname
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+
+ cd "$_pkgname"
+ install -Dm644 Readme.md "$pkgdir/usr/share/doc/$_pkgname/Readme.md"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING"
+}