wok-next diff libdrm/receipt @ rev 21312

inkscape: added build dependency dbus-glib-dev
author Hans-G?nter Theisgen
date Tue Dec 10 15:00:13 2019 +0100 (2019-12-10)
parents d5aab818505e
children
line diff
     1.1 --- a/libdrm/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/libdrm/receipt	Tue Dec 10 15:00:13 2019 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="libdrm"
     1.7 -VERSION="2.4.92"
     1.8 +VERSION="2.4.96"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Freedesktop DRM Library"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -11,78 +11,54 @@
    1.13  
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WGET_URL="https://dri.freedesktop.org/libdrm/$TARBALL"
    1.16 +TARBALL_SHA1="51eb4c248a437b3f200bd1cd84461d3e0b60d71e"
    1.17  
    1.18 -BUILD_DEPENDS="autoconf automake libtool xorg-util-macros libxslt \
    1.19 -xorg-libpciaccess-dev cairo-dev eudev-dev libxslt docbook-xsl valgrind-dev"
    1.20 -SPLIT="$PACKAGE-amdgpu $PACKAGE-etnaviv $PACKAGE-exynos $PACKAGE-intel \
    1.21 -$PACKAGE-nouveau $PACKAGE-omap $PACKAGE-radeon $PACKAGE-tegra $PACKAGE-dev"
    1.22 +BUILD_DEPENDS="meson ninja util-macros libxslt libpciaccess-dev eudev-dev \
    1.23 +libxslt docbook-xsl valgrind-dev"
    1.24 +SPLIT="\
    1.25 +$PACKAGE-amdgpu  $PACKAGE-etnaviv $PACKAGE-exynos $PACKAGE-intel \
    1.26 +$PACKAGE-nouveau $PACKAGE-omap    $PACKAGE-radeon $PACKAGE-tegra $PACKAGE-dev"
    1.27 +
    1.28 +COPY_std="libdrm.so* libkms.so*"
    1.29 +COPY_amdgpu=" libdrm_amdgpu.so* amdgpu.ids"
    1.30 +COPY_etnaviv="libdrm_etnaviv.so*"
    1.31 +COPY_exynos=" libdrm_exynos.so*"
    1.32 +COPY_intel="  libdrm_intel.so*"
    1.33 +COPY_nouveau="libdrm_nouveau.so*"
    1.34 +COPY_omap="   libdrm_omap.so*"
    1.35 +COPY_radeon=" libdrm_radeon.so*"
    1.36 +COPY_tegra="  libdrm_tegra.so*"
    1.37 +
    1.38 +DEPENDS_std="eudev linux-drm libpciaccess" # all deps are implicit
    1.39 +DEPENDS_amdgpu="libdrm"
    1.40 +DEPENDS_etnaviv="libdrm"
    1.41 +DEPENDS_exynos="libdrm"
    1.42 +DEPENDS_intel="libdrm libpciaccess"
    1.43 +DEPENDS_nouveau="libdrm"
    1.44 +DEPENDS_omap="libdrm"
    1.45 +DEPENDS_radeon="libdrm"
    1.46 +DEPENDS_tegra="libdrm"
    1.47 +
    1.48 +CAT_amdgpu="x-window|AMDGPU API"
    1.49 +CAT_etnaviv="x-window|Etnaviv API"
    1.50 +CAT_exynos="x-window|EXYNOS API"
    1.51 +CAT_intel="x-window|Intel API"
    1.52 +CAT_nouveau="x-window|Nouveau API"
    1.53 +CAT_omap="x-window|OMAP API"
    1.54 +CAT_radeon="x-window|Radeon API"
    1.55 +CAT_tegra="x-window|Tegra API"
    1.56  
    1.57  compile_rules() {
    1.58 -	autoreconf -fiv &&
    1.59 -
    1.60 +	mkdir build
    1.61 +	cd    build
    1.62  	# Freedreno API and VC4 API enabled on the ARM
    1.63 -	GREP=grep \
    1.64 -	./configure \
    1.65 -		--enable-udev \
    1.66 -		--enable-vmwgfx \
    1.67 -		--enable-omap-experimental-api \
    1.68 -		--enable-exynos-experimental-api \
    1.69 -		--enable-tegra-experimental-api \
    1.70 -		--enable-etnaviv-experimental-api \
    1.71 -		$CONFIGURE_ARGS &&
    1.72 -	fix libtool &&
    1.73 -	make &&
    1.74 -	make install
    1.75 +	meson-wrapper \
    1.76 +		-Domap=true \
    1.77 +		-Dexynos=true \
    1.78 +		-Dtegra=true \
    1.79 +		-Detnaviv=true \
    1.80 +		-Dudev=true \
    1.81 +		&&
    1.82 +	ninja &&
    1.83 +	ninja install
    1.84  }
    1.85 -
    1.86 -genpkg_rules() {
    1.87 -	case $PACKAGE in
    1.88 -		libdrm)
    1.89 -			copy libdrm.so* libkms.so*
    1.90 -			DEPENDS="eudev linux-drm xorg-libpciaccess" # all deps are implicit
    1.91 -			;;
    1.92 -		*-amdgpu)
    1.93 -			copy libdrm_amdgpu.so* amdgpu.ids
    1.94 -			CAT="x-window|AMDGPU API"
    1.95 -			DEPENDS="libdrm"
    1.96 -			;;
    1.97 -		*-etnaviv)
    1.98 -			copy libdrm_etnaviv.so*
    1.99 -			CAT="x-window|Etnaviv API"
   1.100 -			DEPENDS="libdrm"
   1.101 -			;;
   1.102 -		*-exynos)
   1.103 -			copy libdrm_exynos.so*
   1.104 -			CAT="x-window|EXYNOS API"
   1.105 -			DEPENDS="libdrm"
   1.106 -			;;
   1.107 -		*-intel)
   1.108 -			copy libdrm_intel.so*
   1.109 -			CAT="x-window|Intel API"
   1.110 -			DEPENDS="libdrm xorg-libpciaccess"
   1.111 -			;;
   1.112 -		*-nouveau)
   1.113 -			copy libdrm_nouveau.so*
   1.114 -			CAT="x-window|Nouveau API"
   1.115 -			DEPENDS="libdrm"
   1.116 -			;;
   1.117 -		*-omap)
   1.118 -			copy libdrm_omap.so*
   1.119 -			CAT="x-window|OMAP API"
   1.120 -			DEPENDS="libdrm"
   1.121 -			;;
   1.122 -		*-radeon)
   1.123 -			copy libdrm_radeon.so*
   1.124 -			CAT="x-window|Radeon API"
   1.125 -			DEPENDS="libdrm"
   1.126 -			;;
   1.127 -		*-tegra)
   1.128 -			copy libdrm_tegra.so*
   1.129 -			CAT="x-window|Tegra API"
   1.130 -			DEPENDS="libdrm"
   1.131 -			;;
   1.132 -		*-dev)
   1.133 -			copy @dev
   1.134 -			;;
   1.135 -	esac
   1.136 -}