mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
libglvnd: initial package v1.1.1 / added pkgconfig patch
This commit is contained in:
parent
81cf3cd7e7
commit
9af93d4f41
29
packages/graphics/libglvnd/package.mk
Normal file
29
packages/graphics/libglvnd/package.mk
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
|
PKG_NAME="libglvnd"
|
||||||
|
PKG_VERSION="1.1.1"
|
||||||
|
PKG_SHA256="baca5e1a78b96a112650cdc597be3f856d4754eb73a7bf3f6629e78a7e9f2b5a"
|
||||||
|
PKG_LICENSE="GPL"
|
||||||
|
PKG_SITE="https://github.com/NVIDIA/libglvnd"
|
||||||
|
PKG_URL="https://github.com/NVIDIA/libglvnd/archive/v${PKG_VERSION}.tar.gz"
|
||||||
|
PKG_DEPENDS_TARGET="toolchain libX11 libXext xorgproto"
|
||||||
|
PKG_LONGDESC="libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors."
|
||||||
|
PKG_TOOLCHAIN="autotools"
|
||||||
|
|
||||||
|
if [ "$OPENGLES_SUPPORT" = "no" ]; then
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-gles"
|
||||||
|
fi
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||||
|
# Remove old symlinks to GLVND libGL.so.1.7.0
|
||||||
|
safe_remove ${INSTALL}/usr/lib/libGL.so
|
||||||
|
safe_remove ${INSTALL}/usr/lib/libGL.so.1
|
||||||
|
# Create new symlinks to /var/lib/libGL.so
|
||||||
|
ln -sf libGL.so.1 ${INSTALL}/usr/lib/libGL.so
|
||||||
|
ln -sf /var/lib/libGL.so ${INSTALL}/usr/lib/libGL.so.1
|
||||||
|
# Create new symlink to GLVND libGL.so.1.7.0
|
||||||
|
ln -sf libGL.so.1.7.0 ${INSTALL}/usr/lib/libGL_glvnd.so.1
|
||||||
|
fi
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user