
Receipt for package "mesa-wayland"
# SliTaz package receipt. PACKAGE="mesa-wayland" VERSION="9.2.5" CATEGORY="x-window" SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="https://www.mesa3d.org/" SOURCE="Mesa" TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$TARBALL" # Have Wayland support by default ? PROVIDE="libegl-mesa libgl libglw-mesa" SUGGESTED="nvidia" DEPENDS="expat libdrm udev wayland xorg-libXdamage xorg-libXt xorg-libXxf86vm" BUILD_DEPENDS="expat-dev lesstif-dev libdrm-dev libxml2-python pkg-config udev-dev wayland-dev xorg-dri2proto xorg-glproto \ xorg-libXdamage-dev xorg-libXt-dev xorg-libXxf86vm-dev xorg-server-dev" #HOST_ARCH="arm i486" # Use some build system tools case "$ARCH" in i?86) BUILD_DEPENDS="$BUILD_DEPENDS autoconf automake file libdrm-nouveau libpthread-stubs-dev libtool llvm talloc xorg-imake xorg-makedepend" ;; esac # What is the latest version available today? current_version() { wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc' 2>/dev/null | \ sed '/item-title/!d;/-rc/d;s|.*">[a-z-]*||;s|[<-].*||;q' } # Rules to configure and make the package. compile_rules() { find . -name 'nouveau*.h' | \ xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|' ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc/X11/${PACKAGE} \ --enable-gles2 \ --disable-gallium-egl \ --with-egl-platforms=x11,wayland,drm \ --enable-gbm \ --enable-shared-glapi \ --with-gallium-drivers=r300,r600,swrast,nouveau \ $CONFIGURE_ARGS && make $MAKEFLAGS && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/dri cp -a $install/etc $fs cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri # libGLU is included in the package libglu-mesa #rm -r -f $fs/usr/lib/libGLU* #libGLw is included in the package libglw-mesa #rm -r -f $fs/usr/lib/libGLw* #libEGL is included in the package libegl-mesa #rm -r -f $fs/usr/lib/libEGL* }
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)