wok-next rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
parents c5f2e3dd8d8f
children ea1ce0b9295f
files gst1-plugins-base/.icon.png gst1-plugins-base/receipt gstreamer1/.icon.png gstreamer1/receipt gstreamer1/stuff/overrides libnfs/receipt libnl/receipt libnotify/receipt libnotify/stuff/patches/libnotify-gtk2.patch libnotify/stuff/patches/series libnsl/receipt libogg/receipt libquvi-scripts/receipt libsamplerate/receipt libunistring/receipt libusb/receipt libuv/receipt lua-md/.icon.png lua-md/receipt lua-yaml/.icon.png lua-yaml/receipt lua-yaml/stuff/patches/cmake.patch lua-yaml/stuff/patches/series lua-yaml/stuff/patches/utf-8.patch lua-zlib/.icon.png lua-zlib/receipt woff2/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gst1-plugins-base/.icon.png	Thu Jan 31 16:45:41 2019 +0200
     1.3 @@ -0,0 +1,1 @@
     1.4 +../gstreamer1/.icon.png
     1.5 \ No newline at end of file
     2.1 --- a/gst1-plugins-base/receipt	Thu Jan 31 10:34:36 2019 +0200
     2.2 +++ b/gst1-plugins-base/receipt	Thu Jan 31 16:45:41 2019 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="gst1-plugins-base"
     2.7 -VERSION="1.10.3"
     2.8 +VERSION="1.14.4"
     2.9  CATEGORY="multimedia"
    2.10  SHORT_DESC="GStreamer Base Plugins"
    2.11  MAINTAINER="devel@slitaz.org"
    2.12 @@ -11,12 +11,18 @@
    2.13  
    2.14  TARBALL="gst-plugins-base-$VERSION.tar.xz"
    2.15  WGET_URL="https://gstreamer.freedesktop.org/src/gst-plugins-base/$TARBALL"
    2.16 +TARBALL_SHA1="204ad46dca52230adb80bd96fcad923555251af2"
    2.17  
    2.18 -BUILD_DEPENDS="gettext-dev valgrind-dev python gstreamer1-dev \
    2.19 -orc-dev libx11-dev libxv-dev alsa-lib-dev cdparanoia-dev \
    2.20 -libvorbis-dev libogg-dev opus-dev pango-dev libtheora-dev"
    2.21 +BUILD_DEPENDS="gettext-dev valgrind-dev python gstreamer1-dev orc-dev \
    2.22 +libx11-dev libxv-dev alsa-lib-dev cdparanoia-dev libvorbis-dev libogg-dev \
    2.23 +opus-dev pango-dev libtheora-dev gobject-introspection-dev mesa-dev"
    2.24  SPLIT="$PACKAGE-dev"
    2.25  
    2.26 +DEPENDS_std="alsa-lib cdparanoia glib gstreamer1 libcairo libogg libpng \
    2.27 +libtheora-enc libvorbis libx11 libxcb libxext libxv mesa mesa-libegl opus orc \
    2.28 +pango wayland zlib"
    2.29 +DEPENDS_dev="$PACKAGE glib-dev gstreamer1-dev orc-dev zlib-dev"
    2.30 +
    2.31  COOKOPTS="skip-log-errors"
    2.32  
    2.33  compile_rules() {
    2.34 @@ -28,18 +34,3 @@
    2.35  	make $MAKEFLAGS &&
    2.36  	make install
    2.37  }
    2.38 -
    2.39 -genpkg_rules() {
    2.40 -	case $PACKAGE in
    2.41 -		gst1-plugins-base)
    2.42 -			copy @std
    2.43 -			DEPENDS="alsa-lib libcairo cdparanoia glib gstreamer1 libogg \
    2.44 -			libtheora-enc libvorbis opus orc pango libx11 libxext \
    2.45 -			libxv zlib"
    2.46 -			;;
    2.47 -		*-dev)
    2.48 -			copy @dev
    2.49 -			DEPENDS="gst1-plugins-base glib-dev gstreamer1-dev"
    2.50 -			;;
    2.51 -	esac
    2.52 -}
     3.1 Binary file gstreamer1/.icon.png has changed
     4.1 --- a/gstreamer1/receipt	Thu Jan 31 10:34:36 2019 +0200
     4.2 +++ b/gstreamer1/receipt	Thu Jan 31 16:45:41 2019 +0200
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt v2.
     4.5  
     4.6  PACKAGE="gstreamer1"
     4.7 -VERSION="1.10.3"
     4.8 +VERSION="1.14.4"
     4.9  CATEGORY="multimedia"
    4.10  SHORT_DESC="GStreamer Multimedia Framework"
    4.11  MAINTAINER="devel@slitaz.org"
    4.12 @@ -10,10 +10,14 @@
    4.13  
    4.14  TARBALL="gstreamer-$VERSION.tar.xz"
    4.15  WGET_URL="https://gstreamer.freedesktop.org/src/gstreamer/$TARBALL"
    4.16 +TARBALL_SHA1="324a30ddd2c35103fa6af8ffb1e436e8dda714c8"
    4.17  
    4.18 -BUILD_DEPENDS="gettext-dev perl valgrind-dev glib-dev"
    4.19 +BUILD_DEPENDS="gettext-dev perl valgrind-dev glib-dev gobject-introspection-dev"
    4.20  SPLIT="$PACKAGE-dev"
    4.21  
    4.22 +DEPENDS_std="glib"
    4.23 +DEPENDS_dev="$PACKAGE glib-dev"
    4.24 +
    4.25  COOKOPTS="skip-log-errors"
    4.26  
    4.27  compile_rules() {
    4.28 @@ -27,16 +31,3 @@
    4.29  
    4.30  	ln -s gstreamer-1.0/gst $install/usr/include/gst
    4.31  }
    4.32 -
    4.33 -genpkg_rules() {
    4.34 -	case $PACKAGE in
    4.35 -		gstreamer1)
    4.36 -			copy @std
    4.37 -			DEPENDS="glib"
    4.38 -			;;
    4.39 -		*-dev)
    4.40 -			copy @dev
    4.41 -			DEPENDS="gstreamer1 glib-dev"
    4.42 -			;;
    4.43 -	esac
    4.44 -}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/gstreamer1/stuff/overrides	Thu Jan 31 16:45:41 2019 +0200
     5.3 @@ -0,0 +1,1 @@
     5.4 +4755 /usr/libexec/gstreamer-1.0/gst-ptp-helper
     6.1 --- a/libnfs/receipt	Thu Jan 31 10:34:36 2019 +0200
     6.2 +++ b/libnfs/receipt	Thu Jan 31 16:45:41 2019 +0200
     6.3 @@ -10,21 +10,17 @@
     6.4  
     6.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     6.6  WGET_URL="https://github.com/sahlberg/libnfs/archive/$TARBALL"
     6.7 +TARBALL_SHA1="0e6f8e94ff7c7465ca7fbbbd78a10bf6115bebed"
     6.8  
     6.9  BUILD_DEPENDS="automake libtool   fuse2-dev talloc-dev"
    6.10  SPLIT="$PACKAGE-dev"
    6.11  
    6.12  compile_rules() {
    6.13  	autoreconf -vif &&
    6.14 -	./configure $CONFIGURE_ARGS &&
    6.15 +	./configure \
    6.16 +		--disable-static \
    6.17 +		$CONFIGURE_ARGS &&
    6.18  	fix libtool &&
    6.19  	make &&
    6.20  	make install
    6.21  }
    6.22 -
    6.23 -genpkg_rules() {
    6.24 -	case $PACKAGE in
    6.25 -		libnfs) copy @std;;
    6.26 -		*-dev)  copy @dev;;
    6.27 -	esac
    6.28 -}
     7.1 --- a/libnl/receipt	Thu Jan 31 10:34:36 2019 +0200
     7.2 +++ b/libnl/receipt	Thu Jan 31 16:45:41 2019 +0200
     7.3 @@ -11,9 +11,16 @@
     7.4  
     7.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     7.6  WGET_URL="https://github.com/thom311/libnl/releases/download/libnl${VERSION//./_}/$TARBALL"
     7.7 +TARBALL_SHA1="4fc4c3b6812dc7e68ef8acb69287583685266a0b"
     7.8  
     7.9  BUILD_DEPENDS="flex"
    7.10 -SPLIT="$PACKAGE-tools $PACKAGE-dev"
    7.11 +SPLIT="$PACKAGE-tools $PACKAGE $PACKAGE-dev"
    7.12 +
    7.13 +COPY_libnl_tools="bin/"
    7.14 +CAT_libnl_tools="network|tiny tools"
    7.15 +DEPENDS_libnl_tools="$PACKAGE"
    7.16 +
    7.17 +CONFIG_FILES_std="/etc/libnl/classid /etc/libnl/pktloc"
    7.18  
    7.19  compile_rules() {
    7.20  	./configure \
    7.21 @@ -23,17 +30,3 @@
    7.22  	make &&
    7.23  	make install
    7.24  }
    7.25 -
    7.26 -genpkg_rules() {
    7.27 -	case $PACKAGE in
    7.28 -		libnl)
    7.29 -			copy etc/ *.so*
    7.30 -			CONFIG_FILES="/etc/libnl/classid /etc/libnl/pktloc"
    7.31 -			;;
    7.32 -		libnl-tools)
    7.33 -			copy @std @rm
    7.34 -			CAT="network|tiny tools"
    7.35 -			;;
    7.36 -		*-dev) copy @dev;;
    7.37 -	esac
    7.38 -}
     8.1 --- a/libnotify/receipt	Thu Jan 31 10:34:36 2019 +0200
     8.2 +++ b/libnotify/receipt	Thu Jan 31 16:45:41 2019 +0200
     8.3 @@ -7,34 +7,24 @@
     8.4  MAINTAINER="devel@slitaz.org"
     8.5  LICENSE="LGPL2.1"
     8.6  WEB_SITE="https://developer.gnome.org/libnotify/"
     8.7 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/libnotify.html"
     8.8  
     8.9  TARBALL="$PACKAGE-$VERSION.tar.xz"
    8.10  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    8.11 +TARBALL_SHA1="4cdf482737df504ac37f5489940b5c7ea5e18d57"
    8.12  
    8.13  BUILD_DEPENDS="gdk-pixbuf-dev glib-dev gtk2-dev gobject-introspection-dev \
    8.14  gtk-doc xmlto"
    8.15  SPLIT="$PACKAGE-dev"
    8.16  
    8.17 +DEPENDS_std="gdk-pixbuf glib"
    8.18 +DEPENDS_dev="$PACKAGE gdk-pixbuf-dev glib-dev"
    8.19 +
    8.20  compile_rules() {
    8.21 -	sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
    8.22 -	-e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
    8.23 -	-i configure
    8.24 -
    8.25 -	./configure $CONFIGURE_ARGS &&
    8.26 +	./configure \
    8.27 +		--disable-static \
    8.28 +		$CONFIGURE_ARGS &&
    8.29  	fix libtool &&
    8.30  	make &&
    8.31  	make install
    8.32  }
    8.33 -
    8.34 -genpkg_rules() {
    8.35 -	case $PACKAGE in
    8.36 -		libnotify)
    8.37 -			copy @std
    8.38 -			DEPENDS="gdk-pixbuf glib"
    8.39 -			;;
    8.40 -		*-dev)
    8.41 -			copy @dev
    8.42 -			DEPENDS="libnotify gdk-pixbuf-dev glib-dev"
    8.43 -			;;
    8.44 -	esac
    8.45 -}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/libnotify/stuff/patches/libnotify-gtk2.patch	Thu Jan 31 16:45:41 2019 +0200
     9.3 @@ -0,0 +1,20 @@
     9.4 +--- a/configure
     9.5 ++++ b/configure
     9.6 +@@ -11732,7 +11732,7 @@
     9.7 + 
     9.8 + 
     9.9 + 
    9.10 +-REQ_GTK_VERSION=2.90
    9.11 ++REQ_GTK_VERSION=2.24
    9.12 + REQ_GLIB_VERSION=2.26.0
    9.13 + 
    9.14 + pkg_modules="gdk-pixbuf-2.0 glib-2.0 >= $REQ_GLIB_VERSION gio-2.0 >= $REQ_GLIB_VERSION"
    9.15 +@@ -11949,7 +11949,7 @@
    9.16 + 
    9.17 + fi
    9.18 + 
    9.19 +-tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"
    9.20 ++tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"
    9.21 + # Check whether --enable-tests was given.
    9.22 + if test "${enable_tests+set}" = set; then :
    9.23 +   enableval=$enable_tests;
    10.1 --- a/libnotify/stuff/patches/series	Thu Jan 31 10:34:36 2019 +0200
    10.2 +++ b/libnotify/stuff/patches/series	Thu Jan 31 16:45:41 2019 +0200
    10.3 @@ -1,1 +1,2 @@
    10.4  print-and-replace-id-v3.patch
    10.5 +libnotify-gtk2.patch
    11.1 --- a/libnsl/receipt	Thu Jan 31 10:34:36 2019 +0200
    11.2 +++ b/libnsl/receipt	Thu Jan 31 16:45:41 2019 +0200
    11.3 @@ -11,13 +11,19 @@
    11.4  
    11.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
    11.6  WGET_URL="https://github.com/thkukuk/libnsl/archive/v$VERSION/$TARBALL"
    11.7 +TARBALL_SHA1="f141c7cf0ff96d96e369dda36af8ed19af0fc3ca"
    11.8  
    11.9  BUILD_DEPENDS="automake gettext-dev libtool libtirpc-dev rpcsvc-proto"
   11.10  SPLIT="$PACKAGE-dev"
   11.11  
   11.12 +DEPENDS_std="libtirpc"
   11.13 +DEPENDS_dev="$PACKAGE libtirpc-dev"
   11.14 +
   11.15  compile_rules() {
   11.16  	autoreconf -fi &&
   11.17 -	./configure $CONFIGURE_ARGS &&
   11.18 +	./configure \
   11.19 +		--disable-static \
   11.20 +		$CONFIGURE_ARGS &&
   11.21  	fix libtool &&
   11.22  	make &&
   11.23  	make install || return 1
   11.24 @@ -26,16 +32,3 @@
   11.25  	mv $install/usr/lib/libnsl.so.2*  $install/lib
   11.26  	ln -sfv ../../lib/libnsl.so.2.0.0 $install/usr/lib/libnsl.so
   11.27  }
   11.28 -
   11.29 -genpkg_rules() {
   11.30 -	case $PACKAGE in
   11.31 -		libnsl)
   11.32 -			copy @std
   11.33 -			DEPENDS="libtirpc"
   11.34 -			;;
   11.35 -		*-dev)
   11.36 -			copy @dev
   11.37 -			DEPENDS="libnsl libtirpc-dev"
   11.38 -			;;
   11.39 -	esac
   11.40 -}
    12.1 --- a/libogg/receipt	Thu Jan 31 10:34:36 2019 +0200
    12.2 +++ b/libogg/receipt	Thu Jan 31 16:45:41 2019 +0200
    12.3 @@ -11,9 +11,12 @@
    12.4  
    12.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
    12.6  WGET_URL="http://downloads.xiph.org/releases/ogg/$TARBALL"
    12.7 +TARBALL_SHA1="ba54760b8f44bd85b79222286faf5d6a21e356fe"
    12.8  
    12.9  SPLIT="$PACKAGE-dev"
   12.10  
   12.11 +TAGS_std="Xiph.org"
   12.12 +
   12.13  compile_rules() {
   12.14  	./configure $CONFIGURE_ARGS &&
   12.15  	fix libtool &&
    13.1 --- a/libquvi-scripts/receipt	Thu Jan 31 10:34:36 2019 +0200
    13.2 +++ b/libquvi-scripts/receipt	Thu Jan 31 16:45:41 2019 +0200
    13.3 @@ -10,28 +10,20 @@
    13.4  
    13.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
    13.6  WGET_URL="$SF_MIRROR/quvi/$TARBALL"
    13.7 +TARBALL_SHA1="41f059964c8f47aeb241cc53b883592b5db77e53"
    13.8  
    13.9  COOKOPTS="force-arch" # different "version"
   13.10  
   13.11  SPLIT="$PACKAGE-dev"
   13.12  
   13.13 +DEPENDS_std="lua53-bitop lua53-expat lua53-json"
   13.14 +
   13.15  compile_rules() {
   13.16  	./configure \
   13.17  		--with-nsfw \
   13.18  		--with-geoblocked \
   13.19  		$CONFIGURE_ARGS &&
   13.20 +	fix libtool &&
   13.21  	make &&
   13.22  	make install
   13.23  }
   13.24 -
   13.25 -genpkg_rules() {
   13.26 -	case $PACKAGE in
   13.27 -		libquvi-scripts)
   13.28 -			copy @std
   13.29 -			DEPENDS="lua53-bitop lua53-expat lua53-json"
   13.30 -			;;
   13.31 -		*-dev)
   13.32 -			copy @dev
   13.33 -			;;
   13.34 -	esac
   13.35 -}
    14.1 --- a/libsamplerate/receipt	Thu Jan 31 10:34:36 2019 +0200
    14.2 +++ b/libsamplerate/receipt	Thu Jan 31 16:45:41 2019 +0200
    14.3 @@ -11,6 +11,7 @@
    14.4  
    14.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
    14.6  WGET_URL="http://www.mega-nerd.com/SRC/$TARBALL"
    14.7 +TARBALL_SHA1="ed60f957a4ff87aa15cbb1f3dbd886fa7e5e9566"
    14.8  
    14.9  SPLIT="$PACKAGE-dev"
   14.10  
   14.11 @@ -22,10 +23,3 @@
   14.12  	make &&
   14.13  	make install
   14.14  }
   14.15 -
   14.16 -genpkg_rules() {
   14.17 -	case $PACKAGE in
   14.18 -		libsamplerate) copy @std;;
   14.19 -		*-dev)         copy @dev;;
   14.20 -	esac
   14.21 -}
    15.1 --- a/libunistring/receipt	Thu Jan 31 10:34:36 2019 +0200
    15.2 +++ b/libunistring/receipt	Thu Jan 31 16:45:41 2019 +0200
    15.3 @@ -11,6 +11,7 @@
    15.4  
    15.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
    15.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    15.7 +TARBALL_SHA1="16dc423d3ebd23f365b0ffe7d584428b427f4bde"
    15.8  
    15.9  SPLIT="$PACKAGE-dev"
   15.10  
   15.11 @@ -22,10 +23,3 @@
   15.12  	make &&
   15.13  	make install
   15.14  }
   15.15 -
   15.16 -genpkg_rules() {
   15.17 -	case $PACKAGE in
   15.18 -		libunistring) copy @std;;
   15.19 -		*-dev)        copy @dev;;
   15.20 -	esac
   15.21 -}
    16.1 --- a/libusb/receipt	Thu Jan 31 10:34:36 2019 +0200
    16.2 +++ b/libusb/receipt	Thu Jan 31 16:45:41 2019 +0200
    16.3 @@ -11,10 +11,14 @@
    16.4  
    16.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    16.6  WGET_URL="https://github.com/libusb/libusb/releases/download/v$VERSION/$TARBALL"
    16.7 +TARBALL_SHA1="10116aa265aac4273a0c894faa089370262ec0dc"
    16.8  
    16.9  BUILD_DEPENDS="eudev-dev"
   16.10  SPLIT="$PACKAGE-dev"
   16.11  
   16.12 +DEPENDS_std="eudev"
   16.13 +DEPENDS_dev="$PACKAGE eudev-dev"
   16.14 +
   16.15  compile_rules() {
   16.16  	sed -i 's|^PROJECT_LOGO|#&|' doc/doxygen.cfg.in
   16.17  
   16.18 @@ -26,16 +30,3 @@
   16.19  	make -j1 &&
   16.20  	make install
   16.21  }
   16.22 -
   16.23 -genpkg_rules() {
   16.24 -	case $PACKAGE in
   16.25 -		libusb)
   16.26 -			copy *.so*
   16.27 -			DEPENDS="eudev"
   16.28 -			;;
   16.29 -		*-dev)
   16.30 -			copy @dev
   16.31 -			DEPENDS="libusb eudev-dev"
   16.32 -			;;
   16.33 -	esac
   16.34 -}
    17.1 --- a/libuv/receipt	Thu Jan 31 10:34:36 2019 +0200
    17.2 +++ b/libuv/receipt	Thu Jan 31 16:45:41 2019 +0200
    17.3 @@ -1,7 +1,7 @@
    17.4  # SliTaz package receipt v2.
    17.5  
    17.6  PACKAGE="libuv"
    17.7 -VERSION="1.24.1"
    17.8 +VERSION="1.25.0"
    17.9  CATEGORY="libs"
   17.10  SHORT_DESC="Cross-platform asychronous I/O"
   17.11  MAINTAINER="al.bobylev@gmail.com"
   17.12 @@ -11,7 +11,7 @@
   17.13  
   17.14  TARBALL="$PACKAGE-v$VERSION.tar.gz"
   17.15  WGET_URL="https://dist.libuv.org/dist/v$VERSION/$TARBALL"
   17.16 -TARBALL_SHA1="f229572bd589585ff4d18f964c613b06f4f1ed6f"
   17.17 +TARBALL_SHA1="e735c6070801d2af0bde43e8d9f7993519ffcaf9"
   17.18  
   17.19  BUILD_DEPENDS="automake libtool libnsl-dev"
   17.20  SPLIT="$PACKAGE-dev"
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/lua-md/.icon.png	Thu Jan 31 16:45:41 2019 +0200
    18.3 @@ -0,0 +1,1 @@
    18.4 +../lua53/.icon.png
    18.5 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/lua-md/receipt	Thu Jan 31 16:45:41 2019 +0200
    19.3 @@ -0,0 +1,30 @@
    19.4 +# SliTaz package receipt v2.
    19.5 +
    19.6 +PACKAGE="lua-md"
    19.7 +VERSION="20170414" # many improvements since latest release 0.0 on 20160412
    19.8 +COMMIT="08b9e04"   # so using latest shapshot
    19.9 +CATEGORY="system-tools"
   19.10 +SHORT_DESC="Markdown text-to-html markup system"
   19.11 +MAINTAINER="al.bobylev@gmail.com"
   19.12 +LICENSE="MIT"
   19.13 +WEB_SITE="https://github.com/bakpakin/luamd"
   19.14 +HOST_ARCH="any"
   19.15 +REPOLOGY="lua:md"
   19.16 +
   19.17 +TARBALL="$PACKAGE-$COMMIT.tar.gz"
   19.18 +WGET_URL="https://github.com/bakpakin/luamd/archive/$COMMIT.tar.gz"
   19.19 +TARBALL_SHA1="03e5607bf176500cd2c3e2977f213afdd8d60f5c"
   19.20 +
   19.21 +BUILD_DEPENDS="lua53" # for test
   19.22 +DEPENDS="lua" # virtual "lua" package
   19.23 +
   19.24 +compile_rules() {
   19.25 +	install -Dm644 md.lua $install/usr/share/lua/common/md.lua
   19.26 +	install -Dm755 luamd  $install/usr/bin/luamd
   19.27 +
   19.28 +	cook_pick_docs *.md
   19.29 +}
   19.30 +
   19.31 +testsuite() {
   19.32 +	lua53 ./testrender.lua
   19.33 +}
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/lua-yaml/.icon.png	Thu Jan 31 16:45:41 2019 +0200
    20.3 @@ -0,0 +1,1 @@
    20.4 +../lua53/.icon.png
    20.5 \ No newline at end of file
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/lua-yaml/receipt	Thu Jan 31 16:45:41 2019 +0200
    21.3 @@ -0,0 +1,56 @@
    21.4 +# SliTaz package receipt v2.
    21.5 +
    21.6 +PACKAGE="lua-yaml"
    21.7 +VERSION="1.1.2"
    21.8 +CATEGORY="system-tools"
    21.9 +SHORT_DESC="LibYAML binding for Lua"
   21.10 +MAINTAINER="al.bobylev@gmail.com"
   21.11 +LICENSE="MIT"
   21.12 +WEB_SITE="http://yaml.luaforge.net/"
   21.13 +REPOLOGY="lua:yaml"
   21.14 +
   21.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   21.16 +WGET_URL="https://github.com/lubyk/yaml/archive/REL-$VERSION.tar.gz"
   21.17 +TARBALL_SHA1="e455ec834a0be4998b7be0d6b292fa169cbe7f89"
   21.18 +
   21.19 +BUILD_DEPENDS="cmake yaml-dev lua51-dev lua52-dev lua53-dev"
   21.20 +SPLIT="lua51-yaml:51 lua52-yaml:52 lua53-yaml:53"
   21.21 +
   21.22 +COPY_lua51_yaml="@std"
   21.23 +COPY_lua52_yaml="@std"
   21.24 +COPY_lua53_yaml="@std"
   21.25 +
   21.26 +DEPENDS_lua51_yaml="lua51 lua-lub"
   21.27 +DEPENDS_lua52_yaml="lua52 lua-lub"
   21.28 +DEPENDS_lua53_yaml="lua53 lua-lub"
   21.29 +
   21.30 +CAT_std="nopack|"
   21.31 +CAT_lua51_yaml="system-tools|for Lua 5.1"
   21.32 +CAT_lua52_yaml="system-tools|for Lua 5.2"
   21.33 +CAT_lua53_yaml="system-tools|for Lua 5.3"
   21.34 +
   21.35 +compile_rules() {
   21.36 +	if [ -z "$SET" ]; then
   21.37 +		cook_pick_docs src/HISTORY src/LICENSE* src/README*
   21.38 +		return
   21.39 +	fi
   21.40 +
   21.41 +	# get variables from .pc file
   21.42 +	pc="lua$SET"
   21.43 +	cflags=$(pkg-config --cflags $pc)
   21.44 +	install_lmod=$(pkg-config --variable=INSTALL_LMOD $pc)
   21.45 +	install_cmod=$(pkg-config --variable=INSTALL_CMOD $pc)
   21.46 +
   21.47 +	mkdir build
   21.48 +	cd    build
   21.49 +	cmake \
   21.50 +		-DCMAKE_C_FLAGS="$CFLAGS -Wall -DNDEBUG $cflags" \
   21.51 +		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
   21.52 +		-DCMAKE_SKIP_RPATH=TRUE \
   21.53 +		-DCMAKE_VERBOSE_MAKEFILE=TRUE \
   21.54 +		-DLUA_INSTALL_DIR=$install_lmod \
   21.55 +		-DLUA_INSTALL_BINDIR=$install_cmod \
   21.56 +		.. &&
   21.57 +	make &&
   21.58 +	make install
   21.59 +}
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/lua-yaml/stuff/patches/cmake.patch	Thu Jan 31 16:45:41 2019 +0200
    22.3 @@ -0,0 +1,15 @@
    22.4 +--- a/CMakeLists.txt
    22.5 ++++ b/CMakeLists.txt
    22.6 +@@ -53,12 +53,6 @@
    22.7 +   endif(WIN32)
    22.8 + endif(UNIX)
    22.9 + 
   22.10 +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -fPIC -O2")
   22.11 +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -fPIC -O2")
   22.12 +-if (RELEASE)
   22.13 +-  add_definitions(-O2 -DNDEBUG)
   22.14 +-endif(RELEASE)
   22.15 +-
   22.16 + # --------------------------------------------------------------
   22.17 + #  yaml.core
   22.18 + # --------------------------------------------------------------
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/lua-yaml/stuff/patches/series	Thu Jan 31 16:45:41 2019 +0200
    23.3 @@ -0,0 +1,4 @@
    23.4 +# from Alpine Linux: https://git.alpinelinux.org/aports/tree/main/lua-yaml?h=master
    23.5 +cmake.patch
    23.6 +
    23.7 +utf-8.patch
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/lua-yaml/stuff/patches/utf-8.patch	Thu Jan 31 16:45:41 2019 +0200
    24.3 @@ -0,0 +1,11 @@
    24.4 +--- a/src/README
    24.5 ++++ b/src/README
    24.6 +@@ -16,7 +16,7 @@
    24.7 +     global yaml table.
    24.8 + 
    24.9 +     Portions of this software were inspired by Perl's YAML::LibYAML module by
   24.10 +-    Ingy döt Net.
   24.11 ++    Ingy döt Net.
   24.12 + 
   24.13 + SEE ALSO
   24.14 +     * LibYAML (http://pyyaml.org/wiki/LibYAML)
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/lua-zlib/.icon.png	Thu Jan 31 16:45:41 2019 +0200
    25.3 @@ -0,0 +1,1 @@
    25.4 +../lua53/.icon.png
    25.5 \ No newline at end of file
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/lua-zlib/receipt	Thu Jan 31 16:45:41 2019 +0200
    26.3 @@ -0,0 +1,54 @@
    26.4 +# SliTaz package receipt v2.
    26.5 +
    26.6 +PACKAGE="lua-zlib"
    26.7 +VERSION="1.2"
    26.8 +CATEGORY="system-tools"
    26.9 +SHORT_DESC="Simple streaming interface to zlib for Lua"
   26.10 +MAINTAINER="al.bobylev@gmail.com"
   26.11 +LICENSE="MIT"
   26.12 +WEB_SITE="https://github.com/brimworks/lua-zlib"
   26.13 +REPOLOGY="lua:zlib"
   26.14 +
   26.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   26.16 +WGET_URL="https://github.com/brimworks/lua-zlib/archive/v$VERSION.tar.gz"
   26.17 +TARBALL_SHA1="4005d0fc08258742558a8993fa4479307b3771dc"
   26.18 +
   26.19 +BUILD_DEPENDS="zlib-dev lua51-dev lua52-dev lua53-dev"
   26.20 +SPLIT="lua51-zlib:5.1 lua52-zlib:5.2 lua53-zlib:5.3"
   26.21 +
   26.22 +COPY_lua51_zlib="@std"
   26.23 +COPY_lua52_zlib="@std"
   26.24 +COPY_lua53_zlib="@std"
   26.25 +
   26.26 +DEPENDS_lua51_zlib="lua51"
   26.27 +DEPENDS_lua52_zlib="lua52"
   26.28 +DEPENDS_lua53_zlib="lua53"
   26.29 +
   26.30 +CAT_std="nopack|"
   26.31 +CAT_lua51_zlib="system-tools|for Lua 5.1"
   26.32 +CAT_lua52_zlib="system-tools|for Lua 5.2"
   26.33 +CAT_lua53_zlib="system-tools|for Lua 5.3"
   26.34 +
   26.35 +compile_rules() {
   26.36 +	if [ -z "$SET" ]; then
   26.37 +		cook_pick_docs README
   26.38 +		return
   26.39 +	fi
   26.40 +
   26.41 +	case $ARCH in
   26.42 +		x86_64) CFLAGS="$CFLAGS -fPIC";;
   26.43 +	esac
   26.44 +
   26.45 +	# get variables from .pc file
   26.46 +	pc="lua${SET/./}"
   26.47 +	includedir=$(pkg-config --variable=includedir $pc)
   26.48 +	libs=$(pkg-config --libs $pc)
   26.49 +	install_cmod=$(pkg-config --variable=INSTALL_CMOD $pc)
   26.50 +
   26.51 +	gcc -o zlib.so -O2 $CFLAGS -shared -I$includedir lua_zlib.c $libs -lz &&
   26.52 +	install -Dm755 zlib.so $install$install_cmod/zlib.so
   26.53 +}
   26.54 +
   26.55 +testsuite() {
   26.56 +	lua53 ./test.lua
   26.57 +}
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/woff2/receipt	Thu Jan 31 16:45:41 2019 +0200
    27.3 @@ -0,0 +1,33 @@
    27.4 +# SliTaz package receipt v2.
    27.5 +
    27.6 +PACKAGE="woff2"
    27.7 +VERSION="1.0.2"
    27.8 +CATEGORY="system-tools"
    27.9 +SHORT_DESC="Web Open Font Format 2 reference implementation"
   27.10 +MAINTAINER="al.bobylev@gmail.com"
   27.11 +LICENSE="MIT"
   27.12 +WEB_SITE="https://github.com/google/woff2"
   27.13 +
   27.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   27.15 +WGET_URL="https://github.com/google/woff2/archive/v$VERSION.tar.gz"
   27.16 +TARBALL_SHA1="bab4838b248026c968e171a5467b5176caf4e2e5"
   27.17 +
   27.18 +BUILD_DEPENDS="cmake ninja brotli-dev"
   27.19 +SPLIT="$PACKAGE-dev"
   27.20 +
   27.21 +DEPENDS_std="brotli"
   27.22 +DEPENDS_dev="$PACKAGE brotli-dev"
   27.23 +
   27.24 +compile_rules() {
   27.25 +	sed -i 's|NOT BUILD_SHARED_LIBS|TRUE|' CMakeLists.txt
   27.26 +
   27.27 +	mkdir build
   27.28 +	cd    build
   27.29 +	cmake \
   27.30 +		-G Ninja \
   27.31 +		-DCMAKE_INSTALL_PREFIX=/usr \
   27.32 +		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
   27.33 +		.. &&
   27.34 +	ninja &&
   27.35 +	ninja install
   27.36 +}