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