mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
# libepoxy (actually) needs to be built shared, to avoid
|
|
# (EE) Failed to load /usr/lib/xorg/modules/libglamoregl.so:
|
|
# /usr/lib/xorg/modules/libglamoregl.so: undefined symbol: epoxy_eglCreateImageKHR
|
|
# in Xorg.log
|
|
|
|
PKG_NAME="libepoxy"
|
|
PKG_VERSION="1.5.2"
|
|
PKG_SHA256="a9562386519eb3fd7f03209f279f697a8cba520d3c155d6e253c3e138beca7d8"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://github.com/anholt/libepoxy"
|
|
PKG_URL="https://github.com/anholt/libepoxy/releases/download/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_SECTION="graphics"
|
|
PKG_SHORTDESC="libepoxy: a library for handling OpenGL function pointer management for you."
|
|
PKG_LONGDESC="Epoxy is a library for handling OpenGL function pointer management for you."
|
|
PKG_TOOLCHAIN="autotools"
|
|
|
|
if [ "$OPENGL" != "no" ]; then
|
|
PKG_DEPENDS_TARGET+=" $OPENGL"
|
|
fi
|
|
|
|
if [ "$OPENGLES" != "no" ]; then
|
|
PKG_DEPENDS_TARGET+=" $OPENGLES"
|
|
fi
|
|
|
|
if [ "$DISPLAYSERVER" != "x11" ]; then
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-glx"
|
|
fi
|