diff options
-rw-r--r-- | pcr/libglu-git/PKGBUILD | 52 | ||||
-rw-r--r-- | ~coadde/glproto-git/PKGBUILD | 51 | ||||
-rw-r--r-- | ~coadde/libdrm-git/COPYING | 48 | ||||
-rw-r--r-- | ~coadde/libdrm-git/PKGBUILD | 71 | ||||
-rw-r--r-- | ~coadde/libdrm-git/no-pthread-stubs.patch | 70 | ||||
-rw-r--r-- | ~coadde/mesa-git/LICENSE | 82 | ||||
-rw-r--r-- | ~coadde/mesa-git/PKGBUILD | 254 | ||||
-rw-r--r-- | ~coadde/xf86-video-nouveau-git/PKGBUILD | 52 | ||||
-rw-r--r-- | ~coadde/xf86-video-nouveau-git/xf86-video-nouveau.install | 16 |
9 files changed, 52 insertions, 644 deletions
diff --git a/pcr/libglu-git/PKGBUILD b/pcr/libglu-git/PKGBUILD new file mode 100644 index 000000000..46ff7a358 --- /dev/null +++ b/pcr/libglu-git/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Márcio Silva <coadde@lavabit.com> + +pkgname=libglu-git +pkgver=20120908 +pkgrel=1 +pkgdesc='Mesa GLU utility library' +arch=( + i686 + x86_64 + mips64el +) +url=http://mesa.freedesktop.org/ +license=( + LGPL +) +depends=( + libgl-git +) +makedepends=( + git + mesa-git +) + +_gitroot=git://cgit.freedesktop.org/mesa/glu/ +_gitname=glu + +build() { + msg 'Connecting to git.freedesktop.org GIT server....' + if [ -d $_gitname ] ; then + cd $_gitname && git pull origin + else + git clone $_gitroot --depth 1 + fi + msg 'GIT checkout done or server timeout' + msg 'Starting make...' + + cd $srcdir + + # Cleanup and prepare the build dir + [ -d build ] && rm -rf build + cp -r $_gitname build + cd build + + autoreconf -vfi + ./autogen.sh --prefix=/usr + make V=0 +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install +} diff --git a/~coadde/glproto-git/PKGBUILD b/~coadde/glproto-git/PKGBUILD deleted file mode 100644 index bde7a57a8..000000000 --- a/~coadde/glproto-git/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot <jgc@archlinux.org> -# Contributor: Alexander Baldeck <alexander@archlinux.org> -# Maintainer: kfgz <kfgz at interia pl> -# Contributor: Cilyan Olowen <gaknar at gmail dot com> -# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy> - -pkgname=glproto-git -pkgver=20120612 -pkgrel=1 -pkgdesc="X11 OpenGL extension wire protocol" -arch=(any) -url="http://xorg.freedesktop.org/" -license=('custom') -provides=('glproto' 'glproto=1.4.15') -makedepends=('xorg-util-macros>=1.2' 'git') -conflicts=('glproto') - -_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 - make -} - -package() { - cd "${srcdir}"/${_gitname}-build - make DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname} - install -m644 "${srcdir}"/${_gitname-build}/COPYING \ - "${pkgdir}"/usr/share/licenses/${pkgname}/ -} diff --git a/~coadde/libdrm-git/COPYING b/~coadde/libdrm-git/COPYING deleted file mode 100644 index 6e74c337c..000000000 --- a/~coadde/libdrm-git/COPYING +++ /dev/null @@ -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. diff --git a/~coadde/libdrm-git/PKGBUILD b/~coadde/libdrm-git/PKGBUILD deleted file mode 100644 index 63af0c80c..000000000 --- a/~coadde/libdrm-git/PKGBUILD +++ /dev/null @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot <jgc@archlinux.org> -# Contributor: Alexander Baldeck <alexander@archlinux.org> -# Arch libdrm Maintainers: -# Jan de Groot -# Andreas Radke -# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy> - -pkgname=libdrm-git -pkgver=20120612 -pkgrel=1 -pkgdesc="Userspace interface to kernel DRM services" -arch=('i686' 'x86_64' 'mips64el') -license=('custom') -depends=('glibc' 'libpciaccess') -makedepends=('cairo' 'valgrind' 'git') -options=('!libtool') -url="http://dri.freedesktop.org/" -source=(no-pthread-stubs.patch - COPYING) -sha1sums=('2a5410baa3e6e078f9378ce486a88f41d22fd838' - 'ba3dcd636997ee0d30df14b03dae05c24ae5d094') -provides=('libdrm=2.4.35') -conflicts=('libdrm') - -_gitroot='git://git.freedesktop.org/git/mesa/drm' -_gitname='drm' - -build() { - - cd "${srcdir}" - msg "Connecting to GIT server...." - - if [[ -d "${_gitname}" ]]; then - cd "${_gitname}" && git pull origin - msg "The local files are updated." - else - git clone "${_gitroot}" "${_gitname}" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - rm -rf "${srcdir}/${_gitname}-build" - git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" - cd "${srcdir}/${_gitname}-build" - patch -Np1 -i "${srcdir}/no-pthread-stubs.patch" - - #libtoolize --force - autoreconf --force --install - ./autogen.sh - ./configure --prefix=/usr \ - --enable-udev \ - --enable-intel \ - --enable-radeon \ - --enable-vmwgfx-experimental-api \ - --enable-nouveau - make -} - -check() { - cd "${srcdir}/${_gitname}-build" - make -k check -} - -package() { - cd "${srcdir}/${_gitname}-build" - make DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/" -} diff --git a/~coadde/libdrm-git/no-pthread-stubs.patch b/~coadde/libdrm-git/no-pthread-stubs.patch deleted file mode 100644 index 6745f4bc4..000000000 --- a/~coadde/libdrm-git/no-pthread-stubs.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff -Nur libdrm-2.4.34.orig/configure.ac libdrm-2.4.34/configure.ac ---- libdrm-2.4.34.orig/configure.ac 2012-05-12 14:54:06.375335490 +0000 -+++ libdrm-2.4.34/configure.ac 2012-05-12 14:54:32.075142065 +0000 -@@ -47,10 +47,6 @@ - LT_INIT([disable-static]) - - --PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs) --AC_SUBST(PTHREADSTUBS_CFLAGS) --AC_SUBST(PTHREADSTUBS_LIBS) -- - pkgconfigdir=${libdir}/pkgconfig - AC_SUBST(pkgconfigdir) - AC_ARG_ENABLE([udev], -diff -Nur libdrm-2.4.34.orig/intel/Makefile.am libdrm-2.4.34/intel/Makefile.am ---- libdrm-2.4.34.orig/intel/Makefile.am 2012-05-12 14:54:06.372001955 +0000 -+++ libdrm-2.4.34/intel/Makefile.am 2012-05-12 14:55:24.164745055 +0000 -@@ -26,7 +26,6 @@ - $(WARN_CFLAGS) \ - -I$(top_srcdir) \ - -I$(top_srcdir)/intel \ -- $(PTHREADSTUBS_CFLAGS) \ - $(PCIACCESS_CFLAGS) \ - $(VALGRIND_CFLAGS) \ - -I$(top_srcdir)/include/drm -@@ -35,7 +34,6 @@ - libdrm_intel_ladir = $(libdir) - libdrm_intel_la_LDFLAGS = -version-number 1:0:0 -no-undefined - libdrm_intel_la_LIBADD = ../libdrm.la \ -- @PTHREADSTUBS_LIBS@ \ - @PCIACCESS_LIBS@ \ - @CLOCK_LIB@ - -diff -Nur libdrm-2.4.34.orig/nouveau/Makefile.am libdrm-2.4.34/nouveau/Makefile.am ---- libdrm-2.4.34.orig/nouveau/Makefile.am 2012-05-12 14:54:06.331998148 +0000 -+++ libdrm-2.4.34/nouveau/Makefile.am 2012-05-12 14:56:00.941132085 +0000 -@@ -2,14 +2,13 @@ - $(WARN_CFLAGS) \ - -I$(top_srcdir) \ - -I$(top_srcdir)/nouveau \ -- $(PTHREADSTUBS_CFLAGS) \ - -I$(top_srcdir)/include/drm \ - -DDEBUG - - libdrm_nouveau_la_LTLIBRARIES = libdrm_nouveau.la - libdrm_nouveau_ladir = $(libdir) - libdrm_nouveau_la_LDFLAGS = -version-number 2:0:0 -no-undefined --libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@ -+libdrm_nouveau_la_LIBADD = ../libdrm.la - - libdrm_nouveau_la_SOURCES = nouveau.c \ - pushbuf.c \ -diff -Nur libdrm-2.4.34.orig/radeon/Makefile.am libdrm-2.4.34/radeon/Makefile.am ---- libdrm-2.4.34.orig/radeon/Makefile.am 2012-05-12 14:54:06.365334765 +0000 -+++ libdrm-2.4.34/radeon/Makefile.am 2012-05-12 14:55:48.084557437 +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 \ diff --git a/~coadde/mesa-git/LICENSE b/~coadde/mesa-git/LICENSE deleted file mode 100644 index ae33d2709..000000000 --- a/~coadde/mesa-git/LICENSE +++ /dev/null @@ -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 diff --git a/~coadde/mesa-git/PKGBUILD b/~coadde/mesa-git/PKGBUILD deleted file mode 100644 index a76a2376f..000000000 --- a/~coadde/mesa-git/PKGBUILD +++ /dev/null @@ -1,254 +0,0 @@ -# $Id$ -# Maintainer: Egon Ashrafinia <e,ashrafinia@gmail.com> -# Maintainer: Jan de Groot <jgc@archlinux.org> -# Maintainer: Andreas Radke <andyrtr@archlinux.org> -# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy> - -pkgbase=mesa-git -pkgname=('mesa-git') -true && pkgname=('mesa-git' 'libgl-git' 'osmesa-git' 'libglapi-git' 'libgbm-git' 'libgles-git' 'libegl-git' 'khrplatform-devel-git' 'ati-dri-git' 'intel-dri-git' 'nouveau-dri-git') -pkgver=20120612 -pkgrel=1 -_mesaver=8.1 -arch=('i686' 'x86_64' 'mips64el') -makedepends=('glproto-git' 'libdrm-git' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libx11>=1.4.99.1' 'libxt>=1.1.1' - 'gcc-libs>=4.6.1' 'dri2proto>=2.6' 'python2' 'libxml2' 'imake' 'llvm' 'udev>=183' 'git') -url="http://mesa3d.sourceforge.net" -license=('custom') -source=(LICENSE) -md5sums=('5c65a0fe315dd347e09b1f2826a1df5a') - -_gitroot='git://anongit.freedesktop.org/git/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} --depth 1 - fi - msg 'GIT checkout done or server timeout' - msg 'Starting make...' - - cd "${srcdir}" - - # Cleanup and prepare the build dir - [ -d build ] && rm -rf build - cp -r ${_gitname} build - cd build - - # addind empty header for version.c - touch src/mesa/main/git_sha1.h - - autoreconf -vfi - ./autogen.sh --prefix=/usr \ - --with-dri-driverdir=/usr/lib/xorg/modules/dri \ - --with-gallium-drivers=r300,r600,nouveau,svga,swrast \ - --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-shared-dricore - make -} - -package_libgl-git() { - depends=('libdrm-git' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libglapi-git' 'gcc-libs') - conflicts=('libgl') - provides=("libgl=${_mesaver}") - pkgdesc="Mesa 3-D graphics library and DRI software rasterizer" - - cd "${srcdir}"/build - install -m755 -d "${pkgdir}/usr/lib" - install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions" - - bin/minstall lib/libGL.so* "${pkgdir}/usr/lib/" - bin/minstall lib/libdricore.so* "${pkgdir}/usr/lib/" - #bin/minstall lib/libglsl.so* "${pkgdir}/usr/lib/" - - cd src/mesa/drivers/dri - make -C "${srcdir}"/build/src/gallium/targets/dri-swrast DESTDIR="${pkgdir}" install - - ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" - - install -m755 -d "${pkgdir}/usr/share/licenses/libgl-git" - install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl-git/" -} - -package_osmesa-git() { - depends=('mesa-git') - conflicts=('osmesa') - provides=("osmesa=${_mesaver}") - optdepends=('opengl-man-pages: for the OpenGL API man pages') - pkgdesc="Mesa 3D off-screen rendering library" - - make -C "${srcdir}"/build/src/mesa DESTDIR="${pkgdir}" install-osmesa -} - -package_libglapi-git() { - depends=('glibc') - conflicts=('libglapi') - provides=("libglapi=${_mesaver}") - pkgdesc="free implementation of the GL API -- shared library. The Mesa GL API module is responsible for dispatching all the gl* functions" - - cd "${srcdir}"/build - install -m755 -d "${pkgdir}/usr/lib" - bin/minstall lib/libglapi.so* "${pkgdir}/usr/lib/" - - install -m755 -d "${pkgdir}/usr/share/licenses/libglapi-git" - install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libglapi-git/" -} - -package_libgbm-git() { - depends=('glibc') - conflicts=('libgbm') - provides=("libgbm=${_mesaver}") - pkgdesc="Mesa gbm library" - - cd "${srcdir}"/build - install -m755 -d "${pkgdir}/usr/lib" - bin/minstall lib/libgbm.so* "${pkgdir}/usr/lib/" - install -m755 -d "${pkgdir}/usr/lib/pkgconfig" - bin/minstall src/gbm/main/gbm.pc "${pkgdir}/usr/lib/pkgconfig/" - - install -m755 -d "${pkgdir}/usr/share/licenses/libgbm-git" - install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgbm-git/" -} - -package_libgles-git() { - depends=('libglapi-git' 'khrplatform-devel-git') - conflicts=('libgles') - provides=("libgles=${_mesaver}") - pkgdesc="Mesa GLES libraries and headers" - - cd "${srcdir}"/build - install -m755 -d "${pkgdir}/usr/lib" - install -m755 -d "${pkgdir}/usr/lib/pkgconfig" - install -m755 -d "${pkgdir}/usr/include" - install -m755 -d "${pkgdir}/usr/include/GLES" - install -m755 -d "${pkgdir}/usr/include/GLES2" - bin/minstall lib/libGLESv* "${pkgdir}/usr/lib/" - bin/minstall src/mapi/es1api/glesv1_cm.pc "${pkgdir}/usr/lib/pkgconfig/" - bin/minstall src/mapi/es2api/glesv2.pc "${pkgdir}/usr/lib/pkgconfig/" - bin/minstall include/GLES/* "${pkgdir}/usr/include/GLES/" - bin/minstall include/GLES2/* "${pkgdir}/usr/include/GLES2/" - - install -m755 -d "${pkgdir}/usr/share/licenses/libgles-git" - install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgles-git/" -} - -package_libegl-git() { - depends=('libglapi-git' 'libdrm-git' 'libxext' 'libxfixes' 'udev' 'khrplatform-devel-git') - conflicts=('libegl') - provides=("libegl=${_mesaver}") - pkgdesc="Mesa libEGL libraries and headers" - - cd "${srcdir}"/build - make -C src/gallium/targets/egl-static DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}/usr/lib" - install -m755 -d "${pkgdir}/usr/lib/pkgconfig" - install -m755 -d "${pkgdir}/usr/include" - install -m755 -d "${pkgdir}/usr/include/" - install -m755 -d "${pkgdir}/usr/include/EGL" - install -m755 -d "${pkgdir}/usr/share" - install -m755 -d "${pkgdir}/usr/share/doc" - install -m755 -d "${pkgdir}/usr/share/doc/libegl" - bin/minstall lib/libEGL.so* "${pkgdir}/usr/lib/" - install -m755 -d "${pkgdir}/usr/lib/egl" - bin/minstall lib/egl/* "${pkgdir}/usr/lib/egl/" - bin/minstall src/egl/main/egl.pc "${pkgdir}/usr/lib/pkgconfig/" - bin/minstall include/EGL/* "${pkgdir}/usr/include/EGL/" - bin/minstall docs/egl.html "${pkgdir}/usr/share/doc/libegl/" - - install -m755 -d "${pkgdir}/usr/share/licenses/libegl-git" - install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libegl-git/" -} - -package_khrplatform-devel-git() { - conflicts=('khrplatform-devel') - provides=("khrplatform-devel=${_mesaver}") - pkgdesc="Khronos platform development package" - - cd ${srcdir}/build - install -m755 -d "${pkgdir}/usr/include/KHR" - bin/minstall include/KHR/khrplatform.h "${pkgdir}/usr/include/KHR/" - - install -m755 -d "${pkgdir}/usr/share/licenses/khrplatform-devel" - install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/khrplatform-devel/" -} - -package_mesa-git() { - depends=('libgl-git' 'libx11>=1.4.3' 'libxt>=1.1.1' 'gcc-libs>=4.6' 'dri2proto>=2.6' 'glproto>=1.4.14') #dri2proto + glproto needed for gl.pc - optdepends=('opengl-man-pages: for the OpenGL API man pages') - conflicts=('mesa') - provides=("mesa=${_mesaver}") - pkgdesc="Mesa 3-D graphics libraries and include files" - - cd "${srcdir}"/build - make DESTDIR="${pkgdir}" install - - rm -f "${pkgdir}/usr/lib/libGL.so"* - rm -f "${pkgdir}/usr/lib/libglapi.so"* - rm -f "${pkgdir}/usr/lib/libgbm.so"* - rm -f "${pkgdir}/usr/lib/libGLESv"* - rm -f "${pkgdir}/usr/lib/libEGL"* - rm -rf "${pkgdir}/usr/lib/egl" - rm -f "${pkgdir}/usr/lib/libOSMesa"* - rm -f ${pkgdir}/usr/lib/pkgconfig/{glesv1_cm.pc,glesv2.pc,egl.pc,osmesa.pc,gbm.pc} - rm -rf "${pkgdir}/usr/lib/xorg" - rm -f "${pkgdir}/usr/include/GL/glew.h" - rm -f "${pkgdir}/usr/include/GL/glxew.h" - rm -f "${pkgdir}/usr/include/GL/wglew.h" - rm -f "${pkgdir}/usr/include/GL/glut.h" - rm -rf ${pkgdir}/usr/include/{GLES,GLES2,EGL,KHR} - - install -m755 -d "${pkgdir}/usr/share/licenses/mesa-git" - install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-git/" -} - -package_ati-dri-git() { - depends=('libgl-git') - conflicts=('ati-dri' 'xf86-video-ati<6.9.0-6') - provides=("ati-dri=${_mesaver}") - pkgdesc="Mesa DRI + Gallium3D r300 drivers for AMD/ATI Radeon" - - # classic mesa driver for R300 r300_dri.so - make -C ${srcdir}/build/src/mesa/drivers/dri/radeon DESTDIR="${pkgdir}" install - make -C ${srcdir}/build/src/mesa/drivers/dri/r200 DESTDIR="${pkgdir}" install - # gallium3D driver for R300 r300_dri.so - make -C "${srcdir}"/build/src/gallium/targets/dri-r300 DESTDIR="${pkgdir}" install - make -C "${srcdir}"/build/src/gallium/targets/dri-r600 DESTDIR="${pkgdir}" install -} - -package_intel-dri-git() { - depends=('libgl-git') - conflicts=('intel-dri') - provides=("intel-dri=${_mesaver}") - pkgdesc="Mesa DRI drivers for Intel" - - make -C ${srcdir}/build/src/mesa/drivers/dri/i915 DESTDIR="${pkgdir}" install - make -C ${srcdir}/build/src/mesa/drivers/dri/i965 DESTDIR="${pkgdir}" install -} - -package_nouveau-dri-git() { - depends=('libgl-git') - conflicts=('nouveau-dri') - provides=("nouveau-dri=${_mesaver}") - pkgdesc="Mesa classic DRI + Gallium3D drivers for Nouveau" - - # classic mesa driver for nv10 , nv20 nouveau_vieux_dri.so - make -C ${srcdir}/build/src/mesa/drivers/dri/nouveau DESTDIR="${pkgdir}" install - # gallium3D driver for nv30 - nv40 - nv50 nouveau_dri.so - make -C ${srcdir}/build/src/gallium/targets/dri-nouveau DESTDIR="${pkgdir}" install -} - diff --git a/~coadde/xf86-video-nouveau-git/PKGBUILD b/~coadde/xf86-video-nouveau-git/PKGBUILD deleted file mode 100644 index c8e8e24c3..000000000 --- a/~coadde/xf86-video-nouveau-git/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> -# Contributor: buddabrod <buddabrod@gmail.com> -# Contributor: Tavian Barnes <tavianator@gmail.com> -# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy> - -_name=nouveau -_pkgname=xf86-video-nouveau -pkgname=xf86-video-nouveau-git -pkgver=20120612 -pkgrel=1 -pkgdesc="Libre 3D acceleration driver for nVidia cards" -arch=('i686' 'x86_64' 'mips64el') -url="http://${_name}.freedesktop.org/wiki/" -license=('GPL') #and MIT, not yet a license file, see http://nouveau.freedesktop.org/wiki/FAQ#head-09f75d03eb30011c754038a3893119a70745de4 -depends=("libdrm-git" 'udev') -optdepends=('nouveau-dri-git: experimental gallium3d features') -makedepends=('xorg-server-devel' 'libdrm-git' 'xf86driproto' 'git') -conflicts=('xorg-server<1.11.99.902' "${_pkgname}") -provides=("${_pkgname}") -options=('!libtool') -install=${_pkgname}.install - -_gitroot="git://anongit.freedesktop.org/git/${_name}/${_pkgname}" -_gitname="${_pkgname}" - -build() { - cd ${srcdir} - msg "Connecting to 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 - make -} - -package() { - cd ${srcdir}/${_gitname}-build - make DESTDIR=${pkgdir} install -} diff --git a/~coadde/xf86-video-nouveau-git/xf86-video-nouveau.install b/~coadde/xf86-video-nouveau-git/xf86-video-nouveau.install deleted file mode 100644 index 027154ff3..000000000 --- a/~coadde/xf86-video-nouveau-git/xf86-video-nouveau.install +++ /dev/null @@ -1,16 +0,0 @@ -post_install () { - cat << _EOF - ==> make sure you use KernelModeSetting (KMS) - ==> see http://wiki.archlinux.org/index.php/Nouveau#KMS for more -_EOF -} - -post_upgrade() { - if [ "`vercmp $2 0.0.15_git20100117-1`" -lt 0 ]; then - cat << _EOF - ==> ATTENTION: Usermode support has been dropped - ==> make sure you use KernelModeSetting (KMS) - ==> see http://wiki.archlinux.org/index.php/Nouveau#KMS for more -_EOF - fi -} |