wok-6.x annotate viewnior/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (19 months ago)
parents 15d3cabcb53e
children
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"
pascal@25454 10 WEB_SITE="https://github.com/hellosiyan/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 }