# Slitaz package receipt. PACKAGE="gcr" VERSION="3.40.0" CATEGORY="security" SHORT_DESC="Displaying certificates and access key stores" MAINTAINER="devel@slitaz.org" LICENSE="GPL2" WEB_SITE="https://developer.gnome.org/gcr/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" BUILD_DEPENDS="intltool gtk-doc gobject-introspection-dev \ gtk+3-dev vala p11-kit-dev libgcrypt-dev gnupg meson" # Rules to configure and make the package. compile_rules() { # Patch to work with new meson # see https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/81/diffs patch -p1 < $stuff/remove-packages-arg-meson-0.61.patch meson build \ --prefix=/usr \ --libdir=lib \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --buildtype=release \ -Dintrospection=true \ -Dgtk=true \ -Dgtk_doc=false && ninja -C build && ninja -C build install } genpkg_rules() { mkdir -p $fs/usr/share $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/libexec $fs/usr }