summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47f09b1779b5639f70eeea0d982e1adc6828cf27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: David Marrero <bdface[at]proton[dot]me>

pkgname=gnome-shell-extension-hanabi-git
pkgver=r271.e5d6e13
pkgrel=1
pkgdesc='Live Wallpaper for GNOME'
arch=(any)
url=https://github.com/jeffshee/gnome-ext-hanabi
license=(GPL3)
makedepends=(meson)
depends=(
        'gnome-shell'
        'gjs'
        'gst-plugins-bad'
        'gst-plugins-base'
        'gst-plugins-good'
        'gstreamer'
        'gtk4'
        'libadwaita'
)
optdepends=(
        'clapper: Hanabi can use clappersink for the best performance'
        'gst-plugin-va: experimental performance improvement for Intel/AMD Wayland users'
        'gst-libav: required to play mp4 files, among others'
        'gstreamer-vaapi: Video acceleration for Intel/AMD users'
)
source=(git+$url)
b2sums=(SKIP)

pkgver() {
	cd gnome-ext-hanabi
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	arch-meson gnome-ext-hanabi build
}

package() {
	DESTDIR="$pkgdir" meson install -C build
}