mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
add lib32-nouveau-dri
This commit is contained in:
parent
ba688f7bf4
commit
e0d76a3676
82
lib32-nouveau-dri/LICENSE
Normal file
82
lib32-nouveau-dri/LICENSE
Normal file
@ -0,0 +1,82 @@
|
||||
Disclaimer
|
||||
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
that of OpenGL*
|
||||
To the extent that Mesa utilizes the OpenGL command syntax or state
|
||||
machine, it is being used with authorization from Silicon Graphics,
|
||||
Inc.(SGI). However, the author does not possess an OpenGL license
|
||||
from SGI, and makes no claim that Mesa is in any way a compatible
|
||||
replacement for OpenGL or associated with SGI. Those who want a
|
||||
licensed implementation of OpenGL should contact a licensed
|
||||
vendor.
|
||||
|
||||
Please do not refer to the library as MesaGL (for legal
|
||||
reasons). It's just Mesa or The Mesa 3-D graphics
|
||||
library
|
||||
|
||||
* OpenGL is a trademark of Silicon Graphics Incorporated.
|
||||
|
||||
License / Copyright Information
|
||||
|
||||
The Mesa distribution consists of several components. Different copyrights
|
||||
and licenses apply to different components. For example, GLUT is copyrighted
|
||||
by Mark Kilgard, some demo programs are copyrighted by SGI, some of the Mesa
|
||||
device drivers are copyrighted by their authors. See below for a list of
|
||||
Mesa's main components and the license for each.
|
||||
|
||||
The core Mesa library is licensed according to the terms of the MIT license.
|
||||
This allows integration with the XFree86, Xorg and DRI projects.
|
||||
|
||||
The default Mesa license is as follows:
|
||||
|
||||
Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Attention, Contributors
|
||||
|
||||
When contributing to the Mesa project you must agree to the licensing terms
|
||||
of the component to which you're contributing.
|
||||
The following section lists the primary components of the Mesa distribution
|
||||
and their respective licenses.
|
||||
|
||||
|
||||
Mesa Component Licenses
|
||||
|
||||
Component Location Primary Author License
|
||||
----------------------------------------------------------------------------
|
||||
Main Mesa code src/mesa/ Brian Paul Mesa (MIT)
|
||||
|
||||
Device drivers src/mesa/drivers/* See drivers See drivers
|
||||
|
||||
Ext headers include/GL/glext.h SGI SGI Free B
|
||||
include/GL/glxext.h
|
||||
|
||||
GLUT src/glut/ Mark Kilgard Mark's copyright
|
||||
|
||||
Mesa GLU library src/glu/mesa/ Brian Paul GNU-LGPL
|
||||
|
||||
SGI GLU library src/glu/sgi/ SGI SGI Free B
|
||||
|
||||
demo programs progs/demos/ various see source files
|
||||
|
||||
X demos progs/xdemos/ Brian Paul see source files
|
||||
|
||||
SGI demos progs/samples/ SGI SGI copyright
|
||||
|
||||
RedBook demos progs/redbook/ SGI SGI copyright
|
58
lib32-nouveau-dri/PKGBUILD
Normal file
58
lib32-nouveau-dri/PKGBUILD
Normal file
@ -0,0 +1,58 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=nouveau-dri
|
||||
pkgver=8.0.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="Mesa Gallium3D drivers for Nouveau (32-bit)"
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('lib32-libgl' 'lib32-libdrm')
|
||||
makedepends=('pkgconfig' 'glproto' 'lib32-libdrm' 'lib32-libxxf86vm' 'lib32-llvm' 'lib32-libxdamage' 'lib32-expat'
|
||||
'lib32-libx11' 'lib32-libxt' 'lib32-gcc-libs' 'dri2proto' 'python2' 'talloc' 'libxml2' 'imake' 'lib32-udev')
|
||||
url="http://mesa3d.sourceforge.net"
|
||||
license=('custom')
|
||||
source=("http://sourceforge.net/projects/chakra-repo/files/PackagersPlayground/abveritas/mesa.tar.xz"
|
||||
'LICENSE')
|
||||
md5sums=('74eea16bbd177d01e4d2d33a1ced06af'
|
||||
'5c65a0fe315dd347e09b1f2826a1df5a')
|
||||
|
||||
build() {
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
# for our llvm-config for 32 bit
|
||||
export LLVM_CONFIG=/usr/bin/llvm-config32
|
||||
|
||||
cd ${srcdir}/mesa
|
||||
|
||||
autoreconf -vfi
|
||||
./configure --prefix=/usr \
|
||||
--with-dri-driverdir=/usr/lib32/xorg/modules/dri \
|
||||
--with-gallium-drivers=nouveau \
|
||||
--with-dri-drivers=nouveau \
|
||||
--enable-gallium-llvm \
|
||||
--enable-gallium-egl \
|
||||
--enable-shared-glapi \
|
||||
--enable-gbm \
|
||||
--enable-glx-tls \
|
||||
--enable-dri \
|
||||
--enable-glx \
|
||||
--enable-osmesa \
|
||||
--enable-gles1 \
|
||||
--enable-gles2 \
|
||||
--enable-egl \
|
||||
--enable-texture-float \
|
||||
--enable-xa \
|
||||
--enable-32-bit \
|
||||
--libdir=/usr/lib32
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
# classic mesa driver for nv10 , nv20 nouveau_vieux_dri.so
|
||||
#make -C ${srcdir}/mesa/src/mesa/drivers/dri/nouveau DESTDIR="${pkgdir}" install
|
||||
# gallium3D driver for nv30 - nv40 - nv50 nouveau_dri.so
|
||||
make -C ${srcdir}/mesa/src/gallium/targets/dri-nouveau DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user