wok-6.x annotate mediainfo-gui/receipt @ rev 25344
updated tahoe-lafs (1.13.0 -> 1.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 07:43:39 2022 +0100 (2022-07-25) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
al@18630 | 1 # SliTaz package receipt. |
al@18630 | 2 |
al@18630 | 3 PACKAGE="mediainfo-gui" |
Hans-G?nter@23170 | 4 VERSION="19.09" |
al@18630 | 5 CATEGORY="utilities" |
Hans-G?nter@21427 | 6 SHORT_DESC="Unified display of the technical and tag data for media files." |
al@18630 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18630 | 8 LICENSE="BSD" |
Hans-G?nter@21427 | 9 WEB_SITE="https://mediaarea.net/MediaInfo" |
Hans-G?nter@21427 | 10 |
al@18630 | 11 TARBALL="MediaInfo_GUI_${VERSION}_GNU_FromSource.tar.xz" |
pascal@24975 | 12 WGET_URL="https://mediaarea.net/download/binary/$PACKAGE/$VERSION/$TARBALL" |
al@18630 | 13 |
Hans-G?nter@21427 | 14 DEPENDS="gtk+ wxWidgets" |
Hans-G?nter@21427 | 15 BUILD_DEPENDS="file wxWidgets-dev" |
al@18630 | 16 |
pascal@24453 | 17 # What is the latest version available today? |
pascal@24453 | 18 current_version() |
pascal@24453 | 19 { |
pascal@24453 | 20 wget -O - https://mediaarea.net/en/MediaInfo/Download/Source 2> /dev/null | \ |
pascal@24453 | 21 sed '/\/mediainfo-gui\//!d;s|.*mediainfo-gui/||;s|/.*||;q' |
pascal@24453 | 22 } |
pascal@24453 | 23 |
al@18630 | 24 # Rules to configure and make the package. |
al@18630 | 25 compile_rules() |
al@18630 | 26 { |
al@18630 | 27 ./GUI_Compile.sh |
Hans-G?nter@21427 | 28 cd MediaInfo/Project/GNU/GUI |
Hans-G?nter@21427 | 29 make DESTDIR=$install install |
al@18630 | 30 |
al@18630 | 31 mkdir -p $install/usr/share/applications |
al@18630 | 32 cp -a $src/MediaInfo/Project/GNU/GUI/mediainfo-gui.desktop \ |
al@18630 | 33 $install/usr/share/applications |
al@18630 | 34 } |
al@18630 | 35 |
al@18630 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18630 | 37 genpkg_rules() |
al@18630 | 38 { |
Hans-G?nter@23170 | 39 cp -a $install/* $fs |
al@18630 | 40 } |