wok-6.x view mesa-wayland/receipt @ rev 25139

updated phpsysinfo (3.3.2 -> 3.4.0)
author Hans-G?nter Theisgen
date Wed Jun 29 11:19:44 2022 +0100 (2022-06-29)
parents 6f50b9312cbf
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa-wayland"
4 VERSION="9.2.5"
5 CATEGORY="x-window"
6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.mesa3d.org/"
11 SOURCE="Mesa"
12 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$TARBALL"
15 # Have Wayland support by default ?
16 PROVIDE="libegl-mesa libgl libglw-mesa"
18 SUGGESTED="nvidia"
19 DEPENDS="expat libdrm udev wayland xorg-libXdamage xorg-libXt xorg-libXxf86vm"
20 BUILD_DEPENDS="expat-dev lesstif-dev libdrm-dev libxml2-python pkg-config
21 udev-dev wayland-dev xorg-dri2proto xorg-glproto \
22 xorg-libXdamage-dev xorg-libXt-dev xorg-libXxf86vm-dev xorg-server-dev"
24 #HOST_ARCH="arm i486"
26 # Use some build system tools
27 case "$ARCH" in
28 i?86)
29 BUILD_DEPENDS="$BUILD_DEPENDS autoconf automake file libdrm-nouveau
30 libpthread-stubs-dev libtool llvm talloc xorg-imake xorg-makedepend" ;;
31 esac
33 # What is the latest version available today?
34 current_version()
35 {
36 wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc' 2>/dev/null | \
37 sed '/item-title/!d;/-rc/d;s|.*">[a-z-]*||;s|<.*||;q'
38 }
40 # Rules to configure and make the package.
41 compile_rules()
42 {
43 find . -name 'nouveau*.h' | \
44 xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
46 ./autogen.sh \
47 --prefix=/usr \
48 --sysconfdir=/etc/X11/${PACKAGE} \
49 --enable-gles2 \
50 --disable-gallium-egl \
51 --with-egl-platforms=x11,wayland,drm \
52 --enable-gbm \
53 --enable-shared-glapi \
54 --with-gallium-drivers=r300,r600,swrast,nouveau \
55 $CONFIGURE_ARGS &&
56 make $MAKEFLAGS &&
57 make install
58 }
60 # Rules to gen a SliTaz package suitable for Tazpkg.
61 genpkg_rules()
62 {
63 mkdir -p $fs/usr/lib/dri
65 cp -a $install/etc $fs
66 cp -a $install/usr/lib/*.so* $fs/usr/lib
67 cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri
69 # libGLU is included in the package libglu-mesa
70 #rm -r -f $fs/usr/lib/libGLU*
72 #libGLw is included in the package libglw-mesa
73 #rm -r -f $fs/usr/lib/libGLw*
75 #libEGL is included in the package libegl-mesa
76 #rm -r -f $fs/usr/lib/libEGL*
77 }