wok-6.x rev 25407

updated wayland and wayland-dev (1.4.0 -> 1.21.0)
author Hans-G?nter Theisgen
date Wed Aug 03 16:34:53 2022 +0100 (2022-08-03)
parents 8d429ff324a2
children 1ab5edec3cba
files wayland-dev/receipt wayland/description.txt wayland/receipt
line diff
     1.1 --- a/wayland-dev/receipt	Wed Aug 03 15:36:37 2022 +0100
     1.2 +++ b/wayland-dev/receipt	Wed Aug 03 16:34:53 2022 +0100
     1.3 @@ -1,25 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wayland-dev"
     1.7 -VERSION="1.4.0"
     1.8 +VERSION="1.21.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Wayland X server devel files."
    1.11 +SHORT_DESC="Wayland X server development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -WANTED="wayland"
    1.15 -WEB_SITE="http://www.bluez.org/"
    1.16 -HOST_ARCH="i486 arm"
    1.17 +WEB_SITE="https://wayland.freedesktop.org/"
    1.18  
    1.19  DEPENDS="wayland pkg-config"
    1.20 +WANTED="wayland"
    1.21 +
    1.22 +HOST_ARCH="i486 arm"
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.28 -	cp -a $install/usr/include $fs/usr
    1.29 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.30 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.31 -	[ -d "$install/usr/share/pkgconfig" ] && \
    1.32 -		cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig
    1.33 -	cp -a $install/usr/share/aclocal $fs/usr/share
    1.34 +	mkdir -p $fs/usr/lib
    1.35 +	mkdir -p $fs/usr/share
    1.36 +
    1.37 +	cp -a $install/usr/include		$fs/usr
    1.38 +	# 1.21.0	no static libraries created
    1.39 +#	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.40 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.41 +	[ -d "$install/usr/share/pkgconfig" ] &&
    1.42 +	cp -a $install/usr/share/pkgconfig/*	$fs/usr/lib/pkgconfig
    1.43 +	cp -a $install/usr/share/aclocal	$fs/usr/share
    1.44  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/wayland/description.txt	Wed Aug 03 16:34:53 2022 +0100
     2.3 @@ -0,0 +1,11 @@
     2.4 +Wayland is intended as a simpler replacement for X,
     2.5 +easier to develop and maintain.
     2.6 +GNOME and KDE are expected to be ported to it.
     2.7 +
     2.8 +Wayland is a protocol for a compositor to talk to its clients
     2.9 +as well as a C library implementation of that protocol.
    2.10 +The compositor can be a standalone display server running on
    2.11 +Linux kernel modesetting and evdev input devices, an X
    2.12 +application, or a wayland client itself.
    2.13 +The clients can be traditional applications, X servers
    2.14 +(rootless or fullscreen) or other display servers.
     3.1 --- a/wayland/receipt	Wed Aug 03 15:36:37 2022 +0100
     3.2 +++ b/wayland/receipt	Wed Aug 03 16:34:53 2022 +0100
     3.3 @@ -1,20 +1,22 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="wayland"
     3.7 -VERSION="1.4.0"
     3.8 +VERSION="1.21.0"
     3.9  CATEGORY="x-window"
    3.10  SHORT_DESC="Wayland simpler X display server protocol."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12  LICENSE="MIT"
    3.13 +WEB_SITE="https://wayland.freedesktop.org/"
    3.14 +
    3.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.16 -WEB_SITE="http://www.slitaz.org/"
    3.17 -WGET_URL="https://wayland.freedesktop.org/releases/$TARBALL"
    3.18 -HOST_ARCH="i486 arm"
    3.19 +WGET_URL="https://gitlab.freedesktop.org/$PACKAGE/$PACKAGE/-/releases/$VERSION/downloads/$TARBALL"
    3.20  
    3.21  # WARNING: wayland must be installed in chroot since build host 
    3.22  # wayland-scanner is used for cross compilation to ARM
    3.23 -DEPENDS="libffi expat"
    3.24 -BUILD_DEPENDS="libffi-dev expat-dev"
    3.25 +DEPENDS="expat gcc83-lib-base libffi"
    3.26 +BUILD_DEPENDS="expat-dev gcc83 libffi-dev meson"
    3.27 +
    3.28 +HOST_ARCH="i486 arm"
    3.29  
    3.30  # Handle cross compilation
    3.31  case "$ARCH" in
    3.32 @@ -31,18 +33,23 @@
    3.33  # Rules to configure and make the package.
    3.34  compile_rules()
    3.35  {
    3.36 -	./configure \
    3.37 -		--prefix=/usr \
    3.38 -		--disable-documentation \
    3.39 -		${CONFIGURE_ARGS} ${ARCH_ARGS} &&
    3.40 -	make && make install
    3.41 +	export	CC=gcc-83
    3.42 +
    3.43 +	meson	_build			\
    3.44 +		-D documentation=false	\
    3.45 +		--prefix=/usr &&
    3.46 +	ninja	-C _build &&
    3.47 +	ninja	-C _build install
    3.48  }
    3.49  
    3.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.51  genpkg_rules()
    3.52  {
    3.53 -	mkdir -p $fs/usr/lib $fs/usr/share
    3.54 -	[ -d "$install/usr/bin" ] && cp -a $install/usr/bin $fs/usr
    3.55 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.56 -	cp -a $install/usr/share/wayland $fs/usr/share
    3.57 +	mkdir -p $fs/usr/lib
    3.58 +	mkdir -p $fs/usr/share
    3.59 +
    3.60 +	[ -d "$install/usr/bin" ] &&
    3.61 +	cp -a $install/usr/bin			$fs/usr
    3.62 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    3.63 +	cp -a $install/usr/share/wayland	$fs/usr/share
    3.64  }