wok-6.x annotate viewnior/receipt @ rev 23922
Add alieninvasion, spaceinvader, racer10k and javascript-racer
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 22 17:01:17 2020 +0000 (2020-08-22) |
parents | 4b55a51aefa5 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pankso@4054 | 1 # SliTaz package receipt. |
pankso@4054 | 2 |
pankso@4054 | 3 PACKAGE="viewnior" |
Hans-G?nter@22101 | 4 VERSION="1.7" |
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" |
al@19261 | 10 WEB_SITE="http://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 |
al@19261 | 15 DEPENDS="atk bzlib cairo exiv2 fontconfig freetype gcc-lib-base gdk-pixbuf \ |
Hans-G?nter@22101 | 16 glib glibc-base gtk+ harfbuzz libffi libgio libpng libxcb libxml2 |
Hans-G?nter@22101 | 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 |
pankso@4054 | 27 # Rules to configure and make the package. |
pankso@4054 | 28 compile_rules() |
pankso@4054 | 29 { |
Hans-G?nter@22101 | 30 meson --prefix=/usr builddir && |
Hans-G?nter@22101 | 31 cd builddir && |
Hans-G?nter@22101 | 32 ninja && |
Hans-G?nter@22101 | 33 ninja install |
pankso@4054 | 34 } |
pankso@4054 | 35 |
pankso@4054 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4054 | 37 genpkg_rules() |
pankso@4054 | 38 { |
al@19261 | 39 cook_copy_files viewnior *.ui |
al@19261 | 40 cook_copy_icons |
pankso@4054 | 41 } |