Commit ff365e5a authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1670 from lovedheart/patch-4

Update mesa.rb
parents 6415610e c1e1e6aa
......@@ -26,9 +26,23 @@ class Mesa < Package
depends_on 'libxtrans'
depends_on 'libxkbfile'
depends_on 'wayland'
depends_on 'python27'
depends_on 'bison'
# tested on armv7l
def self.build
system "./configure --enable-gles2 --with-egl-platforms=x11,wayland,drm --enable-gbm --enable-shared-glapi --with-gallium-drivers=swrast --disable-dri3"
system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} Mako"
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--enable-shared-glapi \
--with-gallium-drivers=nouveau \
--with-dri-drivers=nouveau \
--enable-egl \
--with-platforms=x11,drm,wayland \
--enable-gbm \
--enable-xa \
--enable-dri"
system "make"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment