diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2009-10-12 07:29:46 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2009-10-12 07:29:46 +0000 |
commit | 684ab386cafa3cbef478b1ba17d2033563e8368f (patch) | |
tree | 9998e7a68927c7520fc7b081e3d4be18438c2bd8 /dev-util/rapidsvn | |
parent | QA fix: make PATCHES an array (diff) | |
download | gentoo-2-684ab386cafa3cbef478b1ba17d2033563e8368f.tar.gz gentoo-2-684ab386cafa3cbef478b1ba17d2033563e8368f.tar.bz2 gentoo-2-684ab386cafa3cbef478b1ba17d2033563e8368f.zip |
Updated to latest upstream release, closes bug 284730.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/rapidsvn')
-rw-r--r-- | dev-util/rapidsvn/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/rapidsvn/rapidsvn-0.10.0.ebuild | 106 |
2 files changed, 114 insertions, 1 deletions
diff --git a/dev-util/rapidsvn/ChangeLog b/dev-util/rapidsvn/ChangeLog index e962f1abc574..83e61e844450 100644 --- a/dev-util/rapidsvn/ChangeLog +++ b/dev-util/rapidsvn/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/rapidsvn # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/rapidsvn/ChangeLog,v 1.66 2009/08/01 15:42:52 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/rapidsvn/ChangeLog,v 1.67 2009/10/12 07:29:46 nerdboy Exp $ + +*rapidsvn-0.10.0 (12 Oct 2009) + + 12 Oct 2009; Steve Arnold <nerdboy@gentoo.org> +rapidsvn-0.10.0.ebuild: + Updated to latest upstream release, closes bug 284730. Re-enabled the + neon dav support, but it needs testing (the serf dav support is smooth + as the proverbial baby's butt...) 01 Aug 2009; Steve Arnold <nerdboy@gentoo.org> rapidsvn-0.9.8.ebuild: Added work-around for doxygen sandbox violation (no bug, yet...) due to diff --git a/dev-util/rapidsvn/rapidsvn-0.10.0.ebuild b/dev-util/rapidsvn/rapidsvn-0.10.0.ebuild new file mode 100644 index 000000000000..57c36b0d89fa --- /dev/null +++ b/dev-util/rapidsvn/rapidsvn-0.10.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/rapidsvn/rapidsvn-0.10.0.ebuild,v 1.1 2009/10/12 07:29:46 nerdboy Exp $ + +EAPI="2" +WANT_AUTOCONF="2.5" +inherit versionator eutils libtool autotools wxwidgets flag-o-matic fdo-mime + +MY_PV=$(get_version_component_range 1-2) +MY_RELEASE="1" + +DESCRIPTION="Cross-platform GUI front-end for the Subversion revision system." +HOMEPAGE="http://rapidsvn.tigris.org/" +SRC_URI="http://www.rapidsvn.org/download/release/${MY_PV}/${P}-${MY_RELEASE}.tar.gz" +LICENSE="GPL-2 LGPL-2.1 FDL-1.2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +COMMON_DEP="|| ( >=dev-util/subversion-1.5.0[webdav-serf] + >=dev-util/subversion-1.5.0[webdav-neon] + ) + >=x11-libs/wxGTK-2.6 + >=dev-libs/apr-1.2.10 + >=dev-libs/apr-util-1.2.10" + +DEPEND="${COMMON_DEP} + doc? ( dev-libs/libxslt + app-text/docbook-sgml-utils + app-doc/doxygen + app-text/docbook-xsl-stylesheets )" + +RDEPEND="${COMMON_DEP}" + +RESTRICT="" + +src_prepare() { + # Apparently we still need the --as-needed link patch... + #export EPATCH_OPTS="-F3 -l" + epatch "${FILESDIR}/${PN}-svncpp_link.patch" + epatch "${FILESDIR}/${PN}-0.9.8-sar.patch" + eautoreconf +} + +src_configure() { + local myconf + local apr_suffix="" + + if has_version ">dev-libs/apr-util-1"; then + apr_suffix="-1" + fi + + if use doc; then + myconf="--with-manpage=yes" + else + myconf="--without-xsltproc --with-manpage=no \ + --without-doxygen --without-dot" + fi + + local INST_WX=$(best_version x11-libs/wxGTK) + export WX_GTK_VER=$(get_version_component_range 1-2 \ + ${INST_WX/x11-libs\/wxGTK}) + + need-wxwidgets ansi + myconf="${myconf} --with-wx-config=${WX_CONFIG}" + + append-flags $( /usr/bin/apr${apr_suffix}-config --cppflags ) + + econf --with-svn-lib=/usr/$(get_libdir) \ + --with-svn-include=/usr/include \ + --with-apr-config="/usr/bin/apr${apr_suffix}-config" \ + --with-apu-config="/usr/bin/apu${apr_suffix}-config" \ + ${myconf} || die "econf failed" +} + +src_compile() { + ## doxygen made a sandbox error; no bug filed yet + if use doc; then + addpredict /var/cache/fontconfig + emake || die "emake failed" + fi +} + +src_install() { + einstall || die "einstall failed" + + doicon src/res/rapidsvn.ico + make_desktop_entry rapidsvn "RapidSVN ${PV}" \ + "/usr/share/pixmaps/rapidsvn.ico" \ + "RevisionControl;Development" + + dodoc HACKING.txt TRANSLATIONS + + if use doc ; then + dodoc AUTHORS CHANGES NEWS README + dohtml "${S}"/doc/svncpp/html/* + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |