# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup anholt libepoxy 1.5.4
maintainers {devans @dbevans} openmaintainer
description Epoxy is a library for handling OpenGL function \
pointer management for you
long_description ${description}
checksums rmd160 790f3809230e5e7e34ed6d085a8a44c46f93d077 \
sha256 89bb28268d89c36eda2f8064f4823321aaeba8a6f5bf4e99d7545dcd303bf28a \
# Yes, mesa and xorg-libX11 are *build* dependencies. The library will function correctly
# if they are not present because it loads mesa dynamically only when GLX is used. When
# OpenGL.framework is used, there is no need to have mesa at runtime.
# Clients of this library must link mesa directly and have it listed as their dependency
# in order to use mesa with libepoxy.
depends_build port:pkgconfig \
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/dispatch_common.c
configure.cmd ./autogen.sh
configure.args --disable-silent-rules \
variant python27 conflicts python36 python37 python38 description {build with python 2.7} {
depends_build-append port:python27
configure.python ${prefix}/bin/python2.7
variant python36 conflicts python27 python37 python38 description {build with python 3.6} {
depends_build-append port:python36
configure.python ${prefix}/bin/python3.6
variant python37 conflicts python27 python36 python38 description {build with python 3.7} {
depends_build-append port:python37
configure.python ${prefix}/bin/python3.7
variant python38 conflicts python27 python36 python37 description {build with python 3.8} {
depends_build-append port:python38
configure.python ${prefix}/bin/python3.8