--- /p/net-nntp/pan/pan-9999.ebuild 2009-04-12 01:07:53.000000000 -0700 +++ /l/p/net-nntp/pan/pan-9999.ebuild 2009-10-28 09:49:15.000000000 -0700 @@ -2,25 +2,34 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/pan-9999.ebuild,v 1.2 2008/10/04 11:11:38 eva Exp $ -inherit autotools subversion +# svn/git conversion courtesy Jack Cuyler, via Duncan +# see http://permalink.gmane.org/gmane.comp.gnome.apps.pan.user/11063 + +inherit autotools git DESCRIPTION="A newsreader for the Gnome2 desktop" HOMEPAGE="http://pan.rebelbase.com/" -ESVN_REPO_URI="http://svn.gnome.org/svn/pan2/trunk" -ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}" -# maximum svn update frequency, hours -ESVN_UP_FREQ="${ESVN_UP_FREQ:-1}" +EGIT_PROJECT="${PN}2" + +if use khaley ; then + EGIT_REPO_URI="git://github.com/lostcoder/${EGIT_PROJECT}.git" +else + EGIT_REPO_URI="git://git.gnome.org/${EGIT_PROJECT}" +fi + +EGIT_BOOTSTRAP="autogen.sh" +S="${WORKDIR}/${PN}2" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="spell" +IUSE="spell khaley" RDEPEND=">=dev-libs/glib-2.4.0 >=x11-libs/gtk+-2.4.0 >=dev-libs/libpcre-5.0 - =dev-libs/gmime-2.2* + khaley? ( =dev-libs/gmime-2.4* ) !khaley? ( =dev-libs/gmime-2.2* ) spell? ( >=app-text/gtkspell-2.0.7 )" DEPEND="${RDEPEND} @@ -32,7 +41,7 @@ DEPEND="${RDEPEND} Pnorm="${PN}-0.132" src_unpack() { - subversion_src_unpack + git_src_unpack cd "${S}" # bootstrap build system