wok-current view qupzilla/receipt @ rev 25672

patch tazpkg, upgrade core pkgs first
author Stanislas Leduc <shann@slitaz.org>
date Sun Mar 03 17:58:42 2024 +0000 (5 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz PACKAGE receipt.
3 PACKAGE="qupzilla"
4 VERSION="1.8.9"
5 CATEGORY="network"
6 SHORT_DESC="QupZilla - QtWebKit browser"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/QupZilla/qupzilla"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
12 GENERIC_PIXMAPS="no"
13 TAGS="web-browser"
15 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \
16 libQtXml libcrypto xorg-libX11 zlib cacerts xdg-utils libQtWebkit"
17 BUILD_DEPENDS="wget cacerts Qt4-dev qmake openssl-dev xorg-libX11-dev"
18 SUGGESTED="libQtWebkit-video qupzilla-locales"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the PACKAGE.
27 compile_rules()
28 {
29 # Patch to support openssl 1.1.x
30 # see https://github.com/QupZilla/qupzilla/pull/2325
31 patch -p1 < $stuff/openssl-1.1-support.patch
33 qmake QupZilla.pro &&
34 make &&
35 make INSTALL_ROOT=$install install
36 }
37 # Rules to gen a SliTaz PACKAGE suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 rm -rf $fs/usr/share/bash-completion
42 for size in 64 128 256; do
43 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
44 done
45 rm -rf $fs/usr/share/pixmaps
46 rm -rf $fs/usr/share/qupzilla/locale
47 }