blob: eb7d2314e72043d0f1ba01626fb2fe3646200025 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Maintainer: xiota
# Contributor: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Contributor: Kevin Majewski <kevin.majewski02@gmail.com>
_pkgname="sushi"
pkgname="$_pkgname-git"
pkgver=44.2.r6.g169c15d
pkgrel=1
pkgdesc="A quick previewer for Nautilus"
url="https://gitlab.gnome.org/GNOME/sushi"
arch=(x86_64)
license=(GPL2)
depends=(
'evince'
'gjs'
#'gst-plugin-gtk'
'gst-plugins-base-libs'
'gtksourceview4'
'libsoup3'
'webkit2gtk-4.1'
)
makedepends=(
'git'
'gobject-introspection'
'meson'
)
optdepends=(
'gst-plugins-bad: Codecs for media support'
'gst-plugins-good: Codecs for media support'
'gst-plugins-ugly: Codecs for media support'
'libreoffice: OpenDocument formats'
)
provides=("$_pkgname")
conflicts=(${provides[@]})
source=(
"$_pkgname"::"git+$url"
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson "$_pkgname" build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
|