wok-current annotate qupzilla/receipt @ rev 24056

Up zstd (1.5.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 08 09:29:15 2021 +0000 (2021-06-08)
parents a119d001bdf6
children 3ad63c8fc2f9
rev   line source
claudinei@14891 1 # SliTaz PACKAGE receipt.
claudinei@14891 2
claudinei@14891 3 PACKAGE="qupzilla"
al@17536 4 VERSION="1.8.5"
al@16868 5 CATEGORY="network"
al@16868 6 SHORT_DESC="QupZilla - QtWebKit browser"
claudinei@14891 7 MAINTAINER="claudinei@slitaz.org"
pascal@14894 8 LICENSE="GPL3"
claudinei@14891 9 WEB_SITE="https://github.com/QupZilla/qupzilla"
psychomaniak@17200 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@17200 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
al@16868 12 GENERIC_PIXMAPS="no"
al@17501 13 TAGS="web-browser"
claudinei@14891 14
al@16868 15 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
psychomaniak@17095 16 libQtXml libcrypto xorg-libX11 zlib cacerts xdg-utils libQtWebkit"
al@16868 17 BUILD_DEPENDS="wget cacerts Qt4-dev qmake openssl-dev xorg-libX11-dev"
psychomaniak@17093 18 SUGGESTED="libQtWebkit-video qupzilla-locales"
claudinei@14891 19
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24055 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 24 }
pascal@24055 25
claudinei@14891 26 # Rules to configure and make the PACKAGE.
claudinei@14891 27 compile_rules()
claudinei@14891 28 {
al@16868 29 qmake QupZilla.pro &&
al@16868 30 make &&
al@16868 31 make INSTALL_ROOT=$install install
claudinei@14891 32 }
claudinei@14891 33 # Rules to gen a SliTaz PACKAGE suitable for Tazpkg.
claudinei@14891 34 genpkg_rules()
claudinei@14891 35 {
al@16868 36 cp -a $install/* $fs
al@16868 37 rm -rf $fs/usr/share/bash-completion
al@16868 38 for size in 64 128 256; do
al@16868 39 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
al@16868 40 done
al@16868 41 rm -rf $fs/usr/share/pixmaps
al@16868 42 rm -rf $fs/usr/share/qupzilla/locale
claudinei@14891 43 }