blob: 2418a782e0faefe5f789cbc8637fad332b8018ad (
plain) (
blame)
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
|
# Contributor: Síle Ekaterin Liszka <sheila@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@adelielinux.org>
pkgname=gtksourceview4
pkgver=5.4.1
pkgrel=0
pkgdesc="GTK widget for syntax-highlighting source code"
url="https://wiki.gnome.org/Projects/GtkSourceView/"
arch="all"
license="LGPL-2.1+ AND LGPL-2.0+ AND (Apache-2.0 OR MIT OR LGPL-2.1+) AND CC-BY-SA-3.0"
depends=""
# MAINTAINERS: if you see any 'git clone' in the build logs,
# ensure that the dependency is added to this list to use ours.
makedepends="
cmake
cairo-dev
pango-dev
harfbuzz-dev
glib-dev
gtk4-dev
meson
ninja
pcre2-dev
libjpeg-turbo-dev
libxkbcommon-dev
wayland-dev
libxrandr-dev
libxi-dev
libxcursor-dev
libxinerama-dev
gi-docgen `# will be needed for docs`
"
subpackages="$pkgname-dev `#$pkgname-doc`"
source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz"
builddir="$srcdir/gtksourceview-$pkgver"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
`#-Dgtk_doc=true` \
. output
ninja -C output
}
check() {
# Add test instructions here.
:
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="5270db969455ad29498a02a851802228575c9b4b6cf6d4f9736bff95f869f1052550034fe6cc4f0c8d29174559d147068dcd088ab09b2008399f7a717aced298 gtksourceview-5.4.1.tar.xz"
|