wok-current view gnumeric/receipt @ rev 25722

Adjust deps for gtk3 apps, add default gtk3-settings
author Stanislas Leduc <shann@slitaz.org>
date Wed Jun 19 16:37:46 2024 +0000 (11 days ago)
parents 5d020be7377b
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
27 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 sed 's|^gnm_cell_has_expr|gnm_cell_has_expr (GnmCell const *cell);\ninline gboolean\n&|' \
34 -i src/cell.h
35 ./configure \
36 --without-perl \
37 --without-python \
38 --without-gda \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 mkdir -p $fs/usr/share
50 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/lib/*.so* $fs/usr/lib
53 cp -a $install/usr/lib/gnumeric $fs/usr/lib
54 cp -a $install/usr/lib/goffice $fs/usr/lib
55 find $fs/usr/lib -name '*.la' -delete
57 cp -a $install/usr/share/applications $fs/usr/share
58 cp -a $install/usr/share/glib-2.0 $fs/usr/share
59 cp -a $install/usr/share/gnumeric $fs/usr/share
60 cp -a $install/usr/share/icons $fs/usr/share
61 }