wok-current view gnumeric/receipt @ rev 25786

Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
author Stanislas Leduc <shann@slitaz.org>
date Tue Jul 29 18:05:13 2025 +0000 (2 months ago)
parents 3e33c7fca531
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.12.57"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://www.gnumeric.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="adwaita-icon-theme at-spi2 at-spi2-atk atk bzlib cairo dbus
15 fontconfig freetype gdk-pixbuf glib glibc-base goffice gtk+3
16 harfbuzz libffi libgio libgsf libpng librsvg libxcb libxml2
17 libxslt pango pcre pixman util-linux-uuid xorg-libICE xorg-libSM
18 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor
19 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes
20 xorg-libXi xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
21 BUILD_DEPENDS="bison goffice-dev gtk-doc gtk+3-dev itstool"
23 HOST_ARCH="i486 x86_64"
25 # What is the latest version available today?
26 current_version()
27 {
28 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
29 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 sed 's|^gnm_cell_has_expr|gnm_cell_has_expr (GnmCell const *cell);\ninline gboolean\n&|' \
36 -i src/cell.h
37 ./configure \
38 --without-perl \
39 --without-python \
40 --without-gda \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib
50 mkdir -p $fs/usr/share
52 cp -a $install/usr/bin $fs/usr
54 cp -a $install/usr/lib/*.so* $fs/usr/lib
55 cp -a $install/usr/lib/gnumeric $fs/usr/lib
56 cp -a $install/usr/lib/goffice $fs/usr/lib
57 find $fs/usr/lib -name '*.la' -delete
59 cp -a $install/usr/share/applications $fs/usr/share
60 cp -a $install/usr/share/glib-2.0 $fs/usr/share
61 cp -a $install/usr/share/gnumeric $fs/usr/share
62 cp -a $install/usr/share/icons $fs/usr/share
63 }