blob: 4fbbaa842ad0c07000aa602cefe1e23ea5d9e34a (
plain)
1 # Description: dconf Editor
2 # URL: https://wiki.gnome.org/Projects/dconf
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: dconf gtk3 meson vala
5
6 name=dconf-editor
7 version=3.38.3
8 release=2
9 source=(https://gitlab.gnome.org/GNOME/dconf-editor/-/archive/$version/dconf-editor-$version.tar.bz2)
10
11 build() {
12 ls /usr/share/vala/vapi/dconf.vapi || (printf '\e[1;31m%-6s\e[m\n' "$name needs dconf build with vala bindings, install vala, rebuild dconf, then install $name" ; exit 1)
13
14 meson setup $name-$version build \
15 --prefix=/usr \
16 --buildtype=plain \
17 --wrap-mode nodownload \
18 -D b_lto=true \
19 -D b_pie=true
20 meson compile -C build
21 DESTDIR=$PKG meson install -C build
22
23 rm -r $PKG/usr/share/locale
24 }
|