# SliTaz package receipt. PACKAGE="mediainfo-gui" VERSION="19.09" CATEGORY="utilities" SHORT_DESC="Unified display of the technical and tag data for media files." MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" WEB_SITE="https://mediaarea.net/MediaInfo" TARBALL="MediaInfo_GUI_${VERSION}_GNU_FromSource.tar.xz" WGET_URL="https://mediaarea.net/download/binary/$PACKAGE/$VERSION/$TARBALL" DEPENDS="gtk+ wxWidgets" BUILD_DEPENDS="file wxWidgets-dev" # What is the latest version available today? current_version() { wget -O - https://mediaarea.net/en/MediaInfo/Download/Source 2> /dev/null | \ sed '/\/mediainfo-gui\//!d;s|.*mediainfo-gui/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./GUI_Compile.sh cd MediaInfo/Project/GNU/GUI make DESTDIR=$install install mkdir -p $install/usr/share/applications cp -a $src/MediaInfo/Project/GNU/GUI/mediainfo-gui.desktop \ $install/usr/share/applications } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }