Install this version:
emerge -a =media-gfx/libbgcode-0.0.20251210
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-gfx/libbgcode-0.0.20251210
Or alternatively:
emerge --autounmask-write -a =media-gfx/libbgcode-0.0.20251210
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
LIBBGCODE_COMMIT=0773cea1717ff92780830f1914f5159b50288d98
DESCRIPTION="Prusa Block & Binary G-code reader / writer / converter"
HOMEPAGE="https://github.com/prusa3d/libbgcode"
SRC_URI="https://github.com/prusa3d/libbgcode/archive/${LIBBGCODE_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${LIBBGCODE_COMMIT}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/heatshrink-0.4.1
>=virtual/zlib-1.0:=
"
DEPEND="${RDEPEND}
dev-libs/boost
test? ( >=dev-cpp/catch-3 )
"
src_configure() {
local mycmakeargs=(
-DLibBGCode_BUILD_TESTS=$(usex test)
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p media-gfx/libbgcode |
euse -E <flag> -p media-gfx/libbgcode |
euse -D <flag> -p media-gfx/libbgcode
>=dev-libs/heatshrink-0.4.1 >=virtual/zlib-1.0:= dev-libs/boost test? ( >=dev-cpp/catch-3 )
>=dev-libs/heatshrink-0.4.1 >=virtual/zlib-1.0:=
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libbgcode-0.0.20251210.tar.gz | 529053 bytes | https://github.com/prusa3d/libbgcode/archive/0773cea1717ff92780830f1914f5159b50288d98.tar.gz |