Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-vcs/rapidsvn/, dev-vcs/rapidsvn/files/
Date: Tue, 31 Jan 2012 14:35:57
Message-Id: c2fa892edce45091244ccd9b6d51800831a605a5.jlec@gentoo
1 commit: c2fa892edce45091244ccd9b6d51800831a605a5
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 14:35:00 2012 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 14:35:00 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=c2fa892e
7
8 Add live ebuild
9
10 (Portage version: 2.2.0_alpha84/git/Linux x86_64, signed Manifest commit with key 70EB7916)
11
12 ---
13 dev-vcs/rapidsvn/ChangeLog | 10 ++
14 dev-vcs/rapidsvn/files/rapidsvn-svncpp_link.patch | 12 +++
15 dev-vcs/rapidsvn/metadata.xml | 7 ++
16 dev-vcs/rapidsvn/rapidsvn-9999.ebuild | 104 +++++++++++++++++++++
17 4 files changed, 133 insertions(+), 0 deletions(-)
18
19 diff --git a/dev-vcs/rapidsvn/ChangeLog b/dev-vcs/rapidsvn/ChangeLog
20 new file mode 100644
21 index 0000000..207b1b2
22 --- /dev/null
23 +++ b/dev-vcs/rapidsvn/ChangeLog
24 @@ -0,0 +1,10 @@
25 +# ChangeLog for dev-vcs/rapidsvn
26 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 +# $Header: $
28 +
29 +*rapidsvn-9999 (31 Jan 2012)
30 +
31 + 31 Jan 2012; Justin Lecher <jlec@g.o> +rapidsvn-9999.ebuild,
32 + +files/rapidsvn-svncpp_link.patch, +metadata.xml:
33 + Add live ebuild
34 +
35
36 diff --git a/dev-vcs/rapidsvn/files/rapidsvn-svncpp_link.patch b/dev-vcs/rapidsvn/files/rapidsvn-svncpp_link.patch
37 new file mode 100644
38 index 0000000..4df855f
39 --- /dev/null
40 +++ b/dev-vcs/rapidsvn/files/rapidsvn-svncpp_link.patch
41 @@ -0,0 +1,12 @@
42 +Index: src/svncpp/Makefile.am
43 +===================================================================
44 +--- src/svncpp/Makefile.am (revision 7100)
45 ++++ src/svncpp/Makefile.am (working copy)
46 +@@ -27,3 +27,7 @@
47 + url.cpp \
48 + wc.cpp
49 +
50 ++libsvncpp_la_LIBADD= $(SVN_LIBS) \
51 ++ $(NEON_LIBS) \
52 ++ $(APR_LIBS) \
53 ++ -lstdc++
54
55 diff --git a/dev-vcs/rapidsvn/metadata.xml b/dev-vcs/rapidsvn/metadata.xml
56 new file mode 100644
57 index 0000000..cc3fe24
58 --- /dev/null
59 +++ b/dev-vcs/rapidsvn/metadata.xml
60 @@ -0,0 +1,7 @@
61 +<?xml version="1.0" encoding="UTF-8"?>
62 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
63 +<pkgmetadata>
64 + <maintainer>
65 + <email>maintainer-wanted@g.o</email>
66 + </maintainer>
67 +</pkgmetadata>
68
69 diff --git a/dev-vcs/rapidsvn/rapidsvn-9999.ebuild b/dev-vcs/rapidsvn/rapidsvn-9999.ebuild
70 new file mode 100644
71 index 0000000..904d7f8
72 --- /dev/null
73 +++ b/dev-vcs/rapidsvn/rapidsvn-9999.ebuild
74 @@ -0,0 +1,104 @@
75 +# Copyright 1999-2012 Gentoo Foundation
76 +# Distributed under the terms of the GNU General Public License v2
77 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rapidsvn/rapidsvn-0.12.0.ebuild,v 1.4 2011/12/04 16:41:54 hwoarang Exp $
78 +
79 +EAPI=4
80 +
81 +WANT_AUTOCONF="2.5"
82 +WX_GTK_VER=2.8
83 +
84 +AUTOTOOLS_AUTORECONF=true
85 +
86 +inherit autotools-utils confutils fdo-mime flag-o-matic libtool subversion versionator wxwidgets
87 +
88 +MY_PV=$(get_version_component_range 1-2)
89 +MY_REL="1"
90 +
91 +DESCRIPTION="Cross-platform GUI front-end for the Subversion revision system."
92 +HOMEPAGE="http://rapidsvn.tigris.org/"
93 +#SRC_URI="http://www.rapidsvn.org/download/release/${MY_PV}/${P}-${MY_REL}.tar.gz"
94 +SRC_URI=""
95 +ESVN_USER="guest"
96 +ESVN_PASSWORD=""
97 +ESVN_OPTIONS="--no-auth-cache"
98 +ESVN_REPO_URI="http://rapidsvn.tigris.org/svn/rapidsvn/trunk"
99 +
100 +LICENSE="GPL-2 LGPL-2.1 FDL-1.2"
101 +SLOT="0"
102 +KEYWORDS=""
103 +IUSE="doc"
104 +
105 +COMMON_DEP="
106 + dev-libs/apr
107 + dev-libs/apr-util
108 + || (
109 + >=dev-vcs/subversion-1.7.0[webdav-neon]
110 + >=dev-vcs/subversion-1.7.0[webdav-serf] )
111 + x11-libs/wxGTK:2.8[X]"
112 +DEPEND="${COMMON_DEP}
113 + doc? (
114 + dev-libs/libxslt
115 + app-text/docbook-sgml-utils
116 + app-doc/doxygen
117 + app-text/docbook-xsl-stylesheets )"
118 +RDEPEND="${COMMON_DEP}"
119 +
120 +S="${WORKDIR}/${P}-${MY_REL}"
121 +
122 +PATCHES=( "${FILESDIR}/${PN}-svncpp_link.patch" )
123 +DOCS=( HACKING.txt TRANSLATIONS )
124 +
125 +pkg_setup() {
126 + wxwidgets_pkg_setup
127 +}
128 +
129 +src_prepare() {
130 + subversion_src_prepare
131 + autotools-utils_src_prepare
132 +}
133 +
134 +src_configure() {
135 + local myeconfargs=( --with-wx-config=${WX_CONFIG} )
136 + local apr_suffix="-1"
137 +
138 + if use doc; then
139 + myeconfargs+=( --with-manpage=yes )
140 + else
141 + myeconfargs+=(
142 + --without-xsltproc
143 + --with-manpage=no
144 + --without-doxygen
145 + --without-dot )
146 + fi
147 +
148 + append-flags $( "${EPREFIX}"/usr/bin/apr-1-config --cppflags )
149 +
150 + myeconfargs+=(
151 + --with-svn-lib="${EPREFIX}"/usr/$(get_libdir)
152 + --with-svn-include="${EPREFIX}"/usr/include
153 + --with-apr-config="${EPREFIX}/usr/bin/apr-1-config"
154 + --with-apu-config="${EPREFIX}/usr/bin/apu-1-config"
155 + )
156 + autotools-utils_src_configure
157 +}
158 +
159 +src_install() {
160 + autotools-utils_src_install
161 +
162 + doicon src/res/rapidsvn.ico
163 + make_desktop_entry rapidsvn "RapidSVN ${PV}" \
164 + "${EPREFIX}/usr/share/pixmaps/rapidsvn.ico" \
165 + "RevisionControl;Development"
166 +
167 + if use doc ; then
168 + dohtml "${S}"/doc/svncpp/html/*
169 + fi
170 +}
171 +
172 +pkg_postinst() {
173 + fdo-mime_desktop_database_update
174 +}
175 +
176 +pkg_postrm() {
177 + fdo-mime_desktop_database_update
178 +}