Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 339230 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/eclass/go-mono.eclass (-8 / +8 lines)
Lines 9-21 Link Here
9
# @DESCRIPTION:
9
# @DESCRIPTION:
10
# Common functionality needed by all go-mono.org apps.
10
# Common functionality needed by all go-mono.org apps.
11
11
12
13
inherit base versionator mono
12
inherit base versionator mono
14
13
15
16
PRE_URI="http://mono.ximian.com/monobuild/preview/sources"
14
PRE_URI="http://mono.ximian.com/monobuild/preview/sources"
17
15
18
SVN_PN="${PN/mono-debugger/debugger}"
16
GIT_PN="${PN/mono-debugger/debugger}"
19
17
20
ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/mono"
18
ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/mono"
21
19
Lines 34-48 Link Here
34
elif [[ "${PV}" == "9999" ]]
32
elif [[ "${PV}" == "9999" ]]
35
then
33
then
36
	GO_MONO_P=${P}
34
	GO_MONO_P=${P}
37
	ESVN_REPO_URI="svn://anonsvn.mono-project.com/source/trunk/${SVN_PN}"
35
	EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
38
	SRC_URI=""
36
	SRC_URI=""
39
	inherit autotools subversion
37
	inherit autotools git
40
elif [[ "${PV%.9999}" != "${PV}" ]]
38
elif [[ "${PV%.9999}" != "${PV}" ]]
41
then
39
then
42
	GO_MONO_P=${P}
40
	GO_MONO_P=${P}
43
	ESVN_REPO_URI="svn://anonsvn.mono-project.com/source/branches/mono-$(get_version_component_range 1)-$(get_version_component_range 2)${GO_MONO_SUB_BRANCH}/${SVN_PN}"
41
	EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
42
	#TODO Test this
43
	EGIT_BRANCH="mono-$(get_version_component_range 1)-$(get_version_component_range 2)${GO_MONO_SUB_BRANCH}/"
44
	SRC_URI=""
44
	SRC_URI=""
45
	inherit autotools subversion
45
	inherit autotools git
46
else
46
else
47
	GO_MONO_P=${P}
47
	GO_MONO_P=${P}
48
	SRC_URI="http://ftp.novell.com/pub/mono/sources/${PN}/${P}.tar.bz2"
48
	SRC_URI="http://ftp.novell.com/pub/mono/sources/${PN}/${P}.tar.bz2"
Lines 75-81 Link Here
75
	if [[ "${PV%.9999}" != "${PV}" ||  "${PV}" == "9999" ]]
75
	if [[ "${PV%.9999}" != "${PV}" ||  "${PV}" == "9999" ]]
76
	then
76
	then
77
		default
77
		default
78
		subversion_src_unpack
78
		git_src_unpack
79
	else
79
	else
80
		default
80
		default
81
	fi
81
	fi

Return to bug 339230