Removing wayland-git & all deps, moved to apps-unstable

This commit is contained in:
abveritas 2010-11-23 12:11:48 +00:00
parent 7f84df8461
commit 75959a41da
11 changed files with 0 additions and 643 deletions

View File

@ -1,39 +0,0 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cairo-gl-git
pkgver=20101121
pkgrel=2
pkgdesc="Cairo vector graphics library"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
url="http://cairographics.org/"
depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.16.6' 'xcb-util>=0.3.6')
makedepends=('pkgconfig' 'automake' 'autoconf' 'git')
options=('!libtool')
provides=('cairo=1.10.0' 'cairo-xcb=1.10.0')
conflicts=('cairo' 'cairo-git')
_gitroot='git://anongit.freedesktop.org/git/'
_gitname='cairo'
build() {
if [ -d ${srcdir}/$_gitname ]; then
cd $srcdir/$_gitname
git pull
else
cd $srcdir
git clone $_gitroot$_gitname
cd $_gitname
fi
# sed -i -e 's/libpng13/libpng14/g' configure || return 1
./autogen.sh --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --enable-gl || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}

View File

@ -1,56 +0,0 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=dri2proto-git
pkgver=20101120
pkgrel=1
pkgdesc='X11 DRI extension wire protocol.'
url='http://xorg.freedesktop.org/'
arch=('i686' 'x86_64')
license=('custom')
makedepends=('xorg-util-macros' 'git')
provides=('dri2proto=2.3' 'dri2proto-git')
conflicts=('dri2proto')
_gitroot='git://git.freedesktop.org/git/xorg/proto/dri2proto'
_gitname='dri2proto'
build() {
msg 'Connecting to git.freedesktop.org GIT server...'
if [ -d ${_gitname} ] ; then
cd ${_gitname}
git pull origin
else
git clone ${_gitroot}
fi
msg 'GIT checkout done or server timeout'
cd ${srcdir}
rm -rf ${_gitname}-build
cp -R ${_gitname} ${_gitname}-build
cd ${_gitname}-build
msg 'Starting make...'
./autogen.sh \
--prefix=/usr
make
}
package() {
cd ${_gitname}-build
make DESTDIR=${pkgdir} install
# Install license file
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}

View File

@ -1,27 +0,0 @@
SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
Copyright (C) 1991-2000 Silicon Graphics, Inc. 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 including the dates of first publication and
either this permission notice or a reference to
http://oss.sgi.com/projects/FreeB/
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
SILICON GRAPHICS, INC. 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.
Except as contained in this notice, the name of Silicon Graphics, Inc.
shall not be used in advertising or otherwise to promote the sale, use or
other dealings in this Software without prior written authorization from
Silicon Graphics, Inc.

View File

@ -1,51 +0,0 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=glproto-git
pkgver=20101120
pkgrel=1
pkgdesc="X11 OpenGL extension wire protocol"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
provides=('glproto' 'glproto=1.4.12')
makedepends=('xorg-util-macros>=1.2' 'git')
conflicts=('glproto')
groups=('xorg')
source=(COPYING)
md5sums=('a2228066bf4e15d351290deec0d9c250')
_gitroot="git://git.freedesktop.org/git/xorg/proto/glproto"
_gitname="glproto"
build() {
cd ${srcdir}
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d ${srcdir}/${_gitname} ] ; then
cd ${_gitname} && git pull origin
msg "The local files are updated."
else
git clone ${_gitroot}
fi
msg "GIT checkout done or server timeout"
msg "Creating build directory"
if [ -d ${srcdir}/$_gitname-build ]; then rm -rf ${srcdir}/$_gitname-build; fi
cp -R ${srcdir}/$_gitname ${srcdir}/$_gitname-build
msg "Starting make..."
cd "${srcdir}/${_gitname-build}"
./autogen.sh --prefix=/usr || return 1
make || return 1
#make DESTDIR=${pkgdir} install-glHEADERS install-pkgconfigDATA || return 1
make DESTDIR=${pkgdir} install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}

View File

@ -1,48 +0,0 @@
Copyright 2005 Adam Jackson.
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 on the rights to use, copy, modify, merge,
publish, distribute, sub license, 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 (including the
next paragraph) 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
NON-INFRINGEMENT. IN NO EVENT SHALL ADAM JACKSON 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.
------------------------------------------------------------------------
Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
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 (including the
next paragraph) 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 PRECISION INSIGHT AND/OR ITS
SUPPLIERS 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.

View File

@ -1,70 +0,0 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libdrm-git
pkgver=20101120
pkgrel=1
pkgdesc='Userspace interface to kernel DRM services.'
arch=('i686' 'x86_64')
url='http://dri.freedesktop.org/'
license=('custom')
depends=('glibc')
makedepends=('git')
provides=('libdrm=2.4.22')
conflicts=('libdrm')
options=('!libtool')
source=('no-pthread-stubs.patch'
'COPYING')
md5sums=('9b5ec3bbebe86921e2057694c42f65b8'
'ba65e71c481b94ef0fb6c23c7f21ffa1')
_gitroot='git://git.freedesktop.org/git/mesa/drm'
_gitname='drm'
build() {
msg 'Connecting to git.freedesktop.org GIT server....'
if [ -d $_gitname ] ; then
cd $_gitname
git pull origin
msg 'The local files are updated.'
else
git clone $_gitroot
fi
msg 'GIT checkout done or server timeout'
msg 'Creating build directory'
cd ${srcdir}
rm -rf $_gitname-build
cp -R $_gitname $_gitname-build
msg 'Starting make...'
cd $_gitname-build
msg 'Applying patches ...'
patch -Np1 -i "${srcdir}/no-pthread-stubs.patch"
sh autogen.sh \
--prefix=/usr \
--enable-nouveau-experimental-api \
--enable-radeon \
--enable-udev
make
}
package() {
cd $_gitname-build
make DESTDIR="${pkgdir}" install
# Install license file
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/"
}

View File

@ -1,65 +0,0 @@
diff -ru libdrm-2.4.0/configure.ac libdrm-2.4.0-nostubs/configure.ac
--- libdrm-2.4.0/configure.ac 2008-10-09 21:57:09.000000000 +0200
+++ libdrm-2.4.0-nostubs/configure.ac 2008-10-21 10:48:24.000000000 +0200
@@ -32,10 +32,6 @@
AC_HEADER_STDC
AC_SYS_LARGEFILE
-PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)
-AC_SUBST(PTHREADSTUBS_CFLAGS)
-AC_SUBST(PTHREADSTUBS_LIBS)
-
pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir)
AC_ARG_ENABLE(udev, AS_HELP_STRING([--enable-udev],
--- libdrm-2.4.16/intel/Makefile.am 2009-11-20 23:54:36.000000000 +0000
+++ libdrm-2.4.16/intel/Makefile.am.new 2009-12-07 08:11:32.235748069 +0000
@@ -26,13 +26,12 @@
$(WARN_CFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/intel \
- $(PTHREADSTUBS_CFLAGS) \
-I$(top_srcdir)/include/drm
libdrm_intel_la_LTLIBRARIES = libdrm_intel.la
libdrm_intel_ladir = $(libdir)
libdrm_intel_la_LDFLAGS = -version-number 1:0:0 -no-undefined
-libdrm_intel_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@ @CLOCK_LIB@
+libdrm_intel_la_LIBADD = ../libdrm.la @CLOCK_LIB@
libdrm_intel_la_SOURCES = \
intel_atomic.h \
--- libdrm-2.4.16/radeon/Makefile.am 2009-11-20 23:54:36.000000000 +0000
+++ libdrm-2.4.16/radeon/Makefile.am.new 2009-12-07 08:12:31.889075388 +0000
@@ -26,13 +26,12 @@
$(WARN_CFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/radeon \
- $(PTHREADSTUBS_CFLAGS) \
-I$(top_srcdir)/include/drm
libdrm_radeon_la_LTLIBRARIES = libdrm_radeon.la
libdrm_radeon_ladir = $(libdir)
libdrm_radeon_la_LDFLAGS = -version-number 1:0:0 -no-undefined
-libdrm_radeon_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
+libdrm_radeon_la_LIBADD = ../libdrm.la
libdrm_radeon_la_SOURCES = \
radeon_bo_gem.c \
--- libdrm-2.4.16/nouveau/Makefile.am 2009-11-20 23:54:36.000000000 +0000
+++ libdrm-2.4.16/nouveau/Makefile.am.new 2009-12-07 08:13:01.489072320 +0000
@@ -2,13 +2,12 @@
$(WARN_CFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/nouveau \
- $(PTHREADSTUBS_CFLAGS) \
-I$(top_srcdir)/include/drm
libdrm_nouveau_la_LTLIBRARIES = libdrm_nouveau.la
libdrm_nouveau_ladir = $(libdir)
libdrm_nouveau_la_LDFLAGS = -version-number 1:0:0 -no-undefined
-libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
+libdrm_nouveau_la_LIBADD = ../libdrm.la
libdrm_nouveau_la_SOURCES = \
nouveau_device.c \

View File

@ -1,48 +0,0 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libxkbcommon-git
pkgver=20101120
pkgrel=1
pkgdesc="Translating evdev keycodes to keysyms, needed by Wayland"
arch=(i686 x86_64)
url="http://wayland.freedesktop.org/"
license=('custom')
depends=('xproto' 'kbproto' 'libx11' 'xorg-util-macros')
makedepends=('pkgconfig' 'bison' 'libtool' 'git')
options=(!makeflags)
provides=(libxkbcommon)
conflicts=(libxkbcommon)
_gitroot="http://cgit.freedesktop.org/~krh/libxkbcommon"
_gitname="libxkbcommon"
build() {
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d ${srcdir}/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf ${srcdir}/$_gitname-build
cp -r ${srcdir}/$_gitname $startdir/src/$_gitname-build
cd ${srcdir}/$_gitname-build
./autogen.sh --prefix=/usr || return 1
make || return 1
}
package() {
cd ${srcdir}/$_gitname-build
make DESTDIR=${pkgdir} install
}

View File

@ -1,61 +0,0 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=wayland-git
pkgver=20101121
pkgrel=1
pkgdesc="Wayland the modern display server."
arch=(i686 x86_64)
url="http://wayland.freedesktop.org"
license=('MIT')
depends=('libxkbcommon-git' 'wayland-mesa-git' 'cairo-gl-git' 'poppler-glib')
makedepends=('pkgconfig')
options=(!makeflags)
_gitroot="git://anongit.freedesktop.org/wayland"
_gitname="wayland"
build() {
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d $startdir/src/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf ${srcdir}/$_gitname-build
cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
cd ${srcdir}/$_gitname-build
./autogen.sh --prefix=/usr || return 1
make || return 1
}
package() {
cd ${srcdir}/$_gitname-build
make DESTDIR="${pkgdir}" install
install -m 644 -D compositor/70-wayland.rules ${pkgdir}/etc/udev/rules.d/70-wayland.rules
install -m 755 -D compositor/.libs/compositor ${pkgdir}/usr/bin/wayland-system-compositor
install -m 755 -D clients/.libs/dnd ${pkgdir}/usr/bin/
install -m 755 -D clients/.libs/flower ${pkgdir}/usr/bin/
install -m 755 -D clients/.libs/gears ${pkgdir}/usr/bin/
install -m 755 -D clients/.libs/image ${pkgdir}/usr/bin/
install -m 755 -D clients/.libs/screenshot ${pkgdir}/usr/bin/
install -m 755 -D clients/.libs/smoke ${pkgdir}/usr/bin/
install -m 755 -D clients/.libs/terminal ${pkgdir}/usr/bin/
install -m 755 -D clients/.libs/view ${pkgdir}/usr/bin/
install -m 755 -D wayland/scanner ${pkgdir}/usr/bin/
install -m 644 -D data/COPYING ${pkgdir}/usr/share/licenses/wayland/COPYING
install -m 644 -D protocol/screenshooter.xml ${pkgdir}/usr/share/wayland/screenshooter.xml
install -m 644 -D protocol/wayland.xml ${pkgdir}/usr/share/wayland/wayland.xml
}

View File

@ -1,82 +0,0 @@
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

View File

@ -1,96 +0,0 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=wayland-mesa-git
pkgver=20101121
pkgrel=1
pkgdesc='Mesa OpenGL Library from GIT repository.'
url='http://www.mesa3d.org'
license=('custom')
arch=('x86_64' 'i686')
depends=('libgl-git' 'glproto-git' 'libdrm-git' 'dri2proto-git'
'libxxf86vm>=1.1.0' 'libxdamage>=1.1.2' 'expat>=2.0.1'
'libxmu>=1.0.5' 'libx11>=1.3.2' 'libxt>=1.0.7' 'libxext>=1.1.1'
'gcc-libs>=4.4.2')
makedepends=('git' 'pkgconfig' 'imake')
optdepends=('mesa-demos-git: for mesa demos (glxinfo, glxgears, ...)')
conflicts=('mesa')
provides=('mesa=7.9' 'mesa-git')
options=('!makeflags')
source=('ftp://ftp.archlinux.org/other/mesa/gl-manpages-1.0.1.tar.bz2'
'LICENSE')
md5sums=('6ae05158e678f4594343f32c2ca50515'
'5c65a0fe315dd347e09b1f2826a1df5a')
_gitroot='git://anongit.freedesktop.org/mesa/mesa'
_gitname='mesa'
build() {
msg 'Connecting to git.freedesktop.org GIT server....'
if [ -d ${_gitname} ] ; then
cd ${_gitname} && git pull origin
else
git clone ${_gitroot}
fi
msg 'GIT checkout done or server timeout'
msg 'Starting make...'
# Work around a problem in LDFLAGS
export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
cd ${srcdir}
# Cleanup and prepare the build dir
[ -d build ] && rm -rf build
cp -r ${_gitname} build
cd build
msg 'Applying patches'
# Revert "intel: sync to vblank by default"
# This reverts commit e9bf3e4cc9a7e4bcd4c45bd707541d26ecdf0409.
sed -i -e 's/DRI_CONF_VBLANK_ALWAYS_SYNC/DRI_CONF_VBLANK_DEF_INTERVAL_0/g' src/mesa/drivers/dri/intel/intel_screen.c
./autogen.sh \
--prefix=/usr \
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--with-dri-drivers=swrast,radeon,r200,r300,r600,i810,i915,i965,unichrome,mach64,mga,r128,savage,sis,tdfx \
--enable-glx-tls \
--with-driver=dri \
--enable-xcb \
--disable-glut \
--disable-gallium \
--enable-egl \
--enable-gles2
msg 'Starting actual compile. Go get some coffee...'
make
msg 'Building man pages'
cd ${srcdir}/gl-manpages-1.0.1
./configure --prefix=/usr
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
rm -f ${pkgdir}/usr/lib/libGL.so*
rm -rf ${pkgdir}/usr/lib/xorg
rm -f ${pkgdir}/usr/include/GL/glut*
cd ${srcdir}/gl-manpages-1.0.1
make DESTDIR=${pkgdir} install
install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}