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