wok-next rev 19979

Up libdrm (2.4.82), wayland (1.14.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 18 03:31:51 2017 +0300 (2017-10-18)
parents fc0a0ab57dc4
children 6248a81ea3e2
files libdrm/receipt wayland-dev/receipt wayland/receipt
line diff
     1.1 --- a/libdrm/receipt	Wed Oct 18 03:15:00 2017 +0300
     1.2 +++ b/libdrm/receipt	Wed Oct 18 03:31:51 2017 +0300
     1.3 @@ -1,12 +1,13 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="libdrm"
     1.7 -VERSION="2.4.75"
     1.8 +VERSION="2.4.82"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Freedesktop DRM Library"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="MIT"
    1.13  WEB_SITE="https://dri.freedesktop.org/"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/libdrm.html"
    1.15  HOST_ARCH="i486 arm"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 @@ -17,10 +18,8 @@
    1.19  SPLIT="libdrm-amdgpu libdrm-etnaviv libdrm-exynos libdrm-intel libdrm-nouveau \
    1.20  libdrm-omap libdrm-radeon libdrm-tegra libdrm-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	sed -i "/pthread-stubs/d" configure.ac &&
    1.26 +compile_rules() {
    1.27 +#	sed -i "/pthread-stubs/d" configure.ac &&
    1.28  	autoreconf -fiv &&
    1.29  
    1.30  	./configure \
    1.31 @@ -34,14 +33,11 @@
    1.32  	make && make install
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -
    1.39 +genpkg_rules() {
    1.40  	case $PACKAGE in
    1.41  		libdrm)
    1.42  			copy libdrm.so* libkms.so*
    1.43 -			DEPENDS="glibc-base eudev linux-drm xorg-libpciaccess"
    1.44 +			DEPENDS="eudev linux-drm xorg-libpciaccess"
    1.45  			;;
    1.46  		*-amdgpu)
    1.47  			copy libdrm_amdgpu.so*
     2.1 --- a/wayland-dev/receipt	Wed Oct 18 03:15:00 2017 +0300
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,23 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="wayland-dev"
     2.7 -VERSION="1.4.0"
     2.8 -CATEGORY="development"
     2.9 -SHORT_DESC="Wayland X server devel files."
    2.10 -MAINTAINER="pankso@slitaz.org"
    2.11 -LICENSE="MIT"
    2.12 -WANTED="wayland"
    2.13 -WEB_SITE="http://www.bluez.org/"
    2.14 -HOST_ARCH="i486 arm"
    2.15 -
    2.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 -genpkg_rules()
    2.18 -{
    2.19 -	mkdir -p $fs/usr/lib $fs/usr/share
    2.20 -	cp -a $install/usr/include $fs/usr
    2.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.23 -	[ -d "$install/usr/share/pkgconfig" ] && \
    2.24 -		cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig
    2.25 -	cp -a $install/usr/share/aclocal $fs/usr/share
    2.26 -}
     3.1 --- a/wayland/receipt	Wed Oct 18 03:15:00 2017 +0300
     3.2 +++ b/wayland/receipt	Wed Oct 18 03:31:51 2017 +0300
     3.3 @@ -1,41 +1,37 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="wayland"
     3.8 -VERSION="1.4.0"
     3.9 +VERSION="1.14.0"
    3.10  CATEGORY="x-window"
    3.11 -SHORT_DESC="Wayland simpler X display server protocol."
    3.12 +SHORT_DESC="Wayland simpler X display server protocol"
    3.13  MAINTAINER="pankso@slitaz.org"
    3.14  LICENSE="MIT"
    3.15 +WEB_SITE="https://wayland.freedesktop.org/"
    3.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/wayland.html"
    3.17 +
    3.18  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.19 -WEB_SITE="http://www.slitaz.org/"
    3.20  WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL"
    3.21 -HOST_ARCH="i486 arm"
    3.22  
    3.23 -# WARNING: wayland must be installed in chroot since build host 
    3.24 -# wayland-scanner is used for cross compilation to ARM
    3.25 -DEPENDS="libffi expat"
    3.26 -BUILD_DEPENDS="libffi-dev expat-dev"
    3.27 +BUILD_DEPENDS="libffi-dev expat-dev libxml2-dev"
    3.28 +SPLIT="wayland-dev"
    3.29  
    3.30 -# Handle cross compilation
    3.31 -case "$ARCH" in
    3.32 -	arm*) ARCH_ARGS="--disable-scanner" ;;
    3.33 -esac
    3.34 -
    3.35 -# Rules to configure and make the package.
    3.36 -compile_rules()
    3.37 -{
    3.38 +compile_rules() {
    3.39  	./configure \
    3.40  		--prefix=/usr \
    3.41  		--disable-documentation \
    3.42 -		${CONFIGURE_ARGS} ${ARCH_ARGS} &&
    3.43 +		$CONFIGURE_ARGS &&
    3.44  	make && make install
    3.45  }
    3.46  
    3.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.48 -genpkg_rules()
    3.49 -{
    3.50 -	mkdir -p $fs/usr/lib $fs/usr/share
    3.51 -	[ -d "$install/usr/bin" ] && cp -a $install/usr/bin $fs/usr
    3.52 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.53 -	cp -a $install/usr/share/wayland $fs/usr/share
    3.54 +genpkg_rules() {
    3.55 +	case $PACKAGE in
    3.56 +		wayland)
    3.57 +			copy @std
    3.58 +			DEPENDS="expat libffi libxml2"
    3.59 +			;;
    3.60 +		*-dev)
    3.61 +			copy @dev
    3.62 +			DEPENDS="wayland libffi-dev"
    3.63 +			;;
    3.64 +	esac
    3.65  }