wok annotate mesa-wayland/receipt @ rev 16225
Up: gnucash (2.6.3)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Tue Apr 01 07:48:33 2014 +0000 (2014-04-01) |
parents | |
children | 8bdba6bcdf42 |
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@16172 | 14 |
pankso@16172 | 15 # Have Wayland support by default ? |
pankso@16172 | 16 PROVIDE="libgl libegl-mesa libglw-mesa libglu-mesa" |
pankso@16172 | 17 |
pankso@16172 | 18 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \ |
pankso@16172 | 19 wayland" |
pankso@16172 | 20 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \ |
pankso@16172 | 21 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \ |
pankso@16172 | 22 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \ |
pankso@16172 | 23 xorg-server-dev udev-dev file libdrm-nouveau llvm libtool automake \ |
pankso@16172 | 24 autoconf libpthread-stubs-dev wayland-dev" |
pankso@16172 | 25 |
pankso@16172 | 26 # Rules to configure and make the package. |
pankso@16172 | 27 compile_rules() |
pankso@16172 | 28 { |
pankso@16172 | 29 ./autogen.sh \ |
pankso@16172 | 30 --prefix=/usr \ |
pankso@16172 | 31 --sysconfdir=/etc/X11/${PACKAGE} \ |
pankso@16172 | 32 --enable-gles2 \ |
pankso@16172 | 33 --disable-gallium-egl \ |
pankso@16172 | 34 --with-egl-platforms=x11,wayland,drm \ |
pankso@16172 | 35 --enable-gbm \ |
pankso@16172 | 36 --enable-shared-glapi \ |
pankso@16172 | 37 --with-gallium-drivers=r300,r600,swrast,nouveau \ |
pankso@16172 | 38 $CONFIGURE_ARGS && |
pankso@16172 | 39 make $MAKEFLAGS && make install |
pankso@16172 | 40 } |
pankso@16172 | 41 |
pankso@16172 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16172 | 43 genpkg_rules() |
pankso@16172 | 44 { |
pankso@16172 | 45 mkdir -p $fs/usr/lib/dri |
pankso@16172 | 46 cp -a $install/etc $fs |
pankso@16172 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@16172 | 48 cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri |
pankso@16172 | 49 |
pankso@16172 | 50 # libGLU is included in the package libglu-mesa |
pankso@16172 | 51 #rm -r -f $fs/usr/lib/libGLU* |
pankso@16172 | 52 |
pankso@16172 | 53 #libGLw is included in the package libglw-mesa |
pankso@16172 | 54 #rm -r -f $fs/usr/lib/libGLw* |
pankso@16172 | 55 |
pankso@16172 | 56 #libEGL is included in the package libegl-mesa |
pankso@16172 | 57 #rm -r -f $fs/usr/lib/libEGL* |
pankso@16172 | 58 } |