wok-next rev 19950
Add libegl-mesa
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 12:41:47 2017 +0200 (2017-10-16) |
parents | 371d22f12221 |
children | a99f7dc12470 |
files | mesa-dev/receipt mesa-dri/receipt mesa-dri/stuff/90-DRI.conf mesa-libegl/receipt mesa/receipt mesa/stuff/90-DRI.conf |
line diff
1.1 --- a/mesa-dev/receipt Mon Oct 16 12:17:41 2017 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,21 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="mesa-dev" 1.7 -VERSION="12.0.6" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="3D Graphics Library dev files." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="MIT" 1.12 -WEB_SITE="https://www.mesa3d.org/" 1.13 - 1.14 -WANTED="mesa" 1.15 -# TODO: check 1.16 -DEPENDS="mesa mesa-dri mesa-libegl libdrm-dev xorg-libXdamage-dev \ 1.17 -xorg-libXxf86vm-dev xorg-libXt-dev xorg-glproto xorg-dri2proto pkg-config" 1.18 -#libglu-mesa-dev libglw-mesa-dev 1.19 - 1.20 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.21 -genpkg_rules() 1.22 -{ 1.23 - copy *.h *.la *.pc 1.24 -}
2.1 --- a/mesa-dri/receipt Mon Oct 16 12:17:41 2017 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,22 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="mesa-dri" 2.7 -VERSION="12.0.6" 2.8 -CATEGORY="x-window" 2.9 -SHORT_DESC="Mesa DRI drivers." 2.10 -MAINTAINER="pascal.bellard@slitaz.org" 2.11 -LICENSE="MIT" 2.12 -WEB_SITE="https://www.mesa3d.org/" 2.13 - 2.14 -WANTED="mesa" 2.15 -DEPENDS="elfutils expat libdrm libdrm-intel libdrm-nouveau libdrm-radeon \ 2.16 -libgcrypt libgpg-error llvm-libs xorg-libpciaccess zlib" 2.17 - 2.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.19 -genpkg_rules() 2.20 -{ 2.21 - copy *_dri.so 2.22 - 2.23 - mkdir -p $fs/etc/X11/xorg.conf.d 2.24 - cp $stuff/90-DRI.conf $fs/etc/X11/xorg.conf.d 2.25 -}
3.1 --- a/mesa-dri/stuff/90-DRI.conf Mon Oct 16 12:17:41 2017 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,3 +0,0 @@ 3.4 -Section "DRI" 3.5 - Mode 0666 3.6 -EndSection
4.1 --- a/mesa-libegl/receipt Mon Oct 16 12:17:41 2017 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,19 +0,0 @@ 4.4 -# SliTaz package receipt. 4.5 - 4.6 -PACKAGE="mesa-libegl" 4.7 -VERSION="12.0.6" 4.8 -CATEGORY="libs" 4.9 -SHORT_DESC="OpenGL utility library" 4.10 -MAINTAINER="pascal.bellard@slitaz.org" 4.11 -LICENSE="MIT" 4.12 -WEB_SITE="https://www.mesa3d.org/" 4.13 -PROVIDE="libegl" 4.14 - 4.15 -WANTED="mesa" 4.16 -DEPENDS="mesa" 4.17 - 4.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.19 -genpkg_rules() 4.20 -{ 4.21 - copy libEGL* 4.22 -}
5.1 --- a/mesa/receipt Mon Oct 16 12:17:41 2017 +0200 5.2 +++ b/mesa/receipt Mon Oct 16 12:41:47 2017 +0200 5.3 @@ -1,4 +1,4 @@ 5.4 -# SliTaz package receipt. 5.5 +# SliTaz package receipt v2. 5.6 5.7 PACKAGE="mesa" 5.8 VERSION="12.0.6" 5.9 @@ -14,14 +14,12 @@ 5.10 TARBALL="$PACKAGE-$VERSION.tar.xz" 5.11 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL" 5.12 5.13 -DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \ 5.14 -xorg-libxshmfence" 5.15 BUILD_DEPENDS="autoconf automake libtool python libdrm-dev libgcrypt-dev \ 5.16 eudev-dev xorg-glproto xorg-dri2proto xorg-dri3proto xorg-presentproto \ 5.17 libxcb-dev xorg-libxshmfence-dev xorg-libX11-dev xorg-libXext-dev \ 5.18 xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXxf86vm-dev expat-dev \ 5.19 elfutils-dev llvm-dev xorg-libpciaccess-dev" 5.20 -SPLIT="mesa-dri mesa-libegl" 5.21 +SPLIT="mesa mesa-dev mesa-dri libegl-mesa" 5.22 # libGLU is included in the package libglu-mesa 5.23 # libGLw is included in the package libglw-mesa 5.24 # libEGL is included in the package libegl-mesa 5.25 @@ -56,6 +54,33 @@ 5.26 # Rules to gen a SliTaz package suitable for Tazpkg. 5.27 genpkg_rules() 5.28 { 5.29 - copy etc/ libGL.so* libGLESv1_CM.so* libGLESv2.so* libOSMesa.so* \ 5.30 - libgbm.so* libglapi.so* libxatracker.so* 5.31 + case $PACKAGE in 5.32 + mesa) 5.33 + DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm \ 5.34 + xorg-libXt udev xorg-libxshmfence" 5.35 + copy etc/ libGL.so* libGLESv1_CM.so* libGLESv2.so* \ 5.36 + libOSMesa.so* libgbm.so* libglapi.so* libxatracker.so* 5.37 + ;; 5.38 + mesa-dev) 5.39 + CAT="development|"3D Graphics Library dev files." 5.40 + DEPENDS="mesa mesa-dri mesa-libegl libdrm-dev \ 5.41 + xorg-libXdamage-dev xorg-libXxf86vm-dev \ 5.42 + xorg-libXt-dev xorg-glproto xorg-dri2proto pkg-config" 5.43 + copy *.h *.la *.pc 5.44 + ;; 5.45 + mesa-dri) 5.46 + CAT="x-window|Mesa DRI drivers." 5.47 + DEPENDS="elfutils expat libdrm libdrm-intel libdrm-nouveau \ 5.48 + libdrm-radeon libgcrypt libgpg-error llvm-libs \ 5.49 + xorg-libpciaccess zlib" 5.50 + copy *_dri.so 5.51 + mkdir -p $fs/etc/X11/xorg.conf.d 5.52 + cp $stuff/90-DRI.conf $fs/etc/X11/xorg.conf.d 5.53 + ;; 5.54 + libegl-mesa) 5.55 + CAT="libs|OpenGL utility library" 5.56 + DEPENDS="mesa" 5.57 + copy libEGL* 5.58 + ;; 5.59 + esac 5.60 }