summaryrefslogtreecommitdiff
path: root/community/mesa-dri1/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mesa-dri1/PKGBUILD')
-rw-r--r--community/mesa-dri1/PKGBUILD97
1 files changed, 97 insertions, 0 deletions
diff --git a/community/mesa-dri1/PKGBUILD b/community/mesa-dri1/PKGBUILD
new file mode 100644
index 000000000..3fa2266bf
--- /dev/null
+++ b/community/mesa-dri1/PKGBUILD
@@ -0,0 +1,97 @@
+# Maintainer: ConnorBehan <connor.behan@gmail.com>
+
+pkgbase=mesa-dri1
+pkgname=('unichrome-dri' 'i810-dri' 'mach64-dri' 'mga-dri' 'r128-dri' 'savage-dri' 'sis-dri' 'tdfx-dri')
+
+pkgver=7.11.2
+pkgrel=4
+arch=('i686' 'x86_64')
+makedepends=('glproto>=1.4.14' 'dri2proto' 'libdrm>=2.4.26' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libx11>=1.4.3' 'libxt>=1.1.1'
+ 'gcc-libs>=4.6.1' 'python2' 'libxml2' 'imake' 'llvm' 'udev')
+url="http://mesa3d.sourceforge.net"
+license=('custom')
+source=("ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2")
+md5sums=('0837c52698fe3252369c3fdb5195afcc')
+
+build() {
+ cd ${srcdir}/?esa-*
+ autoreconf -vfi
+ ./configure --prefix=/usr \
+ --with-dri-driverdir=/usr/lib/xorg/modules/dri \
+ --with-dri-drivers=unichrome,i810,mach64,mga,r128,savage,sis,tdfx \
+ --with-gallium-drivers= \
+ --disable-gallium-llvm \
+ --enable-glx-tls \
+ --with-driver=dri \
+ --enable-xcb \
+ --disable-glut \
+ --enable-gles1 \
+ --enable-gles2 \
+ --enable-egl \
+ --enable-texture-float \
+ --disable-shared-dricore
+
+ make
+}
+
+package_unichrome-dri() {
+ depends=("mesa-libgl")
+ pkgdesc="Mesa DRI drivers for S3 Graphics/VIA Unichrome"
+
+ make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/unichrome DESTDIR="${pkgdir}" install
+}
+
+package_i810-dri() {
+ depends=("mesa-libgl")
+ pkgdesc="Mesa DRI drivers for Intel i810"
+
+ make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/i810 DESTDIR="${pkgdir}" install
+}
+
+package_mach64-dri() {
+ depends=("mesa-libgl")
+ pkgdesc="Mesa DRI drivers for ATI Mach64"
+ conflicts=('xf86-video-mach64<6.8.2')
+
+ make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/mach64 DESTDIR="${pkgdir}" install
+}
+
+package_mga-dri() {
+ depends=("mesa-libgl")
+ pkgdesc="Mesa DRI drivers for Matrox"
+ conflicts=('xf86-video-mga<1.4.11')
+
+ make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/mga DESTDIR="${pkgdir}" install
+}
+
+package_r128-dri() {
+ depends=("mesa-libgl")
+ pkgdesc="Mesa DRI drivers for ATI Rage128"
+ conflicts=('xf86-video-r128<6.8.1')
+
+ make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/r128 DESTDIR="${pkgdir}" install
+}
+
+package_savage-dri() {
+ depends=("mesa-libgl")
+ pkgdesc="Mesa DRI drivers for S3 Sraphics/VIA Savage"
+ conflicts=('xf86-video-savage<2.3.1')
+
+ make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/savage DESTDIR="${pkgdir}" install
+}
+
+package_sis-dri() {
+ depends=("mesa-libgl")
+ pkgdesc="Mesa DRI drivers for SiS"
+ conflicts=('xf86-video-sis<0.10.2')
+
+ make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/sis DESTDIR="${pkgdir}" install
+}
+
+package_tdfx-dri() {
+ depends=("mesa-libgl")
+ pkgdesc="Mesa DRI drivers for 3dfx"
+ conflicts=('xf86-video-tdfx<1.4.3')
+
+ make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/tdfx DESTDIR="${pkgdir}" install
+}