wok-6.x annotate mesa-wayland/receipt @ rev 18050

Up openssh (6.8p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 15 09:55:50 2015 +0200 (2015-05-15)
parents 5d1b6e61470d
children fcbbbe8e3c4b
rev   line source
pankso@16172 1 # SliTaz package receipt.
pankso@16172 2
pankso@16172 3 PACKAGE="mesa-wayland"
pankso@16172 4 VERSION="9.1.3"
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"
pankso@16172 9 SUGGESTED="nvidia"
pankso@16172 10 SOURCE="Mesa"
pankso@16172 11 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
pankso@16172 12 WEB_SITE="http://www.mesa3d.org/"
pankso@16172 13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
pankso@16584 14 #HOST_ARCH="arm i486"
pankso@16172 15
pankso@16172 16 # Have Wayland support by default ?
pankso@16172 17 PROVIDE="libgl libegl-mesa libglw-mesa libglu-mesa"
pankso@16172 18
pankso@16172 19 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \
pankso@16172 20 wayland"
pankso@16172 21 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
pankso@16172 22 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
pankso@16583 23 lesstif libxml2-python lesstif-dev xorg-server-dev udev-dev wayland-dev"
pankso@16583 24
pankso@16583 25 # Use some build system tools
pankso@16583 26 case "$ARCH" in
pankso@16583 27 i?86)
pascal@16639 28 BUILD_DEPENDS="$BUILD_DEPENDS talloc xorg-makedepend xorg-imake \
pankso@16583 29 file libdrm-nouveau llvm libtool automake autoconf libpthread-stubs-dev" ;;
pankso@16583 30 esac
pankso@16172 31
pankso@16172 32 # Rules to configure and make the package.
pankso@16172 33 compile_rules()
pankso@16172 34 {
pankso@16172 35 ./autogen.sh \
pankso@16172 36 --prefix=/usr \
pankso@16172 37 --sysconfdir=/etc/X11/${PACKAGE} \
pankso@16172 38 --enable-gles2 \
pankso@16172 39 --disable-gallium-egl \
pankso@16172 40 --with-egl-platforms=x11,wayland,drm \
pankso@16172 41 --enable-gbm \
pankso@16172 42 --enable-shared-glapi \
pankso@16172 43 --with-gallium-drivers=r300,r600,swrast,nouveau \
pankso@16172 44 $CONFIGURE_ARGS &&
pankso@16172 45 make $MAKEFLAGS && make install
pankso@16172 46 }
pankso@16172 47
pankso@16172 48 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16172 49 genpkg_rules()
pankso@16172 50 {
pankso@16172 51 mkdir -p $fs/usr/lib/dri
pankso@16172 52 cp -a $install/etc $fs
pankso@16172 53 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16172 54 cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri
pankso@16172 55
pankso@16172 56 # libGLU is included in the package libglu-mesa
pankso@16172 57 #rm -r -f $fs/usr/lib/libGLU*
pankso@16172 58
pankso@16172 59 #libGLw is included in the package libglw-mesa
pankso@16172 60 #rm -r -f $fs/usr/lib/libGLw*
pankso@16172 61
pankso@16172 62 #libEGL is included in the package libegl-mesa
pankso@16172 63 #rm -r -f $fs/usr/lib/libEGL*
pankso@16172 64 }