x11-libs/glbinding - 3.5.0 (gentoo-zh)

Search

Install

Install this version:

emerge -a =x11-libs/glbinding-3.5.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =x11-libs/glbinding-3.5.0

Or alternatively:

emerge --autounmask-write -a =x11-libs/glbinding-3.5.0

Package Information

Description:
A C++ binding for the OpenGL API
Homepage:
https://glbinding.org/
License:
LGPL-2

Ebuild Details

Version EAPI Keywords Slot
3.5.0 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="A C++ binding for the OpenGL API"
HOMEPAGE="https://glbinding.org/"
SRC_URI="https://github.com/cginternals/glbinding/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

inherit cmake-multilib

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="lto"

PATCHES=(
	"${FILESDIR}"/glbinding-fix-install.patch
)

src_configure(){
	mycmakeargs=(
		-DOPTION_BUILD_TOOLS=OFF
		-DOPTION_BUILD_EXAMPLES=OFF
		-DINSTALL_LIB=$(get_libdir)
		-DINSTALL_SHARED=$(get_libdir)
		-DOPTION_BUILD_WITH_LTO=$(usex lto ON OFF)
	)

	cmake-multilib_src_configure
}

src_install(){
	cmake-multilib_src_install
	# remove conflict files with libglvnd
	rm "${D}"/usr/include/KHR/khrplatform.h
}

USE Flags

Manage flags for this package: euse -i <flag> -p x11-libs/glbinding | euse -E <flag> -p x11-libs/glbinding | euse -D <flag> -p x11-libs/glbinding

Global/Standard Flags

lto

Inherited Eclasses

Manifest for 3.5.0

Type File Size Source URLs
DIST glbinding-3.5.0.tar.gz 1917047 bytes https://github.com/cginternals/glbinding/archive/refs/tags/v3.5.0.tar.gz