wok diff opencv/receipt @ rev 25804
created recipe for wm-switcher
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:16:07 2024 +0100 (2 weeks ago) |
parents | 82053bab32c1 |
children |
line diff
1.1 --- a/opencv/receipt Tue Dec 28 08:42:55 2021 +0100 1.2 +++ b/opencv/receipt Wed Nov 13 15:16:07 2024 +0100 1.3 @@ -15,10 +15,11 @@ 1.4 BUILD_DEPENDS="cmake ffmpeg-dev gcc83 gtk+-dev jpeg-dev libgnutls 1.5 libpng-dev tiff-dev" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.