# HG changeset patch # User Pascal Bellard # Date 1647019209 0 # Node ID ecd613707114e866fb3c49006b201e9dba5cc9a1 # Parent 5c32fbe35985c5c7bc3452e0e6fb699c9736dd0b Add libavif diff -r 5c32fbe35985 -r ecd613707114 cortex/receipt --- a/cortex/receipt Fri Mar 11 17:39:07 2022 +0100 +++ b/cortex/receipt Fri Mar 11 17:20:09 2022 +0000 @@ -17,7 +17,7 @@ current_version() { wget -O - https://github.com/GGLucas/cortex/commits/master 2>/dev/null | \ - sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 5c32fbe35985 -r ecd613707114 double-conversion/receipt --- a/double-conversion/receipt Fri Mar 11 17:39:07 2022 +0100 +++ b/double-conversion/receipt Fri Mar 11 17:20:09 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="cmake" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5c32fbe35985 -r ecd613707114 ipxe/receipt --- a/ipxe/receipt Fri Mar 11 17:39:07 2022 +0100 +++ b/ipxe/receipt Fri Mar 11 17:20:09 2022 +0000 @@ -42,7 +42,8 @@ pxelinux="$(ls $WOK/syslinux/source/*/core/pxelinux.0)" make bin-i386-efi/snponly.efi EMBED=$stuff/ipxelinux.ipxe,$pxelinux && mv bin-i386-efi/snponly.efi bin-i386-efi/ipxelinux.efi - make bin-i386-efi/ipxe.efi bin-i386-efi/snponly.efi EMBED=$stuff/ipxe.cmd + make bin-i386-efi/ipxe.efi bin-i386-efi/ipxe.efidrv bin-i386-efi/snponly.efi \ + EMBED=$stuff/ipxe.cmd sed -i 's|//\(#define.*MEMMAP_SETTINGS\)|\1|' config/settings.h make bin/undionly.kkkpxe EMBED=$stuff/ipxelinux.ipxe,$pxelinux && diff -r 5c32fbe35985 -r ecd613707114 kilo/receipt --- a/kilo/receipt Fri Mar 11 17:39:07 2022 +0100 +++ b/kilo/receipt Fri Mar 11 17:20:09 2022 +0000 @@ -17,7 +17,7 @@ current_version() { wget -O - https://github.com/antirez/kilo/commits/master 2>/dev/null | \ - sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d } # Rules to configure and make the package. diff -r 5c32fbe35985 -r ecd613707114 libavif-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libavif-dev/receipt Fri Mar 11 17:20:09 2022 +0000 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libavif-dev" +VERSION="0.9.0" +CATEGORY="development" +SHORT_DESC="Library for encoding and decoding .avif files, development files" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT Apache" +WEB_SITE="https://github.com/AOMediaCodec/libavif" +WANTED="libavif" + +DEPENDS="libavif pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/cmake $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r 5c32fbe35985 -r ecd613707114 libavif/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libavif/receipt Fri Mar 11 17:20:09 2022 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="libavif" +VERSION="0.9.0" +CATEGORY="multimedia" +SHORT_DESC="Library for encoding and decoding .avif files" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT Apache" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/AOMediaCodec/libavif" +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" + +BUILD_DEPENDS="cmake" + +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + mkdir build_linux + cd build_linux + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/lib*.so* $fs/usr/lib +} diff -r 5c32fbe35985 -r ecd613707114 libdbi/receipt --- a/libdbi/receipt Fri Mar 11 17:39:07 2022 +0100 +++ b/libdbi/receipt Fri Mar 11 17:20:09 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="https://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libdbi/files/libdbi/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libdbi-||;s|/.*||;q' +} # Rules to configure and make the package. compile_rules()