From: Schantl Stefan Date: Thu, 2 Sep 2010 18:50:58 +0000 (+0200) Subject: mesa: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a706d7c51866e93dbfde8992e05d9f3ccd84bca6;p=ipfire-3.x.git mesa: New package. --- diff --git a/pkgs/core/mesa/mesa.nm b/pkgs/core/mesa/mesa.nm new file mode 100644 index 000000000..73a5b9f67 --- /dev/null +++ b/pkgs/core/mesa/mesa.nm @@ -0,0 +1,67 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = mesa +PKG_VER = 7.8.2 +PKG_REL = 0 + +PKG_MAINTAINER = +PKG_GROUP = Development/Tools +PKG_URL = http://www.mesa3d.org +PKG_LICENSE = MIT +PKG_SUMMARY = Mesa graphics libraries. + +PKG_BUILD_DEPS+= pkg-config +PKG_DEPS += libX11 libXcb libXdamage libXext libXxf86vm libdrm + +define PKG_DESCRIPTION + Mesa libGL runtime libraries and DRI drivers. +endef + +PKG_TARBALL = MesaLib-$(PKG_VER).tar.bz2 + +DIR_APP = $(DIR_SRC)/Mesa-$(PKG_VER) + +CONFIGURE_OPTIONS += \ + --enable-pic \ + --with-driver=dri \ + --with-dri-driverdir=/usr/lib/dri \ + --with-state-tracker=dri,glx \ + --disable-glw \ + --disable-glu \ + --disable-glut \ + --disable-gl-osmesa \ + --disable-gallium \ + --disable-gallium-intel \ + --disable-gallium-svga \ + --disable-gallium-radeon \ + --disable-gallium-nouveau \ + --disable-egl + +# Disable CPU extensions +define STAGE_CONFIGURE_CMDS + cd $(DIR_APP) && sed -e "s/^ASM_FLAGS.*/ASM_FLAGS=/g" -i configs/current +endef