Install this version:
emerge -a =dev-ml/graphics-5.1.2
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune
DESCRIPTION="The OCaml graphics library"
HOMEPAGE="https://github.com/ocaml/graphics"
SRC_URI="https://github.com/ocaml/${PN}/releases/download/${PV}/${P}.tbz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
RDEPEND="dev-ml/dune-configurator:=[ocamlopt?]
x11-libs/libX11:="
DEPEND="${RDEPEND}
x11-base/xorg-proto"
IUSE="+ocamlopt"
Manage flags for this package:
euse -i <flag> -p dev-ml/graphics |
euse -E <flag> -p dev-ml/graphics |
euse -D <flag> -p dev-ml/graphics
dev-ml/dune-configurator:=[ocamlopt?] x11-libs/libX11:= x11-base/xorg-proto
dev-ml/dune-configurator:=[ocamlopt?] x11-libs/libX11:=
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | graphics-5.1.2.tbz | 58863 bytes | https://github.com/ocaml/graphics/releases/download/5.1.2/graphics-5.1.2.tbz |