gcr: made vala optional

This commit is contained in:
Tim Biermann 2023-10-28 10:57:45 +02:00
parent d17a782e19
commit dbc3d621a2
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 9 additions and 11 deletions

View File

@ -59,9 +59,3 @@ drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/gir-1.0/
-rw-r--r-- root/root usr/share/gir-1.0/Gck-2.gir
-rw-r--r-- root/root usr/share/gir-1.0/Gcr-4.gir
drwxr-xr-x root/root usr/share/vala/
drwxr-xr-x root/root usr/share/vala/vapi/
-rw-r--r-- root/root usr/share/vala/vapi/gck-2.deps
-rw-r--r-- root/root usr/share/vala/vapi/gck-2.vapi
-rw-r--r-- root/root usr/share/vala/vapi/gcr-4.deps
-rw-r--r-- root/root usr/share/vala/vapi/gcr-4.vapi

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xYHhgZK2NVZHeJpafTpAL7TjZ9hdG9IUTMMi10ihR/ea+nAFFMWRxipV4AICWlOFob6ac/GSBa0xlxAXbsdrAc=
SHA256 (Pkgfile) = 4c1d92d6bb9a4b71f3671b70bdfcae5c511c0440d655533f9e7703fc5d9fb4cb
SHA256 (.footprint) = 895a6c2b210698091d31e39ef4eedba2e06b7c27a4295fdfed5bf0a959e2efbd
RWSagIOpLGJF3+Ny/Ulct23ypUb5JJZEeelhRQxcclxo3M9DFFbl0YE7nOPQZI7t+nZYDpdkYtln21GARlwi/3LenfucI5OGNAY=
SHA256 (Pkgfile) = 81cf3dd83a81cd857b30005e73bf683d9253927159214e68078dd430ed7def0b
SHA256 (.footprint) = fb49d4a8d93bddc9cafb3062db955d2d43a1b20d06e46288c619ad3c46ae304b
SHA256 (gcr-4.1.0.tar.xz) = 9ceaad29284ba919b9216e2888c18ec67240c2c93b3a4856bc5488bbc1f3a383

View File

@ -1,7 +1,8 @@
# Description: Libraries for cryptographic UIs and accessing PKCS#11 modules.
# URL: https://gitlab.gnome.org/GNOME/gcr
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gnupg gtk4 libsecret p11-kit vala xorg-libxcomposite xorg-libxcursor xorg-libxinerama
# Depends on: gnupg gtk4 libsecret p11-kit xorg-libxcomposite xorg-libxcursor xorg-libxinerama
# Optional: vala
name=gcr
version=4.1.0
@ -9,7 +10,10 @@ release=1
source=(https://download.gnome.org/sources/$name/${version:0:3}/$name-$version.tar.xz)
build() {
meson setup build $name-$version \
prt-get isinst gobject-introspection || PKGMK_GCR+=' -D introspection=false'
prt-get isinst vala || PKGMK_GCR+=' -D vapi=false'
meson setup build $name-$version $PKGMK_GCR \
--prefix=/usr \
--libexecdir=/usr/lib \
--buildtype=plain \