wok-current view viewnior/receipt @ rev 24868
updated lxc and lxc-dev (3.2.1 -> 4.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 17:49:17 2022 +0100 (2022-03-30) |
parents | 5ea0ce1cecc0 |
children | 870e1ce31226 |
line source
1 # SliTaz package receipt.
3 PACKAGE="viewnior"
4 VERSION="1.7"
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="http://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 --prefix=/usr builddir &&
37 cd builddir &&
38 ninja &&
39 ninja 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 }