# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" inherit autotools flag-o-matic systemd toolchain-funcs DESCRIPTION="Multi-network P2P application written in Ocaml, with Gtk, web & telnet interface" HOMEPAGE="https://github.com/ygrek/mldonkey" SRC_URI="https://github.com/ygrek/mldonkey/releases/download/release-${PV//./-}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" IUSE="bittorrent doc fasttrack gd gnutella magic +ocamlopt upnp" RDEPEND="dev-lang/perl dev-ml/camlp4:= gd? ( media-libs/gd:2=[truetype] ) magic? ( sys-apps/file ) upnp? ( net-libs/libnatpmp net-libs/miniupnpc:= ) acct-user/p2p app-arch/bzip2 sys-libs/zlib " # Can't yet use newer OCaml # -unsafe-string usage: # https://github.com/ygrek/mldonkey/issues/46 DEPEND="${RDEPEND}