# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit desktop xdg-utils # Use the docs for the last 'normal' release DOC_P="${PN}-2.48.4" DESCRIPTION="Two-way cross-platform file synchronizer" HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/" SRC_URI="https://github.com/bcpierce00/unison/archive/v${PV/_p/v}.tar.gz -> ${P/_p/v}.tar.gz" # No manual.pdf or manual.html available for this version SRC_URI+=" doc? ( https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${DOC_VER}/${DOC_P}-manual.pdf https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${DOC_VER}/${DOC_P}-manual.html ) " LICENSE="GPL-2" SLOT="$(ver_cut 1-2)" KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" IUSE="debug doc gtk +ocamlopt threads" # Upstream, for this version, has explicitly disabled test with marker # "Skipping some tests -- remove me!". Given the potentially destructive nature # of those tests, let's not try to run them (they're re-enabled in subsequent # releases). RESTRICT="test !ocamlopt? ( strip )" # ocaml version so we are sure it has ocamlopt use flag DEPEND="