Ebuild
23. Mai 2012, 03:01
A modern and featureful DVCS (distributed version control system)
| alpha | amd64 | arm | hppa | ia64 | m68k | mips | ppc | ppc64 | s390 | sh | sparc | x86 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1.1.0.10565 | – | ~ | – | – | – | – | – | – | – | – | – | – | ~ |
Paketbeschreibung:
A modern and featureful DVCS (distributed version control system)
Kategorie:
ÄNDERUNGSPROTOKOLL
# ChangeLog for dev-vcs/veracity # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/veracity/ChangeLog,v 1.5 2012/05/03 02:57:16 jdhore Exp $ 03 May 2012; Jeff Horelick (jdhore) veracity-1.0.0.10517.ebuild, veracity-1.1.0.10565.ebuild: dev-util/pkgconfig -> virtual/pkgconfig *veracity-1.1.0.10565 (07 Oct 2011) 07 Oct 2011; Nathan Phillip Brink (binki) +veracity-1.1.0.10565.ebuild: Bump to veracity-1.1.0.10565. 17 Sep 2011; Nathan Phillip Brink (binki) veracity-1.0.0.10517.ebuild: Add prefix support, tested on ~x86-linux 17 Sep 2011; Nathan Phillip Brink (binki) veracity-1.0.0.10517.ebuild: Add ~x86 keyword. *veracity-1.0.0.10517 (12 Sep 2011) 12 Sep 2011; Nathan Phillip Brink (binki) +veracity-1.0.0.10517.ebuild, +files/veracity-1.0.0.10517-spidermonkey-as-needed.patch, +files/veracity-1.0.0.10517-system-sqlite.patch, +files/veracity-1.0.0.10517-werror.patch, +metadata.xml: Add dev-vcs/veracity-1.0.0.10517, a young DVCS (requested by jdhore).
FEHLER
No bugs found
USE-FLAGS
| test | Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore |
KOMPILIER-ABHÄNGIGKEITEN
| app-arch/unzip | unzipper for pkzip-compressed files |
| dev-db/sqlite | A SQL Database Engine in a C Library |
| dev-libs/icu | International Components for Unicode |
| dev-libs/nspr | Netscape Portable Runtime |
| dev-util/cmake | Cross platform Make |
| net-misc/curl | A Client that groks URLs |
| sys-apps/findutils | GNU utilities for finding files |
| sys-apps/util-linux | Various useful Linux utilities |
| sys-libs/zlib | Standard (de)compression library |
| virtual/pkgconfig | virtual for pkg-config |
LAUFZEITABHÄNGIGKEITEN
| dev-db/sqlite | A SQL Database Engine in a C Library |
| dev-libs/icu | International Components for Unicode |
| dev-libs/nspr | Netscape Portable Runtime |
| net-misc/curl | A Client that groks URLs |
| sys-apps/util-linux | Various useful Linux utilities |
| sys-libs/zlib | Standard (de)compression library |
SOURCE CODE
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/dev-vcs/veracity/veracity-1.1.0.10565.ebuild,v 1.2
2012/05/03 02:57:16 jdhore Exp $
EAPI=4
inherit bash-completion-r1 eutils cmake-utils
JS_P=js-1.8.0-rc1
DESCRIPTION="A modern and featureful DVCS (distributed version control system)"
HOMEPAGE="http://veracity-scm.com/"
SRC_URI="http://download.sourcegear.com/Veracity/release/${PV}/${PN}-source-${PV}.tar.gz
ftp://ftp.mozilla.org/pub/mozilla.org/js/${JS_P}.tar.gz
http://ftp.mozilla.org/pub/mozilla.org/js/${JS_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-linux"
IUSE="test"
S=${WORKDIR}/${PN}
# Tests fail in 1.0.0.10517.
RESTRICT=test
# Veracity can only use the API from spidermonkey-1.8.0 which isn't
# available in gentoo-x86. It seems that spidermonkey needs to be
# SLOTed... because Veracity needs differing amounts of nontrivial work
# to support spidermonkey-1.8.2 or any newer spidermonkey.
#
# || ( >=dev-lang/spidermonkey-1.8[threadsafe] >=dev-lang/spidermonkey-1.8.5 )
RDEPEND="
dev-libs/icu
net-misc/curl
dev-libs/nspr
sys-apps/util-linux
dev-db/sqlite:3
sys-libs/zlib"
DEPEND="${RDEPEND}
virtual/pkgconfig
test? ( app-arch/unzip )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.0.10517-werror.patch
epatch "${FILESDIR}"/${PN}-1.0.0.10517-system-sqlite.patch
epatch "${FILESDIR}"/${PN}-1.0.0.10517-spidermonkey-as-needed.patch
rm -rf src/thirdparty || die
pushd "${WORKDIR}"/js || die
(
EPATCH_OPTS+=" -p8"
epatch "${S}"/thirdparty/patches/js-1.8.0-rc1__{jsapi.c,jscntxt.{c,h}}.patch
)
}
src_configure() {
# Convince cmake scripts that spidermonkey has been prepared.
mkdir -p thirdparty/{include/spidermonkey,lib} || die
local mycmakeargs=(
-DVVTHIRDPARTY="${S}"/thirdparty
-DSPIDERMONKEY_INCDIR="${S}"/thirdparty/include
-DSPIDERMONKEY_LIB="${S}"/thirdparty/lib/libjs.a
)
cmake-utils_src_configure
}
src_compile() {
einfo "Compiling embedded spidermonkey (${JS_P})."
# Based on thirdparty/build_linux.sh.
emake -j1 \
-C "${WORKDIR}"/js/src \
JS_DIST="${EPREFIX}"/usr \
JS_THREADSAFE=1 \
BUILD_OPT=1 \
-f Makefile.ref
cp "${WORKDIR}"/js/src/{*.{h,msg,tbl},Linux_All_OPT.OBJ/*.h}
thirdparty/include/spidermonkey/ \
|| die "Preparing embedded spidermonkey."
cp "${WORKDIR}"/js/src/Linux_All_OPT.OBJ/libjs.a thirdparty/lib/ \
|| die "Preparing embedded spidermonkey."
einfo "Compiling ${P}."
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
rm -f "${D}"/etc/bash-completion.d || die
newbashcomp src/cmd/vv.bash_completion vv
}