
* mesa: re-writen to new meson build system
* xorg-server: Remove unneeded mesa dependency
* glx: provide the virtual GLX package
* Convert most "mesa" dependencies to use virtual gl and glx dependencies
* mesa: Switch to always building from the git repo instead of a tarball
* Use gl and glx version ranges instead of exact versions
* glx: provide a default package
* add auto to swr variant
* Revert "add auto to swr variant"
This reverts commit 2e7cd8a8ac
.
* update mesa package to version 19.0
* set +glx by default only when running on linux
* fix style issues in geant4 package
* remove virtual package "egl"
28 lines
1000 B
Python
28 lines
1000 B
Python
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class Libepoxy(AutotoolsPackage):
|
|
"""Epoxy is a library for handling OpenGL function pointer management for
|
|
you."""
|
|
homepage = "https://github.com/anholt/libepoxy"
|
|
url = "https://github.com/anholt/libepoxy/releases/download/1.4.3/libepoxy-1.4.3.tar.xz"
|
|
list_url = "https://github.com/anholt/libepoxy/releases"
|
|
|
|
version('1.4.3', 'af4c3ce0fb1143bdc4e43f85695a9bed')
|
|
version('1.3.1', '96f6620a9b005a503e7b44b0b528287d')
|
|
|
|
depends_on('pkgconfig', type='build')
|
|
depends_on('meson')
|
|
depends_on('gl')
|
|
|
|
def configure_args(self):
|
|
# Disable egl, otherwise configure fails with:
|
|
# error: Package requirements (egl) were not met
|
|
# Package 'egl', required by 'virtual:world', not found
|
|
return ['--enable-egl=no']
|