Commit 388af001 authored by satmandu's avatar satmandu Committed by GitHub

Mesa: Fix Meson_options breakage (#4499)

* Fix Meson_options breakage

* bump version
parent d3a03a6f
......@@ -3,7 +3,7 @@ require 'package'
class Mesa < Package
description 'Open-source implementation of the OpenGL specification'
homepage 'https://www.mesa3d.org'
version '20.2.1-1'
version '20.2.1-2'
compatibility 'all'
source_url 'https://mesa.freedesktop.org/archive/mesa-20.2.1.tar.xz'
source_sha256 'd1a46d9a3f291bc0e0374600bdcb59844fa3eafaa50398e472a36fc65fd0244a'
......@@ -36,7 +36,13 @@ class Mesa < Package
# Just use mostly defaults.
system "meson",
#{CREW_MESON_OPTIONS},
"-Dprefix=#{CREW_PREFIX}",
"-Dlibdir=#{CREW_LIB_PREFIX}",
"-DLIB_INSTALL_DIR=#{CREW_LIB_PREFIX}",
"-Dmandir=#{CREW_MAN_PREFIX}",
"-DSYSCONFDIR=#{CREW_PREFIX}/etc",
"-Ddatadir=#{CREW_LIB_PREFIX}",
'-Dbuildtype=release',
"builddir"
system "ninja -C builddir"
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