blob: 962d00d694e20f5bfb17133b8e35380957f56385 (
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: Heddxh <g311571057 at gmail dot com>
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=gtksourceview5-apostrophe
pkgver=5.14.1
pkgrel=1
pkgdesc="A text widget adding syntax highlighting and more to GNOME, patched for Apostrophe"
url="https://wiki.gnome.org/Projects/GtkSourceView"
arch=(x86_64)
license=(LGPL-2.1-or-later)
provides=(gtksourceview5=$pkgver libgtksourceview-${pkgver%%.*}.so)
conflicts=(gtksourceview5)
depends=(
cairo
fontconfig
fribidi
gdk-pixbuf2
glib2
glibc
gtk4
hicolor-icon-theme
libxml2
pango
pcre2
)
makedepends=(
gi-docgen
git
glib2-devel
gobject-introspection
meson
vala
)
checkdepends=(xorg-server-xvfb)
source=(
"git+https://gitlab.gnome.org/GNOME/gtksourceview.git#tag=$pkgver"
"https://gitlab.gnome.org/World/apostrophe/-/raw/main/build-aux/flatpak/sourceview_text_commits.patch"
)
b2sums=('8f9a1c94f4e1470e58e4991213982c68b2803cbe2aa6793960463fb58744533b8ad7d8155341b2fe7cf9681d7cc566d3098778dd448e440645835c407707d238'
'1e33c2f8f6dcd404bba1022d6e294fb8dd6a8670b05c7d3f50fc6ea6b2e6eab17179dfd8191957d8f49b8f346f246f26b06d148817fc259661d454451fc034ef')
prepare() {
patch -d gtksourceview -p1 <sourceview_text_commits.patch
}
build() {
arch-meson gtksourceview build -D documentation=false
meson compile -C build
}
check() {
GTK_A11Y=none dbus-run-session xvfb-run -s '-nolisten local' \
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et:
|