wok-current annotate qupzilla/receipt @ rev 25634

Mass update, new toolchain gcc 8.3.0, glibc 2.28.0
author Stanislas Leduc <shann@slitaz.org>
date Sun Jan 14 08:12:37 2024 +0000 (12 months ago)
parents 5ea0ce1cecc0
children 5926178cd6fa
rev   line source
claudinei@14891 1 # SliTaz PACKAGE receipt.
claudinei@14891 2
claudinei@14891 3 PACKAGE="qupzilla"
shann@25634 4 VERSION="1.8.9"
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 {
shann@25634 29 # Patch to support openssl 1.1.x
shann@25634 30 # see https://github.com/QupZilla/qupzilla/pull/2325
shann@25634 31 patch -p1 < $stuff/openssl-1.1-support.patch
shann@25634 32
al@16868 33 qmake QupZilla.pro &&
al@16868 34 make &&
al@16868 35 make INSTALL_ROOT=$install install
claudinei@14891 36 }
claudinei@14891 37 # Rules to gen a SliTaz PACKAGE suitable for Tazpkg.
claudinei@14891 38 genpkg_rules()
claudinei@14891 39 {
al@16868 40 cp -a $install/* $fs
al@16868 41 rm -rf $fs/usr/share/bash-completion
al@16868 42 for size in 64 128 256; do
al@16868 43 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
al@16868 44 done
al@16868 45 rm -rf $fs/usr/share/pixmaps
al@16868 46 rm -rf $fs/usr/share/qupzilla/locale
claudinei@14891 47 }