wok view ristretto/receipt @ rev 25791

Up dropbear (2024.86), libssh2 (1.11.1), xz (5.6.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 23 13:27:53 2024 +0000 (2 months ago)
parents ef17aac83196
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ristretto"
4 # According to repology.org, most linux distributions name that package
5 # ristretto, not xfce4-ristretto, albeit it is a xfce application
6 VERSION="0.8.5"
7 CATEGORY="x-window"
8 TAGS="image viewer"
9 SHORT_DESC="Picture-viewer for Xfce."
10 MAINTAINER="erjo@slitaz.org"
11 LICENSE="GPL2"
12 WEB_SITE="https://docs.xfce.org/apps/ristretto/start"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
17 SUGGESTED="ristretto-lang tumbler" # to show previews in thumbnail bar
18 DEPENDS="dbus-glib libexif libxfce4ui libxfce4util xfconf"
19 BUILD_DEPENDS="dbus-glib-dev gtk+-dev intltool libexif-dev libxfce4ui-dev
20 libxfce4util-dev xfconf-dev"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - $WEB_SITE 2>/dev/null |
26 sed '/released/!d;s| released.*||;s|.*ristretto ||'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 cook_copy_folders 16*
42 cook_copy_folders 48*
44 mkdir $fs/usr/share/pixmaps
45 ln -s /usr/share/icons/hicolor/48x48/apps/$PACKAGE.png \
46 $fs/usr/share/pixmaps/$PACKAGE.png
47 }
49 post_install()
50 {
51 echo
52 echo "Executing post-install command gtk-update-icon-cache"
53 gtk-update-icon-cache -f -t -q "$1/usr/share/icons/hicolor"
54 }