wok view mediainfo-gui/receipt @ rev 25794

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