wok diff qt4/receipt @ rev 24736
updated libev and libev-dev (4.31 -> 4.33)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 09:25:45 2022 +0100 (2022-03-16) |
parents | cac0ec153b6d |
children | cb67b4f8be05 |
line diff
1.1 --- a/qt4/receipt Fri Dec 23 12:25:18 2016 +0100 1.2 +++ b/qt4/receipt Wed Mar 16 09:25:45 2022 +0100 1.3 @@ -9,7 +9,7 @@ 1.4 LICENSE="GPL3 LGPL2.1" 1.5 TARBALL="$SOURCE-$VERSION.tar.gz" 1.6 WEB_SITE="http://qt-project.org/" 1.7 -WGET_URL="http://download.qt.io/official_releases/qt/${VERSION%.*}/$VERSION/$TARBALL" 1.8 +WGET_URL="http://download.qt.io/archive/qt/${VERSION%.*}/$VERSION/single/$TARBALL" 1.9 PROVIDE="qt-x11-opensource-src Qt4" 1.10 TAGS="qt" 1.11 1.12 @@ -26,6 +26,15 @@ 1.13 pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \ 1.14 xorg-libXv-dev sqlite-dev" 1.15 1.16 +# What is the latest version available today? 1.17 +current_version() 1.18 +{ 1.19 + wget -O - https://download.qt.io/archive/qt/ 2>/dev/null | \ 1.20 + sed '/>4\./!d;s|.*/">|https://download.qt.io/archive/qt/|;s|/<.*||' | \ 1.21 + sort -Vr | sed q | xargs wget -O - 2>/dev/null | \ 1.22 + sed '/>4\./!d;s|.*/">||;s|/<.*||' | sort -Vr | sed q 1.23 +} 1.24 + 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 {