summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpiritCS2020-09-19 22:13:44 +0200
committerSpiritCS2020-09-19 22:13:44 +0200
commit69d5ff50ee67f0b5a1107e27edbcbd43166e71ec (patch)
tree42ddb828f75acdf1efffe5f7aeb87fe530169273
parent34493d05f05328162004f6219ad9541050fa82cb (diff)
downloadaur-69d5ff50ee67f0b5a1107e27edbcbd43166e71ec.tar.gz
updated pkgbuild
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD41
2 files changed, 30 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 73463a63ebd..713a533685b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = clapper-git
- pkgdesc = A GNOME media player built using GJS and powered by GStreamer with OpenGL rendering. Can also be used as a pre-made widget for Gtk apps.
+ pkgdesc = A GNOME media player built using GJS and powered by GStreamer with OpenGL rendering. Can also be used as a pre-made widget for GTK apps.
pkgver = 0.0.0
pkgrel = 1
url = https://github.com/Rafostar/clapper
diff --git a/PKGBUILD b/PKGBUILD
index 83f609953c5..9254f15e749 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,6 +2,7 @@
# PKGBUILD file for package clapper
#
# Copyright (C) 2020 sp1rit
+# Copyright (C) 2020 Rafostar
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,31 +20,47 @@
# Maintainer: sp1rit <sp1ritCS@protonmail.com>
pkgname=clapper-git
-pkgver=0.0.0
+pkgver=0.0.0.r0.a504f49
pkgrel=1
-pkgdesc="A GNOME media player built using GJS and powered by GStreamer with OpenGL rendering. Can also be used as a pre-made widget for Gtk apps."
+pkgdesc="A GNOME media player built using GJS and powered by GStreamer with OpenGL rendering. Can also be used as a pre-made widget for GTK apps."
arch=(any)
url="https://github.com/Rafostar/clapper"
license=("GPL-3.0")
-depends=("gjs" "gst-plugins-base-libs" "gst-plugin-gtk" "gst-plugins-bad-libs")
-makedepends=("meson" "gjs")
-optdepends=("gst-libav: Additional Codecs", "gstreamer-vaapi: Hardware acceleration")
+depends=(
+ "gtk3>=3.19.4"
+ "hicolor-icon-theme"
+ "gjs"
+ "gst-plugins-base-libs"
+ "gst-plugins-good"
+ "gst-plugins-bad-libs>=1.16.0"
+ "gst-plugin-gtk"
+)
+makedepends=(
+ "meson>=0.50"
+ "gjs"
+ "git"
+)
+optdepends=(
+ "gst-libav: Popular video decoders"
+ "gstreamer-vaapi: Intel/AMD video acceleration"
+)
+source=("${pkgname%-git}::git+https://github.com/Rafostar/${pkgname%-git}.git#branch=master")
provides=("${pkgname%-git}")
-source=("${pkgname%-git}-$pkgver"::git+https://github.com/Rafostar/clapper.git)
+replaces=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
md5sums=("SKIP")
-prepare() {
- cd "${pkgname%-git}-$pkgver"
+pkgver() {
+ cd "$srcdir"/"${pkgname%-git}"
+ echo "0.0.0.r0.$(git rev-parse --short HEAD)"
}
build() {
- cd "${pkgname%-git}-$pkgver"
+ cd "$srcdir"/"${pkgname%-git}"
meson build/ --prefix=/usr
}
package() {
- cd "${pkgname%-git}-$pkgver"
+ cd "$srcdir"/"${pkgname%-git}"
DESTDIR="$pkgdir" meson install -C build/
- ln -s "$pkgdir/usr/bin/com.github.rafostar.Clapper" "$pkgdir/usr/bin/clapper"
}
-