9 |
PCAT="x11-base" |
PCAT="x11-base" |
10 |
HOMEPAGE="http://xorg.freedesktop.org" |
HOMEPAGE="http://xorg.freedesktop.org" |
11 |
|
|
|
# mesa sources are needed to compile opengl extensions |
|
|
MESA_PVER="19.2.1" |
|
|
MESA_SRCFILE="mesa-${MESA_PVER/_/-}.tar.xz" |
|
|
MESA_SRCDIR="${BUILDDIR}/mesa-${MESA_PVER/_/-}" |
|
|
|
|
12 |
PROVIDE="virtual/x11" |
PROVIDE="virtual/x11" |
13 |
|
|
14 |
# see hw/xfree86/common/xf86Module.h for ABI versions |
# see hw/xfree86/common/xf86Module.h for ABI versions |
38 |
LIBXEXT_DEPEND=">= x11-libs/libXext-1.3" |
LIBXEXT_DEPEND=">= x11-libs/libXext-1.3" |
39 |
LIBX11_DEPEND=">= x11-libs/libX11-1.6" |
LIBX11_DEPEND=">= x11-libs/libX11-1.6" |
40 |
LIBXI_DEPEND=">= x11-libs/libXi-1.7" |
LIBXI_DEPEND=">= x11-libs/libXi-1.7" |
41 |
MESA_DEPEND="== media-libs/mesa-${MESA_PVER}" |
MESA_DEPEND="== media-libs/mesa-19.2" |
42 |
EPOXY_DEPEND=">= media-libs/libepoxy-1.4" |
EPOXY_DEPEND=">= media-libs/libepoxy-1.4" |
43 |
|
|
44 |
XORG_DEPEND="${COMMON_DEPEND} |
XORG_DEPEND="${COMMON_DEPEND} |
99 |
|
|
100 |
SRC_URI=( ${SRC_URI[*]} |
SRC_URI=( ${SRC_URI[*]} |
101 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
|
ftp://ftp.freedesktop.org/pub/mesa/${MESA_PVER}/${MESA_SRCFILE} |
|
|
ftp://ftp.freedesktop.org/pub/mesa/${MESA_SRCFILE} |
|
|
mirror://mesa/${MESA_SRCFILE} |
|
102 |
mirror://${PNAME}/xvfb-run |
mirror://${PNAME}/xvfb-run |
103 |
mirror://${PNAME}/xvfb-run.1 |
mirror://${PNAME}/xvfb-run.1 |
104 |
mirror://${PNAME}/${PNAME}-1.12.3-die-ugly-pattern-die-die-die.patch |
mirror://${PNAME}/${PNAME}-1.12.3-die-ugly-pattern-die-die-die.patch |
166 |
src_prepare() |
src_prepare() |
167 |
{ |
{ |
168 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
|
munpack ${MESA_SRCFILE} || die |
|
169 |
cd ${SRCDIR} |
cd ${SRCDIR} |
170 |
|
|
171 |
# adopted from redhat; use a black background |
# adopted from redhat; use a black background |
195 |
cd ${SRCDIR} |
cd ${SRCDIR} |
196 |
|
|
197 |
xorg_src_configure \ |
xorg_src_configure \ |
|
--with-mesa-source=${MESA_SRCDIR} \ |
|
198 |
--sysconfdir=/etc \ |
--sysconfdir=/etc \ |
199 |
--localstatedir=/var \ |
--localstatedir=/var \ |
200 |
--libexecdir=/usr/$(mlibdir)/${PNAME} \ |
--libexecdir=/usr/$(mlibdir)/${PNAME} \ |