wok-6.x rev 17348
Add youtube-dl-gui.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 13 11:16:08 2014 +0200 (2014-11-13) |
parents | 4d75ab15b328 |
children | 780113e29d34 |
files | youtube-dl-gui/receipt youtube-dl-gui/stuff/youtube-dl-gui.desktop |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/youtube-dl-gui/receipt Thu Nov 13 11:16:08 2014 +0200 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="youtube-dl-gui" 1.7 +COMMIT="a2a0d6fb4907d9282c2f45a00a1e51ce23602421" 1.8 +VERSION="${COMMIT:0:10}" 1.9 +CATEGORY="multimedia" 1.10 +SHORT_DESC="A cross platform front-end GUI of the popular youtube-dl written in wxPython." 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="" 1.13 +WEB_SITE="https://github.com/MrS0m30n3/youtube-dl-gui" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" 1.16 +GENERIC_PIXMAPS="no" 1.17 + 1.18 +DEPENDS="youtube-dl wxpython" 1.19 +BUILD_DEPENDS="wget cacerts wxpython-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + python setup.py build 1.25 + python setup.py install --root=$install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/share/icons/hicolor 1.32 + cp -a $install/usr/lib $fs/usr 1.33 + find $fs -name '*.pyc' -delete 1.34 + for size in 16x16 48x48; do 1.35 + mkdir -p $fs/usr/share/icons/hicolor/$size/apps 1.36 + cp -a $install/usr/share/icons/hicolor/$size/apps/*.png \ 1.37 + $fs/usr/share/icons/hicolor/$size/apps/$PACKAGE.png 1.38 + done 1.39 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/youtube-dl-gui/stuff/youtube-dl-gui.desktop Thu Nov 13 11:16:08 2014 +0200 2.3 @@ -0,0 +1,6 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Name=Youtube-DLG 2.7 +Exec=python /usr/lib/python2.7/site-packages/youtube_dl_gui/__main__.py 2.8 +Icon=youtube-dl-gui 2.9 +Categories=Network;FileTransfer;