wok-current view viewnior/receipt @ rev 25521

created recipes for unibilium and unibilium-dev 2.1.1
author Hans-G?nter Theisgen
date Fri Feb 24 17:05:40 2023 +0100 (21 months ago)
parents 15d3cabcb53e
children
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://github.com/hellosiyan/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 }