wok-current annotate mesa-wayland/receipt @ rev 22559
updated bogofilter (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 04 16:49:42 2020 +0100 (2020-01-04) |
parents | a78610b2eb47 |
children | 4ce52a0b72fd |
rev | line source |
---|---|
pankso@16172 | 1 # SliTaz package receipt. |
pankso@16172 | 2 |
pankso@16172 | 3 PACKAGE="mesa-wayland" |
Hans-G?nter@22242 | 4 VERSION="9.2.5" |
pankso@16172 | 5 CATEGORY="x-window" |
pankso@16172 | 6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL." |
pankso@16172 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pankso@16172 | 8 LICENSE="MIT" |
Hans-G?nter@22242 | 9 WEB_SITE="https://www.mesa3d.org/" |
Hans-G?nter@22242 | 10 |
pankso@16172 | 11 SOURCE="Mesa" |
pankso@16172 | 12 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" |
Hans-G?nter@22242 | 13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$TARBALL" |
pankso@16172 | 14 |
pankso@16172 | 15 # Have Wayland support by default ? |
Hans-G?nter@22242 | 16 PROVIDE="libegl-mesa libgl libglw-mesa" |
pankso@16172 | 17 |
Hans-G?nter@22242 | 18 SUGGESTED="nvidia" |
Hans-G?nter@22242 | 19 DEPENDS="expat libdrm udev wayland xorg-libXdamage xorg-libXt xorg-libXxf86vm" |
Hans-G?nter@22242 | 20 BUILD_DEPENDS="expat-dev lesstif-dev libdrm-dev libxml2-python pkg-config |
Hans-G?nter@22242 | 21 udev-dev wayland-dev xorg-dri2proto xorg-glproto \ |
Hans-G?nter@22242 | 22 xorg-libXdamage-dev xorg-libXt-dev xorg-libXxf86vm-dev xorg-server-dev" |
Hans-G?nter@22242 | 23 |
Hans-G?nter@22242 | 24 #HOST_ARCH="arm i486" |
pankso@16583 | 25 |
pankso@16583 | 26 # Use some build system tools |
pankso@16583 | 27 case "$ARCH" in |
pankso@16583 | 28 i?86) |
Hans-G?nter@22242 | 29 BUILD_DEPENDS="$BUILD_DEPENDS autoconf automake file libdrm-nouveau |
Hans-G?nter@22242 | 30 libpthread-stubs-dev libtool llvm talloc xorg-imake xorg-makedepend" ;; |
pankso@16583 | 31 esac |
pankso@16172 | 32 |
pankso@16172 | 33 # Rules to configure and make the package. |
pankso@16172 | 34 compile_rules() |
pankso@16172 | 35 { |
psychomaniak@19158 | 36 find . -name 'nouveau*.h' | \ |
psychomaniak@19158 | 37 xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|' |
Hans-G?nter@22242 | 38 |
Hans-G?nter@22242 | 39 ./autogen.sh \ |
Hans-G?nter@22242 | 40 --prefix=/usr \ |
Hans-G?nter@22242 | 41 --sysconfdir=/etc/X11/${PACKAGE} \ |
Hans-G?nter@22242 | 42 --enable-gles2 \ |
Hans-G?nter@22242 | 43 --disable-gallium-egl \ |
Hans-G?nter@22242 | 44 --with-egl-platforms=x11,wayland,drm \ |
Hans-G?nter@22242 | 45 --enable-gbm \ |
Hans-G?nter@22242 | 46 --enable-shared-glapi \ |
Hans-G?nter@22242 | 47 --with-gallium-drivers=r300,r600,swrast,nouveau \ |
pankso@16172 | 48 $CONFIGURE_ARGS && |
Hans-G?nter@22242 | 49 make $MAKEFLAGS && |
Hans-G?nter@22242 | 50 make install |
pankso@16172 | 51 } |
pankso@16172 | 52 |
pankso@16172 | 53 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16172 | 54 genpkg_rules() |
pankso@16172 | 55 { |
pankso@16172 | 56 mkdir -p $fs/usr/lib/dri |
Hans-G?nter@22242 | 57 |
Hans-G?nter@22242 | 58 cp -a $install/etc $fs |
Hans-G?nter@22242 | 59 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22242 | 60 cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri |
pankso@16172 | 61 |
pankso@16172 | 62 # libGLU is included in the package libglu-mesa |
pankso@16172 | 63 #rm -r -f $fs/usr/lib/libGLU* |
pankso@16172 | 64 |
pankso@16172 | 65 #libGLw is included in the package libglw-mesa |
pankso@16172 | 66 #rm -r -f $fs/usr/lib/libGLw* |
pankso@16172 | 67 |
pankso@16172 | 68 #libEGL is included in the package libegl-mesa |
pankso@16172 | 69 #rm -r -f $fs/usr/lib/libEGL* |
pankso@16172 | 70 } |