2010-01-16 08:02:33 +01:00
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
2009-12-05 16:42:56 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
WANT_AUTOMAKE=1.9
|
|
|
|
#ESVN_REPO_URI="https://forgesvn1.novell.com/svn/ifolder/trunk/ifolder/@${PV/3.8_pre/}"
|
|
|
|
#inherit mono eutils autotools subversion
|
|
|
|
inherit mono eutils autotools
|
|
|
|
|
|
|
|
DESCRIPTION="Novell iFolder"
|
|
|
|
HOMEPAGE="http://www.ifolder.com/"
|
2011-06-08 17:26:24 +02:00
|
|
|
SRC_URI="mirror://sourceforge/ifolder/iFolder%20Clients/3.8.0/${PN}.tar.gz -> ${P}.tar.gz
|
2010-05-10 20:43:24 +02:00
|
|
|
http://ftp.disconnected-by-peer.at/ifolder/${P}.tar.gz"
|
2009-12-05 16:42:56 +01:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2010-05-18 21:40:14 +02:00
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
2009-12-05 16:42:56 +01:00
|
|
|
|
|
|
|
IUSE=""
|
|
|
|
DEPEND=">=dev-lang/mono-2.4
|
|
|
|
>=dev-dotnet/gconf-sharp-2.0
|
|
|
|
>=dev-dotnet/gnome-sharp-2.0
|
|
|
|
>=dev-dotnet/gtk-sharp-2.0
|
|
|
|
>=net-misc/simias-1.8
|
|
|
|
>=net-libs/gsoap-2.7.1
|
|
|
|
!<net-misc/ifolder3-${PV}
|
|
|
|
!net-misc/ifolder"
|
|
|
|
|
|
|
|
RDEPEND=">=dev-lang/mono-2.2
|
|
|
|
>=dev-dotnet/gconf-sharp-2.0
|
|
|
|
>=dev-dotnet/gnome-sharp-2.0
|
|
|
|
>=dev-dotnet/gtk-sharp-2.0
|
|
|
|
>=net-misc/simias-1.8"
|
2011-06-08 17:26:24 +02:00
|
|
|
PDEPEND="net-misc/ifolder3-client-plugins"
|
2009-12-05 16:42:56 +01:00
|
|
|
|
2009-12-05 21:34:42 +01:00
|
|
|
#S="${WORKDIR}/${PN}"
|
2009-12-05 16:42:56 +01:00
|
|
|
|
2010-01-30 07:02:46 +01:00
|
|
|
pkg_setup() {
|
|
|
|
if [[ $(gcc-major-version) -eq 4 ]]; then
|
2010-01-30 08:00:15 +01:00
|
|
|
if [[ $(gcc-minor-version) -gt 3 ]]; then
|
2010-01-30 07:02:46 +01:00
|
|
|
eerror "ifolder3 requires <gcc-4.4 in order to work correctly"
|
|
|
|
eerror "please compile it switching to gcc-4.3."
|
|
|
|
die "gcc 4.4 cannot build ifolder3"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-12-05 16:42:56 +01:00
|
|
|
src_prepare() {
|
2010-01-16 17:06:59 +01:00
|
|
|
rm -rf dependencies
|
2009-12-05 16:42:56 +01:00
|
|
|
epatch "${FILESDIR}"/ifolder-3.7-desktop-file-categories.patch || die "Error applying patch"
|
2010-01-16 10:40:59 +01:00
|
|
|
epatch "${FILESDIR}"/ifolder-3.7-mono22-2.patch || die "Error applying patch"
|
2009-12-05 16:42:56 +01:00
|
|
|
epatch "${FILESDIR}"/ifolder-lib_name.dpatch || die "Error applying patch"
|
2009-12-05 17:36:45 +01:00
|
|
|
epatch "${FILESDIR}"/ifolder-3.7-use_system_gsoap.patch || die "Error applying patch"
|
2009-12-05 16:42:56 +01:00
|
|
|
epatch "${FILESDIR}"/ifolder-3.7-gnome-hack-1.patch || die "Error applying patch"
|
|
|
|
epatch "${FILESDIR}"/iFolderViewGroup.cs_log.diff || die "Error applying patch"
|
|
|
|
eautoreconf || die "eautoreconf failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf || die "configure failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
emake -j1 || die "build failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install || die "install failed"
|
|
|
|
}
|