wok-current view gsettings-desktop-schemas/receipt @ rev 25586

Fix linux build with gcc > 6 again
author Stanislas Leduc <shann@slitaz.org>
date Mon May 29 12:23:26 2023 +0000 (19 months ago)
parents 6831608a1b2a
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="gsettings-desktop-schemas"
4 VERSION="41.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Collection of GSettings schemas for settings shared by various components of a GNOME Desktop."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.gnome.org/"
11 SUGGESTED="gsettings-desktop-schemas-lang"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev meson ninja"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 meson _build \
28 --prefix=/usr &&
29 ninja -C _build &&
30 ninja -C _build install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 # moved to package gsettings-desktop-schemas-lang
38 rm -r $fs/usr/share/locale
39 }