wok-6.x view viewnior/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (24 months ago) |
parents | 870e1ce31226 |
children | 78727b04c002 |
line source
1 # SliTaz package receipt.
3 PACKAGE="viewnior"
4 VERSION="1.8"
5 CATEGORY="graphics"
6 TAGS="image photo viewer"
7 SHORT_DESC="Fast and elegant image viewer."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://siyanpanayotov.com/project/viewnior/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/hellosiyan/Viewnior/archive/$TARBALL"
15 DEPENDS="atk bzlib cairo exiv2 fontconfig freetype gcc-lib-base gdk-pixbuf
16 glib glibc-base gtk+ harfbuzz libffi libgio libpng libxcb libxml2
17 pango pcre pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext
18 xorg-libXrender zlib"
19 BUILD_DEPENDS="exiv2-dev gtk+-dev libtool meson"
21 HOST_ARCH="i486 arm"
23 case "$ARCH" in
24 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info-dev" ;;
25 esac
27 current_version()
28 {
29 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
30 sed '/archive.*tar/!d;s|.*/viewnior-\(.*\).tar.*|\1|;q'
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 meson _build \
37 --prefix=/usr &&
38 ninja -C _build &&
39 ninja -C _build install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_files viewnior *.ui
46 cook_copy_icons
47 }