summaryrefslogtreecommitdiff
path: root/dev-ml/graphics/graphics-5.2.0-r1.ebuild
blob: 959dc10a22794ca4b45a44a5bc4d4b8ae9c3dde4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="The OCaml graphics library"
HOMEPAGE="https://github.com/ocaml/graphics"
SRC_URI="https://github.com/ocaml/${PN}/archive/refs/tags/${PV}.tar.gz
	-> ${P}.tar.gz"

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/libXft
	x11-libs/libX11:="
DEPEND="${RDEPEND}
	x11-base/xorg-proto"

IUSE="+ocamlopt"