summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-01-31 16:20:08 +0000
committerJustin Lecher <jlec@gentoo.org>2012-01-31 16:20:08 +0000
commitc8fda780ba12d002385a6d72e032215ec6758860 (patch)
tree35b068fcdcf1493782e903eec7f2a5f3273c8ce8 /dev-vcs
parentTrim usb.ids.gz file since the package currently lacks the plumbing to proper... (diff)
downloadhistorical-c8fda780ba12d002385a6d72e032215ec6758860.tar.gz
historical-c8fda780ba12d002385a6d72e032215ec6758860.tar.bz2
historical-c8fda780ba12d002385a6d72e032215ec6758860.zip
Added myself as maintainer, upgraded to EAPI=4 to drop built_with_use (#305365), thanks agostino for the patch #390469; dropped old
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/rapidsvn/ChangeLog9
-rw-r--r--dev-vcs/rapidsvn/Manifest26
-rw-r--r--dev-vcs/rapidsvn/metadata.xml18
-rw-r--r--dev-vcs/rapidsvn/rapidsvn-0.10.0.ebuild113
-rw-r--r--dev-vcs/rapidsvn/rapidsvn-0.12.0.ebuild104
-rw-r--r--dev-vcs/rapidsvn/rapidsvn-0.9.8.ebuild113
6 files changed, 67 insertions, 316 deletions
diff --git a/dev-vcs/rapidsvn/ChangeLog b/dev-vcs/rapidsvn/ChangeLog
index 96d7757763af..4bb23ce9d998 100644
--- a/dev-vcs/rapidsvn/ChangeLog
+++ b/dev-vcs/rapidsvn/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-vcs/rapidsvn
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rapidsvn/ChangeLog,v 1.4 2011/12/04 16:41:54 hwoarang Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rapidsvn/ChangeLog,v 1.5 2012/01/31 16:20:08 jlec Exp $
+
+ 31 Jan 2012; Justin Lecher <jlec@gentoo.org> -rapidsvn-0.9.8.ebuild,
+ -rapidsvn-0.10.0.ebuild, rapidsvn-0.12.0.ebuild, metadata.xml:
+ Added myself as maintainer, upgraded to EAPI=4 to drop built_with_use
+ (#305365), thanks agostino for the patch #390469; dropped old
04 Dec 2011; Markos Chandras <hwoarang@gentoo.org> rapidsvn-0.12.0.ebuild:
Stable on amd64 wrt bug #377737
diff --git a/dev-vcs/rapidsvn/Manifest b/dev-vcs/rapidsvn/Manifest
index 1c583a562141..085b98b875fc 100644
--- a/dev-vcs/rapidsvn/Manifest
+++ b/dev-vcs/rapidsvn/Manifest
@@ -4,30 +4,16 @@ Hash: SHA512
AUX rapidsvn-0.9.8-sar.patch 955 RMD160 872c2307abee59bc2b2d63866b8d72ec81600e08 SHA1 0682da8f3dcd41019c780f749b1087ba22793311 SHA256 485eca96c9d393baffec28443eb7f32fe577d9a12533c0797ca61f67380c4b0e
AUX rapidsvn-sar.patch 931 RMD160 ba28d6ccfd86553b4963d611593812db6005ae4c SHA1 175d1609f2e9cfb7f0f6e832ee168869760b442e SHA256 0690d1c3c516e32138225ca60c74a157632eab7358f5d8cbdd374f7b5d1c5782
AUX rapidsvn-svncpp_link.patch 304 RMD160 3d2b6f48e46e3c5e39a499589043aa09de60d8c6 SHA1 9752592941c10d71f94680ff97e925fee66bc890 SHA256 99a4690987be6f39400a737ca12762495621fc2789fed18c5d9903a8d87ae968
-DIST rapidsvn-0.10.0-1.tar.gz 1243876 RMD160 238244d31c03485fb24c2b0fb3ada2b8ea9e5316 SHA1 bbac1027bcbf3130d4946fae874ee1177af764be SHA256 b818a9c762173106f7e0e21316e49d0f65983c58e8ba9c2db3fad873f7985e28
DIST rapidsvn-0.12.0-1.tar.gz 1246675 RMD160 2c6e28f5b3a6450cfb8a749fc27490877ccdfa40 SHA1 b25820ee98517b2b070c9b5a3a18463607799081 SHA256 ef7d0db528ba5c660f8e8ce4dd7b6d098707b43b04932257e092a6d4ab746ac4
DIST rapidsvn-0.9.6.tar.gz 1205771 RMD160 060a66d3f268f9a4018f01a9541df2a3394ed7b8 SHA1 266f846437e3bbce1707799ec0d95c2d1be43b4a SHA256 4e026b0e7a56b2a0ba4cd12b1ee224c8d0645e98eb5b682078220f912513b36d
-DIST rapidsvn-0.9.8.tar.gz 1212108 RMD160 a1614daff3631536c3eb0a14c279f0581b257fbf SHA1 22d145d2d686841da100d45789a663c70e325a3c SHA256 9af7462559d8a600a1b54ac19a79c111691818969e193a06080c9d9306b32b13
-EBUILD rapidsvn-0.10.0.ebuild 2829 RMD160 bdbfdfde3c4644193a02c27464cf280639599586 SHA1 0cb02faab6465368f630ca535de57c3cf3f63fa4 SHA256 ca87a34a3f8e28417fd2650e0000ed22b0953ef4d5740339354f9aabbcc4ff30
-EBUILD rapidsvn-0.12.0.ebuild 2746 RMD160 d616183a85e5147c8e84dd00bf12e3cece5f3f4c SHA1 c25179b2ea4424e7de659444790bf728eaece3ac SHA256 0638b18d98849646512c2b4938757eeea55a11b7368d5ae70a43a0d59054e062
+EBUILD rapidsvn-0.12.0.ebuild 2170 RMD160 5dacbb7f2b2c0845d56a9f4189965221c990af7d SHA1 83f704569fa58d496fc254cc9df8dcd366b9c5e7 SHA256 3e4de1a950fca457e1359acbd727f743f81db59fe24cd4221c5f50b66e90de27
EBUILD rapidsvn-0.9.6-r1.ebuild 3166 RMD160 de794e3d9f315ee286f04ab4a67d191f1d11cea8 SHA1 e5421c8773ac629eaa6db1f00182e4fd9f0df846 SHA256 e334413abb3449220da4a79796fc7a299ce99851043b740f0bfeb6901dd68f51
-EBUILD rapidsvn-0.9.8.ebuild 2997 RMD160 43ded0e159c08c0e8fd37c177b42b770c5ab1742 SHA1 4c097bcfae69b565354e7344f3a3e145be54d3f5 SHA256 cf316c04c03a0380f182d3988dc4efcd5433d596cbed99ceb3f340ab0753610d
-MISC ChangeLog 12837 RMD160 676bfd1797ee7ad3a2c4e91c299917ef3ce64b65 SHA1 b35c8d008b561e83ea54cb3a37930cdf11472639 SHA256 1e3f3ed42b90699c6fb7aabddeda5cf4dc23163b791f728ecbf3829fa45ab93a
-MISC metadata.xml 518 RMD160 b9c97307a72d2c0ae05deb166229ffc603d8855b SHA1 6b9c6a8c99c7dd184cf048b4e306f0a0e5f81788 SHA256 b7e173df02d2585da2771a95e6acd8ae824e61887087747d227b9ea07bf0b435
+MISC ChangeLog 13106 RMD160 3c8a86d12ba9d0b7916a60b86da02c17dc6401d5 SHA1 76f47bb1f42543755f681467ae8f4fbf2dca0bbd SHA256 44d6a184ac3a63c590167c81b03afb8c8472d76073c60e87e06b78110b635aaf
+MISC metadata.xml 613 RMD160 5bca2af37b01e39c021353be496523039f06e57a SHA1 3df23374b306edb2b6ec56c5299af42f0507ec5f SHA256 9f428d703ffd0b092ee13aa5619c2bbc70271da01a9f15cd578feb5a13d02213
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBCgAGBQJO26LSAAoJEPqDWhW0r/LCCNUP/jY0pL1EimlvN8f7a4L66Mu8
-q+9ZYv0e+h7ApG16GQSzadvzsG9wlwqUkQvDVNxR5GxyMTQm//cGULD+NIi6RMo9
-TG2TG+E/mOXXYmpwv5xoUxxlrTpquokfZbHG42oNubW2EGlZDS1cYwmxuzw7LTg0
-TOg8i5VgAfnW54wM3AdeGZBXQavYFHHGxIcEuFrxbev3FuZfjjL/K12Dwc1S66+s
-UBsN1kpCurr/jd8q8CtR1D6hy61loFQRPHbNQ1RBMeoDQOlwOytJ7qiJbfIEaBvA
-/PJIeYRsi0xBwQk011B3mYEOIp00RifSLSNVKfuVJ/a3O5nNHH4ic6N6t6sjAO1b
-9AW2bmXoiI32t0UZxSw2SBXhEgi9mK0fRlkCn3TmoZZa+6dqqJ3K0jIn20w2Mj73
-lCaP78/MgaZWvAd3WdPvD/p49btvgzejaXqJTvOaOtgH/kYrXNPUAsenRhKgJhan
-mEcJGFEp41vq9jV2508w6pgqzzXoYNNseRuAr7q4Gw+pPqFAQugvng/mBdUM0o93
-tOn/kQDfFpKb9ER41dPucI7X21fzbeJvfjoAsnF/B6WdJonRO+cLtk0/oLXWNFg1
-HnqQKocsPf6fDlFBeGonA2kmDTBeZA5zEyXoLX8bIFhh5tIOrIY/jaiiJiAXfMgG
-JAahCh0ShqyGp+jkLx2o
-=Y2TJ
+iEYEAREKAAYFAk8oFL4ACgkQgAnW8HDreRZVqQCgqZgz4+4L/sqHWcRnCy3BUYgL
+jAAAoI4qXYh431mH6fgwcnrt52bTE/EB
+=ANoV
-----END PGP SIGNATURE-----
diff --git a/dev-vcs/rapidsvn/metadata.xml b/dev-vcs/rapidsvn/metadata.xml
index 2aae4d1bc863..e3bb7ca21257 100644
--- a/dev-vcs/rapidsvn/metadata.xml
+++ b/dev-vcs/rapidsvn/metadata.xml
@@ -1,13 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>dev-tools</herd>
-<maintainer>
- <email>nerdboy@gentoo.org</email>
- <name>Steve Arnold</name>
- <description>Primary Maintainer</description>
-</maintainer>
-<longdescription>
+ <herd>dev-tools</herd>
+ <maintainer>
+ <email>nerdboy@gentoo.org</email>
+ <name>Steve Arnold</name>
+ <description>Primary Maintainer</description>
+ </maintainer>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ <name>Justin Lecher</name>
+ </maintainer>
+ <longdescription>
RapidSVN is a cross-platform GUI front-end for the Subversion revision system written in C++ using the wxWidgets framework. This project also includes a Subversion client C++ API.
</longdescription>
</pkgmetadata>
diff --git a/dev-vcs/rapidsvn/rapidsvn-0.10.0.ebuild b/dev-vcs/rapidsvn/rapidsvn-0.10.0.ebuild
deleted file mode 100644
index 3a8c29c05ee6..000000000000
--- a/dev-vcs/rapidsvn/rapidsvn-0.10.0.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rapidsvn/rapidsvn-0.10.0.ebuild,v 1.1 2011/02/10 21:35:45 ulm Exp $
-
-EAPI="2"
-
-WANT_AUTOCONF="2.5"
-WX_GTK_VER=2.8
-inherit versionator confutils 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-vcs/subversion-1.5.0[webdav-serf]
- >=dev-vcs/subversion-1.5.0[webdav-neon]
- )
- x11-libs/wxGTK:2.8[X]
- >=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=""
-
-pkg_setup() {
- einfo "Checking for subversion compiled with WebDAV support..."
- confutils_require_built_with_any \
- dev-vcs/subversion webdav-serf webdav-neon
- einfo "Found WebDAV support; continuing..."
-
- # if you compiled subversion without (the) apache2 (flag) and with the
- # berkdb flag, you may get an error that it can't find the lib db4
- # Note: this should be fixed in rapidsvn 0.9.3 and later
-
- # check for the proper wxGTK support
- need-wxwidgets unicode
-}
-
-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
-
- 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() {
- emake || die "emake failed"
-}
-
-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
-}
diff --git a/dev-vcs/rapidsvn/rapidsvn-0.12.0.ebuild b/dev-vcs/rapidsvn/rapidsvn-0.12.0.ebuild
index bf7aabdf85de..15b8d61960e8 100644
--- a/dev-vcs/rapidsvn/rapidsvn-0.12.0.ebuild
+++ b/dev-vcs/rapidsvn/rapidsvn-0.12.0.ebuild
@@ -1,104 +1,86 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rapidsvn/rapidsvn-0.12.0.ebuild,v 1.4 2011/12/04 16:41:54 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rapidsvn/rapidsvn-0.12.0.ebuild,v 1.5 2012/01/31 16:20:08 jlec Exp $
-EAPI="2"
+EAPI=4
WANT_AUTOCONF="2.5"
WX_GTK_VER=2.8
-inherit versionator confutils libtool autotools wxwidgets flag-o-matic fdo-mime
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils fdo-mime flag-o-matic libtool versionator wxwidgets
MY_PV=$(get_version_component_range 1-2)
MY_REL="1"
-DESCRIPTION="Cross-platform GUI front-end for the Subversion revision system."
+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_REL}.tar.gz"
+
LICENSE="GPL-2 LGPL-2.1 FDL-1.2"
SLOT="0"
-KEYWORDS="amd64 ppc ppc64 ~sparc x86"
-IUSE="doc"
-
-COMMON_DEP=">=dev-vcs/subversion-1.5.0
- x11-libs/wxGTK:2.8[X]
- >=dev-libs/apr-1.2.10
- >=dev-libs/apr-util-1.2.10"
-
+KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+COMMON_DEP="
+ dev-libs/apr
+ dev-libs/apr-util
+ || (
+ dev-vcs/subversion[webdav-neon]
+ dev-vcs/subversion[webdav-serf] )
+ x11-libs/wxGTK:2.8[X]"
DEPEND="${COMMON_DEP}
- doc? ( dev-libs/libxslt
+ doc? (
+ dev-libs/libxslt
app-text/docbook-sgml-utils
app-doc/doxygen
app-text/docbook-xsl-stylesheets )"
-
RDEPEND="${COMMON_DEP}"
-RESTRICT=""
-
S="${WORKDIR}/${P}-${MY_REL}"
-pkg_setup() {
- einfo "Checking for subversion compiled with WebDAV support..."
- confutils_require_built_with_any \
- dev-vcs/subversion webdav-serf webdav-neon
- einfo "Found WebDAV support; continuing..."
-
- # if you compiled subversion without (the) apache2 (flag) and with the
- # berkdb flag, you may get an error that it can't find the lib db4
- # Note: this should be fixed in rapidsvn 0.9.3 and later
+PATCHES=( "${FILESDIR}/${PN}-svncpp_link.patch" )
+AUTOTOOLS_IN_SOURCE_BUILD=1
+DOCS=( HACKING.txt TRANSLATIONS )
- # check for the proper wxGTK support
- need-wxwidgets unicode
-}
-
-src_prepare() {
- # Apparently we still need the --as-needed link patch...
- #export EPATCH_OPTS="-F3 -l"
- epatch "${FILESDIR}/${PN}-svncpp_link.patch"
- eautoreconf
+pkg_setup() {
+ wxwidgets_pkg_setup
}
src_configure() {
- local myconf
- local apr_suffix=""
-
- if has_version ">dev-libs/apr-util-1"; then
- apr_suffix="-1"
- fi
+ local myeconfargs=( --with-wx-config=${WX_CONFIG} )
if use doc; then
- myconf="--with-manpage=yes"
+ myeconfargs+=( --with-manpage=yes )
else
- myconf="--without-xsltproc --with-manpage=no \
- --without-doxygen --without-dot"
+ myeconfargs+=(
+ --without-xsltproc
+ --with-manpage=no
+ --without-doxygen
+ --without-dot )
fi
- myconf="${myconf} --with-wx-config=${WX_CONFIG}"
+ append-flags $( "${EPREFIX}"/usr/bin/apr-1-config --cppflags )
- 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() {
- emake || die "emake failed"
+ myeconfargs+=(
+ --with-svn-lib="${EPREFIX}"/usr/$(get_libdir)
+ --with-svn-include="${EPREFIX}"/usr/include
+ --with-apr-config="${EPREFIX}/usr/bin/apr-1-config"
+ --with-apu-config="${EPREFIX}/usr/bin/apu-1-config"
+ )
+ autotools-utils_src_configure
}
src_install() {
- einstall || die "einstall failed"
+ autotools-utils_src_install
doicon src/res/rapidsvn.ico
make_desktop_entry rapidsvn "RapidSVN ${PV}" \
- "/usr/share/pixmaps/rapidsvn.ico" \
+ "${EPREFIX}/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
}
diff --git a/dev-vcs/rapidsvn/rapidsvn-0.9.8.ebuild b/dev-vcs/rapidsvn/rapidsvn-0.9.8.ebuild
deleted file mode 100644
index a9f854b62fed..000000000000
--- a/dev-vcs/rapidsvn/rapidsvn-0.9.8.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rapidsvn/rapidsvn-0.9.8.ebuild,v 1.1 2011/02/10 21:35:45 ulm Exp $
-
-WANT_AUTOCONF="2.5"
-WX_GTK_VER=2.8
-inherit versionator eutils libtool autotools wxwidgets flag-o-matic fdo-mime
-
-DESCRIPTION="Cross-platform GUI front-end for the Subversion revision system."
-HOMEPAGE="http://rapidsvn.tigris.org/"
-SRC_URI="http://www.rapidsvn.org/download/release/${PV}/${P}.tar.gz"
-LICENSE="GPL-2 LGPL-2.1 FDL-1.2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc"
-
-COMMON_DEP=">=dev-vcs/subversion-1.5.0
- =x11-libs/wxGTK-2.8*
- >=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=""
-
-pkg_setup() {
- einfo "Checking for subversion compiled with WebDAV support..."
- if ! built_with_use --missing true -o dev-vcs/subversion webdav-neon webdav-serf || \
- built_with_use --missing false dev-vcs/subversion nowebdav; then
- ewarn "SVN (dev-vcs/subversion) must be compiled with WebDAV support."
- ewarn "Please re-emerge subversion with webdav-neon or webdav-serf USE flag"
- ewarn "and without the nowebdav USE flag."
- die "SVN merged without WebDAV support"
- else
- einfo "Found WebDAV support; continuing..."
- fi
-
- # if you compiled subversion without (the) apache2 (flag) and with the
- # berkdb flag, you will get an error that it can't find the lib db4
- # Note: this should be fixed in rapidsvn 0.9.3 and later
-
- # check for the proper wxGTK support
- need-wxwidgets unicode
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Apparently we still need the --as-needed link patch...
- #export EPATCH_OPTS="-F3 -l"
- epatch "${FILESDIR}/${PN}-svncpp_link.patch"
- epatch "${FILESDIR}/${P}-sar.patch"
- eautoreconf
-}
-
-src_compile() {
- 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
-
- 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"
-
- emake || die "emake failed"
-}
-
-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
-}