diff options
Diffstat (limited to 'xorg')
| -rwxr-xr-x | xorg/mesa/build | 18 | ||||
| -rw-r--r-- | xorg/mesa/checksums | 1 | ||||
| -rw-r--r-- | xorg/mesa/depends | 1 | ||||
| -rw-r--r-- | xorg/mesa/sources | 1 | 
4 files changed, 20 insertions, 1 deletions
| diff --git a/xorg/mesa/build b/xorg/mesa/build index 6f94463d..b1169a2c 100755 --- a/xorg/mesa/build +++ b/xorg/mesa/build @@ -1,5 +1,23 @@  #!/bin/sh -e +# Temporarily install python-mako to build mesa +( +    cd mako + +    python3 setup.py build +    python3 setup.py install \ +        --prefix=/usr \ +        --root="$PWD/dist" + +) + +read -r _ pyver <<-EOF +$(python3 --version) +EOF + +PYTHONPATH="$PWD/mako/dist/usr/lib/python${pyver%.*}/site-packages:$(python -c "import sys; print(':'.join(sys.path))")" + +export PYTHONPATH  export DESTDIR="$1"  export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS" diff --git a/xorg/mesa/checksums b/xorg/mesa/checksums index 2d1da075..99db8e14 100644 --- a/xorg/mesa/checksums +++ b/xorg/mesa/checksums @@ -1 +1,2 @@  fe6e258fe772c3cd2ac01741bf7408058c3ac02d66acff9a6e669bd72e3ea178  mesa-20.0.7.tar.xz +2984a6733e1d472796ceef37ad48c26f4a984bb18119bb2dbc37a44d8f6e75a4  Mako-1.1.1.tar.gz diff --git a/xorg/mesa/depends b/xorg/mesa/depends index 1a65438f..07eef570 100644 --- a/xorg/mesa/depends +++ b/xorg/mesa/depends @@ -14,6 +14,5 @@ libxshmfence  llvm  meson        make  python       make -python-mako  make  xorgproto  zlib diff --git a/xorg/mesa/sources b/xorg/mesa/sources index 49c7199c..cbf207a0 100644 --- a/xorg/mesa/sources +++ b/xorg/mesa/sources @@ -1 +1,2 @@  https://mesa.freedesktop.org/archive/mesa-20.0.7.tar.xz +https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.1.1.tar.gz mako | 
