# HG changeset patch # User Pascal Bellard # Date 1693392194 0 # Node ID 8a1b5064cec9b596a8e060b52f6953c868c21624 # Parent 1659aa0207dde4d6132b1a24ac649efd3aa93490 Up youtube-dl (2021.12.17) diff -r 1659aa0207dd -r 8a1b5064cec9 btanks/receipt --- a/btanks/receipt Mon Aug 28 14:28:52 2023 +0000 +++ b/btanks/receipt Wed Aug 30 10:43:14 2023 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="A fast 2d tank arcade game with multiplayer and split-screen modes." MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" -WEB_SITE="https://btanks.sourceforge.net/" +WEB_SITE="https://sourceforge.net/projects/btanks/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" diff -r 1659aa0207dd -r 8a1b5064cec9 openscad/receipt --- a/openscad/receipt Mon Aug 28 14:28:52 2023 +0000 +++ b/openscad/receipt Wed Aug 30 10:43:14 2023 +0000 @@ -7,8 +7,8 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.src.tar.gz" -WEB_SITE="http://www.openscad.org/" -WGET_URL="http://files.openscad.org//$TARBALL" +WEB_SITE="https://www.openscad.org/" +WGET_URL="https://files.openscad.org//$TARBALL" DEPENDS="cgal gmp mpfr glew opencsg mesa libboost-program-options \ libboost-filesystem libboost-thread libboost-regex libQtOpenGL \ diff -r 1659aa0207dd -r 8a1b5064cec9 portaudio-dev/receipt --- a/portaudio-dev/receipt Mon Aug 28 14:28:52 2023 +0000 +++ b/portaudio-dev/receipt Wed Aug 30 10:43:14 2023 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Portaudio - development files." MAINTAINER="erjo@slitaz.org" LICENSE="MIT" -WEB_SITE="http://www.portaudio.com/" +WEB_SITE="https://www.portaudio.com/" DEPENDS="portaudio pkg-config" WANTED="portaudio" diff -r 1659aa0207dd -r 8a1b5064cec9 portaudio/receipt --- a/portaudio/receipt Mon Aug 28 14:28:52 2023 +0000 +++ b/portaudio/receipt Wed Aug 30 10:43:14 2023 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="A portable cross-platform audio API." MAINTAINER="erjo@slitaz.org" LICENSE="MIT" -WEB_SITE="http://www.portaudio.com/" +WEB_SITE="https://www.portaudio.com/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/PortAudio/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz" diff -r 1659aa0207dd -r 8a1b5064cec9 soprano-dev/receipt --- a/soprano-dev/receipt Mon Aug 28 14:28:52 2023 +0000 +++ b/soprano-dev/receipt Wed Aug 30 10:43:14 2023 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Soprano - development files." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://soprano.sourceforge.net/" +WEB_SITE="https://sourceforge.net/projects/soprano/" DEPENDS="pkg-config" WANTED="soprano" diff -r 1659aa0207dd -r 8a1b5064cec9 soprano/receipt --- a/soprano/receipt Mon Aug 28 14:28:52 2023 +0000 +++ b/soprano/receipt Wed Aug 30 10:43:14 2023 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Soprano is the Qt/C++ RDF framework." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://soprano.sourceforge.net/" +WEB_SITE="https://sourceforge.net/projects/soprano/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" diff -r 1659aa0207dd -r 8a1b5064cec9 youtube-dl/receipt --- a/youtube-dl/receipt Mon Aug 28 14:28:52 2023 +0000 +++ b/youtube-dl/receipt Wed Aug 30 10:43:14 2023 +0000 @@ -1,31 +1,37 @@ # SliTaz package receipt. PACKAGE="youtube-dl" -VERSION="2020.05.08" +VERSION="2021.12.17" CATEGORY="utilities" SHORT_DESC="Downloads videos from various streaming websites." MAINTAINER="gokhlayeh@slitaz.org" LICENSE="MIT" -WEB_SITE="https://rg3.github.io/youtube-dl/" +WEB_SITE="https://github.com/ytdl-org/youtube-dl" -TARBALL="$PACKAGE-${VERSION//./-}" -WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl" +TARBALL="$PACKAGE-${VERSION//./-}.tar.gz" +WGET_URL="https://github.com/ytdl-org/youtube-dl/archive/refs/tags/$VERSION.tar.gz" DEPENDS="python" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python setuptools" # What is the latest version available today? current_version() { - wget -O - https://pypi.org/project/youtube_dl/ 2>/dev/null | \ - sed '/youtube_dl 2/!d;s|.*dl ||;q' + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - - cp $src/$TARBALL $fs/usr/bin/$PACKAGE - chmod +x $fs/usr/bin/$PACKAGE + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr/ + cp -a $install/usr/lib $fs/usr/ }