# HG changeset patch # User Aleksej Bobylev # Date 1415870168 -7200 # Node ID f33f3cf10490c3907ae2d0dbcb1129e709593eba # Parent 4d75ab15b3289eb96edfe12bfe019c04bb99054d Add youtube-dl-gui. diff -r 4d75ab15b328 -r f33f3cf10490 youtube-dl-gui/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/youtube-dl-gui/receipt Thu Nov 13 11:16:08 2014 +0200 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="youtube-dl-gui" +COMMIT="a2a0d6fb4907d9282c2f45a00a1e51ce23602421" +VERSION="${COMMIT:0:10}" +CATEGORY="multimedia" +SHORT_DESC="A cross platform front-end GUI of the popular youtube-dl written in wxPython." +MAINTAINER="al.bobylev@gmail.com" +LICENSE="" +WEB_SITE="https://github.com/MrS0m30n3/youtube-dl-gui" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" +GENERIC_PIXMAPS="no" + +DEPENDS="youtube-dl wxpython" +BUILD_DEPENDS="wget cacerts wxpython-dev" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build + python setup.py install --root=$install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/icons/hicolor + cp -a $install/usr/lib $fs/usr + find $fs -name '*.pyc' -delete + for size in 16x16 48x48; do + mkdir -p $fs/usr/share/icons/hicolor/$size/apps + cp -a $install/usr/share/icons/hicolor/$size/apps/*.png \ + $fs/usr/share/icons/hicolor/$size/apps/$PACKAGE.png + done +} diff -r 4d75ab15b328 -r f33f3cf10490 youtube-dl-gui/stuff/youtube-dl-gui.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/youtube-dl-gui/stuff/youtube-dl-gui.desktop Thu Nov 13 11:16:08 2014 +0200 @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=Youtube-DLG +Exec=python /usr/lib/python2.7/site-packages/youtube_dl_gui/__main__.py +Icon=youtube-dl-gui +Categories=Network;FileTransfer;