summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD27
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b021cbc36e4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = glide-player
+ pkgdesc = Simple and minimalistic media player relying on GStreamer for the multimedia support and GTK+ for the user interface
+ pkgver = 0.5.6
+ pkgrel = 1
+ url = https://github.com/philn/glide
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = meson
+ makedepends = rust
+ depends = gst-plugins-bad
+ depends = gst-plugins-base
+ depends = gst-plugins-good
+ depends = gtk3
+ source = https://github.com/philn/glide/releases/download/0.5.6/glide-0.5.6.tar.xz
+ sha256sums = a031dd6c309a95154709990d27a94ec13eb064ec5b05f6ba0c74946d0501af53
+
+pkgname = glide-player
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a031111ad42
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=glide-player
+pkgver=0.5.6
+pkgrel=1
+pkgdesc="Simple and minimalistic media player relying on GStreamer for the multimedia support and GTK+ for the user interface"
+arch=(x86_64)
+url="https://github.com/philn/glide"
+license=(MIT)
+depends=(gst-plugins-bad gst-plugins-base gst-plugins-good gtk3)
+makedepends=(git meson rust)
+source=("https://github.com/philn/glide/releases/download/$pkgver/glide-$pkgver.tar.xz")
+sha256sums=('a031dd6c309a95154709990d27a94ec13eb064ec5b05f6ba0c74946d0501af53')
+
+build() {
+ arch-meson glide-$pkgver build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+ install -Dm644 glide-$pkgver/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}