dev-games/physfs: Mirror 9999 ebuild and put doxygen in BDEPEND
authorJames Le Cuirot <chewi@gentoo.org>
Mon, 4 Mar 2019 20:46:25 +0000 (20:46 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Mon, 4 Mar 2019 20:48:50 +0000 (20:48 +0000)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
dev-games/physfs/physfs-3.0.1-r2.ebuild

index 09e33ed95e93cfdd83f73e573b245c98c5148ff8..fe097f9f54edbccf5f5a6dec0c8f60a00aa866d3 100644 (file)
@@ -6,14 +6,20 @@ inherit cmake-multilib
 
 DESCRIPTION="Abstraction layer for filesystem and archive access"
 HOMEPAGE="https://icculus.org/physfs/"
-SRC_URI="https://icculus.org/physfs/downloads/${P}.tar.bz2"
+
+if [[ ${PV} == *9999* ]]; then
+       EHG_REPO_URI="https://hg.icculus.org/icculus/physfs"
+       inherit mercurial
+else
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86 ~x86-fbsd"
+       SRC_URI="https://icculus.org/physfs/downloads/${P}.tar.bz2"
+fi
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86 ~x86-fbsd"
 IUSE="7zip doc grp hog iso mvl qpak slb static-libs vdf wad +zip"
 
-DEPEND="doc? ( app-doc/doxygen )"
+BDEPEND="doc? ( app-doc/doxygen )"
 
 DOCS=( docs/CHANGELOG.txt docs/CREDITS.txt docs/TODO.txt )