wok-6.x annotate mesa7/receipt @ rev 21461
updated mk-livestatus again (1.2.2 -> 1.2.8p25)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 30 13:44:31 2019 +0100 (2019-04-30) |
parents | fc33aae5387c |
children | 241fb98cab1c |
rev | line source |
---|---|
psychomaniak@20129 | 1 # SliTaz package receipt. |
psychomaniak@20129 | 2 |
psychomaniak@20129 | 3 PACKAGE="mesa7" |
psychomaniak@20129 | 4 VERSION="7.10.2" |
psychomaniak@20129 | 5 CATEGORY="x-window" |
psychomaniak@20129 | 6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL." |
psychomaniak@20129 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
psychomaniak@20129 | 8 SOURCE="Mesa" |
psychomaniak@20129 | 9 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" |
pascal@20669 | 10 WEB_SITE="https://www.mesa3d.org/" |
psychomaniak@20129 | 11 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/7.x/${VERSION}/$TARBALL" |
psychomaniak@20129 | 12 PROVIDE="mesa" |
psychomaniak@20129 | 13 |
psychomaniak@20129 | 14 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev" #libpthread-stubs |
psychomaniak@20129 | 15 |
psychomaniak@20129 | 16 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \ |
psychomaniak@20129 | 17 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \ |
psychomaniak@20129 | 18 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \ |
psychomaniak@20129 | 19 xorg-server-dev udev-dev file libtool automake autoconf" |
psychomaniak@20129 | 20 # libpthread-stubs-dev llvm xorg-dri3proto xorg-presentproto |
psychomaniak@20129 | 21 # --with-gallium-drivers= \ |
psychomaniak@20129 | 22 |
psychomaniak@20129 | 23 # Rules to configure and make the package. |
psychomaniak@20129 | 24 compile_rules() |
psychomaniak@20129 | 25 { |
psychomaniak@20129 | 26 autoreconf -vfi |
psychomaniak@20129 | 27 ./configure \ |
psychomaniak@20129 | 28 --prefix=/usr \ |
psychomaniak@20129 | 29 --with-x \ |
psychomaniak@20129 | 30 --with-dri-driverdir=/usr/lib/dri \ |
psychomaniak@20129 | 31 --with-dri-drivers=unichrome,i810,mach64,mga,r128,savage,sis,tdfx \ |
psychomaniak@20129 | 32 --disable-gallium-llvm \ |
psychomaniak@20129 | 33 --enable-glx-tls \ |
psychomaniak@20129 | 34 --with-driver=dri \ |
psychomaniak@20129 | 35 --enable-xcb \ |
psychomaniak@20129 | 36 --disable-glut \ |
psychomaniak@20129 | 37 --enable-gles1 \ |
psychomaniak@20129 | 38 --enable-gles2 \ |
psychomaniak@20129 | 39 --enable-egl \ |
psychomaniak@20129 | 40 --enable-texture-float \ |
psychomaniak@20129 | 41 --disable-shared-dricore \ |
psychomaniak@20129 | 42 $CONFIGURE_ARGS && |
psychomaniak@20129 | 43 (make $MAKEFLAGS && make install) 2>/dev/null | sed '/No such file or directory/d' |
psychomaniak@20129 | 44 } |
psychomaniak@20129 | 45 |
psychomaniak@20129 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20129 | 47 genpkg_rules() |
psychomaniak@20129 | 48 { |
psychomaniak@20129 | 49 mkdir -p $fs/usr/lib |
psychomaniak@20129 | 50 cp -a $install/usr/lib//libGLE*.so* $fs/usr/lib |
psychomaniak@20129 | 51 |
psychomaniak@20129 | 52 # libGLU is included in the package libglu-mesa |
psychomaniak@20129 | 53 rm -r -f $fs/usr/lib/libGLU* |
psychomaniak@20129 | 54 |
psychomaniak@20129 | 55 #libGLw is included in the package libglw-mesa |
psychomaniak@20129 | 56 rm -r -f $fs/usr/lib/libGLw* |
psychomaniak@20129 | 57 |
psychomaniak@20129 | 58 #libEGL is included in the package libegl-mesa |
psychomaniak@20129 | 59 rm -r -f $fs/usr/lib/libEGL* |
psychomaniak@20129 | 60 } |