wok annotate youtube-dl-gui/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents 780113e29d34
children 0262035dc1e7
rev   line source
al@17348 1 # SliTaz package receipt.
al@17348 2
al@17348 3 PACKAGE="youtube-dl-gui"
al@17348 4 COMMIT="a2a0d6fb4907d9282c2f45a00a1e51ce23602421"
al@17348 5 VERSION="${COMMIT:0:10}"
al@17348 6 CATEGORY="multimedia"
al@17348 7 SHORT_DESC="A cross platform front-end GUI of the popular youtube-dl written in wxPython."
al@17348 8 MAINTAINER="al.bobylev@gmail.com"
pascal@17349 9 LICENSE="PublicDomain"
al@17348 10 WEB_SITE="https://github.com/MrS0m30n3/youtube-dl-gui"
al@17348 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@17348 12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
al@17348 13 GENERIC_PIXMAPS="no"
al@17348 14
al@17348 15 DEPENDS="youtube-dl wxpython"
al@17348 16 BUILD_DEPENDS="wget cacerts wxpython-dev"
al@17348 17
pascal@24304 18 # What is the latest version available today?
pascal@24304 19 current_version()
pascal@24304 20 {
pascal@24304 21 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24304 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24304 23 }
pascal@24304 24
al@17348 25 # Rules to configure and make the package.
al@17348 26 compile_rules()
al@17348 27 {
al@17348 28 python setup.py build
al@17348 29 python setup.py install --root=$install
al@17348 30 }
al@17348 31
al@17348 32 # Rules to gen a SliTaz package suitable for Tazpkg.
al@17348 33 genpkg_rules()
al@17348 34 {
al@17348 35 mkdir -p $fs/usr/share/icons/hicolor
al@17348 36 cp -a $install/usr/lib $fs/usr
al@17348 37 find $fs -name '*.pyc' -delete
al@17348 38 for size in 16x16 48x48; do
al@17348 39 mkdir -p $fs/usr/share/icons/hicolor/$size/apps
al@17348 40 cp -a $install/usr/share/icons/hicolor/$size/apps/*.png \
al@17348 41 $fs/usr/share/icons/hicolor/$size/apps/$PACKAGE.png
al@17348 42 done
al@17348 43 }