wok-current view gcr/receipt @ rev 25697

Up apache (CVE-2023-38709, CVE-2024-24795, CVE-2024-27316), up libarchive, qemu, add amdgpu/touchpad support and clean modules.list, up website for repology
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 16 17:00:21 2024 +0000 (7 months ago)
parents 3ad63c8fc2f9
children
line source
1 # Slitaz package receipt.
3 PACKAGE="gcr"
4 VERSION="3.40.0"
5 CATEGORY="security"
6 SHORT_DESC="Displaying certificates and access key stores"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gitlab.gnome.org/GNOME/gcr/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="intltool gtk-doc gobject-introspection-dev \
14 gtk+3-dev vala p11-kit-dev libgcrypt-dev gnupg meson"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Patch to work with new meson
20 # see https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/81/diffs
21 patch -p1 < $stuff/remove-packages-arg-meson-0.61.patch
23 meson build \
24 --prefix=/usr \
25 --libdir=lib \
26 --bindir=/usr/bin \
27 --sbindir=/usr/sbin \
28 --buildtype=release \
29 -Dintrospection=true \
30 -Dgtk=true \
31 -Dgtk_doc=false &&
32 ninja -C build &&
33 ninja -C build install
34 }
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/libexec $fs/usr
42 }