blob: 9d7fa0d6945d29ebe17eafc1b1fbf6929d139165 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
# 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=13
arch=('x86_64')
makedepends=('xorgproto' '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' 'python' 'libxml2' 'imake' 'llvm' 'udev')
url="http://mesa3d.sourceforge.net"
license=('custom')
source=(ftp://ftp.freedesktop.org/pub/mesa/older-versions/7.x/${pkgver}/MesaLib-${pkgver}.tar.bz2
LICENSE mesa-dri1-symbol-visibility.patch mesa-dri1-python3.patch)
md5sums=('0837c52698fe3252369c3fdb5195afcc'
'5c65a0fe315dd347e09b1f2826a1df5a'
'489feaf524440ff2e4fa32e65e7037ce'
'b1da35125d638bb3ea673cc18ce9f9e3')
sha256sums=('57746aa8c60bc6f5596ec6c6c7274de40fa12edce5ec33fe899e704fa00b5357'
'7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2'
'68570caa94de6956aa942c34889e3cf98198d934faa29419cdd90f2bdb9801b6'
'bdce7f2e8890a3f2a25c885005b43ab732ab6b9ec48504f813a8d5c1ff568e6e')
build() {
cd "${srcdir}"/Mesa-7.11.2
patch -Np1 -i ../mesa-dri1-symbol-visibility.patch
patch -Np1 -i ../mesa-dri1-python3.patch
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=("expat" "libdrm" "gcc-libs")
pkgdesc="Mesa DRI drivers for S3 Graphics/VIA Unichrome"
make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/unichrome DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/unichrome-dri"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/unichrome-dri/"
}
package_i810-dri() {
depends=("expat" "libdrm" "gcc-libs")
pkgdesc="Mesa DRI drivers for Intel i810"
make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/i810 DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/i810-dri"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/i810-dri/"
}
package_mach64-dri() {
depends=("expat" "libdrm" "gcc-libs")
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
install -m755 -d "${pkgdir}/usr/share/licenses/mach64-dri"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mach64-dri/"
}
package_mga-dri() {
depends=("expat" "libdrm" "gcc-libs")
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
install -m755 -d "${pkgdir}/usr/share/licenses/mga-dri"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mga-dri/"
}
package_r128-dri() {
depends=("expat" "libdrm" "gcc-libs")
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
install -m755 -d "${pkgdir}/usr/share/licenses/r128-dri"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/r128-dri/"
}
package_savage-dri() {
depends=("expat" "libdrm" "gcc-libs")
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
install -m755 -d "${pkgdir}/usr/share/licenses/savage-dri"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/savage-dri/"
}
package_sis-dri() {
depends=("expat" "libdrm" "gcc-libs")
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
install -m755 -d "${pkgdir}/usr/share/licenses/sis-dri"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/sis-dri/"
}
package_tdfx-dri() {
depends=("expat" "libdrm" "gcc-libs")
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
install -m755 -d "${pkgdir}/usr/share/licenses/tdfx-dri"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/tdfx-dri/"
}
|