blob: 063c6636ace6aa3c9390f73d12ca5be8bc16b455 (
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
61
62
|
# Maintainer: David Heidelberg <david@ixit.cz>
# Contributor: David Heidelberg <david@ixit.cz>
pkgname=gnome-console
pkgver=42.2
# for some reason this is part of the directory name in the archive
_commit=e33b965c64418841b13dcf7dd0a336c151e36d1c
pkgrel=0
pkgdesc="User-friendly terminal for GNOME"
url="https://gitlab.gnome.org/GNOME/console"
# s390x blocked by mozjs91 -> nautilus-dev
arch="all !s390x"
license="GPL-3.0-only"
depends="
dbus
gsettings-desktop-schemas
"
makedepends="
desktop-file-utils
glib-dev
gsettings-desktop-schemas-dev
gtk+3.0-dev
libgtop-dev
libhandy1-dev
meson
nautilus-dev
pcre2-dev
sassc
vte3-dev
"
subpackages="$pkgname-nautilus $pkgname-lang"
source="https://gitlab.gnome.org/GNOME/console/-/archive/$pkgver/gnome-console-$pkgver.tar.gz"
builddir="$srcdir"/console-$pkgver-$_commit
replaces="kgx"
provides="kgx=$pkgver-r$pkgrel"
build() {
abuild-meson \
-Dtests=true \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
nautilus() {
pkgdesc="$pkgdesc (Nautilus extension)"
install_if="$pkgname=$pkgver-r$pkgrel nautilus"
replaces="kgx-nautilus"
provides="kgx-nautilus=$pkgver-r$pkgrel"
amove usr/lib/nautilus/extensions-3.0/libkgx-nautilus.so
}
sha512sums="
34125bcf8a534960016b9fa75032ecbfbbaa26385bd335c43b090332b278701d1fbabfeb0cff0d15cd7409535c35693f014e473dd22563cb811a20f0570cd731 gnome-console-42.2.tar.gz
"
|