wok annotate qiviewer/receipt @ rev 25705

fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 22 12:48:49 2024 +0000 (4 months ago)
parents 34e801e0eb52
children
rev   line source
pankso@12469 1 # SliTaz package receipt.
pankso@12469 2
pankso@12469 3 PACKAGE="qiviewer"
pankso@12469 4 VERSION="0.5.0"
pankso@12469 5 CATEGORY="x-window"
pankso@12469 6 SHORT_DESC="Light and fast QT based images viewer."
pankso@12469 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@12469 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20682 10 WEB_SITE="https://github.com/samkpo/qiviewer"
pascal@24982 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
pankso@12469 12
pankso@12469 13 DEPENDS="xorg-libX11 libQtCore libQtGui"
pankso@12469 14 BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev"
pankso@12469 15
pascal@24497 16 # What is the latest version available today?
pascal@24497 17 current_version()
pascal@24497 18 {
pascal@24497 19 wget -O - https://raw.githubusercontent.com/samkpo/qiviewer/master/ChangeLog 2>/dev/null | \
pascal@24497 20 sed '/Version/!d;s|.*ersion ||;q'
pascal@24497 21 }
pascal@24497 22
pankso@12469 23 # Rules to configure and make the package.
pankso@12469 24 compile_rules()
pankso@12469 25 {
pankso@12469 26 cd $src/src
pankso@12469 27 qmake && make && make INSTALL_ROOT=$DESTDIR install &&
pankso@12469 28 sed -i s'/Name=qiviewer/Name=Qiviewer/' $install/usr/share/applications/*
pankso@12469 29 }
pankso@12469 30
pankso@12469 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12469 32 genpkg_rules()
pankso@12469 33 {
pankso@12469 34 mkdir -p $fs/usr/share/applications
pankso@12469 35 cp -a $install/usr/bin $fs/usr
pankso@12469 36 }