media-libs/draco - 1.5.7 (baar-dau)

Search

Install

Install this version:

emerge -a =media-libs/draco-1.5.7

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

autounmask =media-libs/draco-1.5.7

Or alternatively:

emerge --autounmask-write -a =media-libs/draco-1.5.7

Package Information

Description:
Library for compressing and decompressing 3D geometric meshes and point clouds
Homepage:
https://google.github.io/draco/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.5.7 8 ~amd64 0/9
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Library for compressing and decompressing 3D geometric meshes and point clouds"
HOMEPAGE="https://google.github.io/draco/"
SRC_URI="https://github.com/google/draco/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
# Subslot: libdraco.so SONAME major
SLOT="0/9"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

src_configure() {
	local mycmakeargs=(
		-DBUILD_SHARED_LIBS="yes"
		-DDRACO_TESTS="$(usex test)"
		# The transcoder pulls in bundled eigen/tinygltf; blender does not need it
		-DDRACO_TRANSCODER_SUPPORTED="no"
	)

	cmake_src_configure
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Manifest for 1.5.7

Type File Size Source URLs
DIST draco-1.5.7.tar.gz 60465968 bytes https://github.com/google/draco/archive/refs/tags/1.5.7.tar.gz