Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 125009
Collapse All | Expand All

(-)rapidsvn-0.9.0-r1.ebuild (-15 / +18 lines)
Lines 6-21 Link Here
6
6
7
DESCRIPTION="Cross-platform GUI front-end for the Subversion revision system."
7
DESCRIPTION="Cross-platform GUI front-end for the Subversion revision system."
8
HOMEPAGE="http://rapidsvn.tigris.org/"
8
HOMEPAGE="http://rapidsvn.tigris.org/"
9
SRC_URI="http://www.rapidsvn.org/download/${P}.tar.gz
9
SRC_URI="http://www.rapidsvn.org/download/${P}.tar.gz"
10
		mirror://gentoo/nodoc-configure.patch.gz"
11
LICENSE="Apache-1.1"
10
LICENSE="Apache-1.1"
12
SLOT="0"
11
SLOT="0"
13
KEYWORDS="~x86 ~ppc ~sparc ~amd64"
12
KEYWORDS="~x86 ~ppc ~sparc ~amd64"
14
IUSE="doc static"
13
IUSE="doc static"
15
14
16
DEPEND="~net-misc/neon-0.24.7
15
DEPEND=">=net-misc/neon-0.24.7
17
	>=dev-util/subversion-1.2.0
16
	>=dev-util/subversion-1.2.0
18
	~x11-libs/wxGTK-2.4.2
17
	>=x11-libs/wxGTK-2.4.2
19
	doc? ( dev-libs/libxslt app-text/docbook-sgml-utils app-doc/doxygen app-text/docbook-xsl-stylesheets )"
18
	doc? ( dev-libs/libxslt app-text/docbook-sgml-utils app-doc/doxygen app-text/docbook-xsl-stylesheets )"
20
19
21
src_unpack() {
20
src_unpack() {
Lines 23-29 Link Here
23
	unpack ${A}
22
	unpack ${A}
24
	cd ${S}
23
	cd ${S}
25
	epatch ${FILESDIR}/svncpp_0.6.1_link.patch
24
	epatch ${FILESDIR}/svncpp_0.6.1_link.patch
26
	epatch ${WORKDIR}/nodoc-configure.patch
27
}
25
}
28
26
29
src_compile() {
27
src_compile() {
Lines 44-61 Link Here
44
	else
42
	else
45
		myconf="${myconf} --disable-static --enable-shared"
43
		myconf="${myconf} --disable-static --enable-shared"
46
	fi
44
	fi
47
	# look for wxgtk config file
45
	# look for wx-config-2.6
48
	if test -x /usr/bin/wxgtk2-2.4-config; then
46
	if (test -x /usr/bin/wx-config-2.6 && `/usr/bin/wx-config-2.6 --toolkit=gtk2 2>/dev/null` ); then
49
		myconf="${myconf} --with-wx-config=/usr/bin/wxgtk2-2.4-config"
47
		myconf="${myconf} --with-wx-config=/usr/bin/wx-config-2.6"
50
	else
48
	else
51
		ewarn "wxgtk2-2.4-config not found. Trying wxgtk-2.4-config..."
49
		ewarn "wx-config-2.6 not found. Trying wxgtk2-2.4-config..."
50
		# look for wxgtk config file
51
		if test -x /usr/bin/wxgtk2-2.4-config; then
52
			myconf="${myconf} --with-wx-config=/usr/bin/wxgtk2-2.4-config"
53
		else
54
			ewarn "wxgtk2-2.4-config not found. Trying wxgtk-2.4-config..."
55
			if test -x /usr/bin/wxgtk-2.4-config; then
56
				myconf="${myconf} --with-wx-config=/usr/bin/wxgtk-2.4-config"
57
			else
58
				ewarn "wxgtk-2.4-config not found. Compiling with default wxGTK."
59
			fi
60
	 	fi
52
	fi
61
	fi
53
	if test -x /usr/bin/wxgtk-2.4-config; then
54
		myconf="${myconf} --with-wx-config=/usr/bin/wxgtk-2.4-config"
55
	else
56
		ewarn "wxgtk-2.4-config not found. Compiling with default wxGTK."
57
	fi
58
59
	libtoolize --copy --force
62
	libtoolize --copy --force
60
	elibtoolize --portage
63
	elibtoolize --portage
61
	econf	--with-svn-lib=/usr/$(get_libdir) \
64
	econf	--with-svn-lib=/usr/$(get_libdir) \

Return to bug 125009