blob: a6e50589c383bb713a047c3b1a9044f943936d08 (
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
63
64
65
66
67
|
# Maintainer: JC Olivares <juancri@juancri.com>
pkgname=gnome-console-jc
pkgver=48.0.1.2
pkgrel=1
pkgdesc="A simple user-friendly terminal emulator for the GNOME desktop (JC fork)"
url="https://github.com/juancri/console"
arch=(x86_64)
license=(GPL-3.0-or-later)
depends=(
dconf
gcc-libs
gtk4
glib2
glibc
hicolor-icon-theme
libadwaita
libgtop
pango
vte4
)
makedepends=(
appstream
git
glib2-devel
meson
)
checkdepends=(
dbus
mutter
)
groups=(gnome)
source=("$pkgname::git+https://github.com/juancri/console.git#tag=jc-48.0.1-r2")
sha256sums=('SKIP')
prepare() {
cd $pkgname
}
build() {
local meson_options=(
-D tests=true
)
arch-meson $pkgname build "${meson_options[@]}"
meson compile -C build
}
check() (
export XDG_RUNTIME_DIR="$PWD/runtime-dir"
mkdir -p -m 700 "$XDG_RUNTIME_DIR"
dbus-run-session -- \
mutter \
--headless \
--wayland \
--no-x11 \
--virtual-monitor 1024x768 \
-- \
meson test -C build --print-errorlogs
)
package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et:
|