summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-01-24 22:13:52 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-01-24 22:13:52 +0000
commitcaf68544670805f5264e3d8dddcaba93d180e341 (patch)
tree5631dd52d50484963b581e0c7cbfd6ea6845fcf4 /net-p2p/sancho-bin
parentVersion bump to 0.4.0 . Bug #153332 (diff)
downloadgentoo-2-caf68544670805f5264e3d8dddcaba93d180e341.tar.gz
gentoo-2-caf68544670805f5264e3d8dddcaba93d180e341.tar.bz2
gentoo-2-caf68544670805f5264e3d8dddcaba93d180e341.zip
Version bump
(Portage version: 2.1.2-r3)
Diffstat (limited to 'net-p2p/sancho-bin')
-rw-r--r--net-p2p/sancho-bin/ChangeLog9
-rw-r--r--net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.583
-rw-r--r--net-p2p/sancho-bin/files/sancho-bin-0.9.4.58-ignore-homedir-check.patch25
-rw-r--r--net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild68
4 files changed, 104 insertions, 1 deletions
diff --git a/net-p2p/sancho-bin/ChangeLog b/net-p2p/sancho-bin/ChangeLog
index e3fb11189c32..644d68300ada 100644
--- a/net-p2p/sancho-bin/ChangeLog
+++ b/net-p2p/sancho-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-p2p/sancho-bin
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/sancho-bin/ChangeLog,v 1.35 2007/01/16 11:14:25 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/sancho-bin/ChangeLog,v 1.36 2007/01/24 22:13:52 armin76 Exp $
+
+*sancho-bin-0.9.4.58 (24 Jan 2007)
+
+ 24 Jan 2007; Raúl Porcel <armin76@gentoo.org>
+ +files/sancho-bin-0.9.4.58-ignore-homedir-check.patch,
+ +sancho-bin-0.9.4.58.ebuild:
+ Version bump
16 Jan 2007; Raúl Porcel <armin76@gentoo.org> sancho-bin-0.9.4.57.ebuild:
stable x86, bug 140812
diff --git a/net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.58 b/net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.58
new file mode 100644
index 000000000000..69a56b9eadf8
--- /dev/null
+++ b/net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.58
@@ -0,0 +1,3 @@
+MD5 c2d79236e10162a201e49080571a6a0d sancho-0.9.4-58-linux-gtk.sh 5517697
+RMD160 8dd49b9e9fbd726c197c0ac2d16ec05d8cd33dec sancho-0.9.4-58-linux-gtk.sh 5517697
+SHA256 0264739aff3cc8d5c01d695bd26d2fdfe248d121d46ad8911964a84ddf151c0f sancho-0.9.4-58-linux-gtk.sh 5517697
diff --git a/net-p2p/sancho-bin/files/sancho-bin-0.9.4.58-ignore-homedir-check.patch b/net-p2p/sancho-bin/files/sancho-bin-0.9.4.58-ignore-homedir-check.patch
new file mode 100644
index 000000000000..baf59eaf7d43
--- /dev/null
+++ b/net-p2p/sancho-bin/files/sancho-bin-0.9.4.58-ignore-homedir-check.patch
@@ -0,0 +1,25 @@
+--- sancho-0.9.4-58-linux-gtk.sh.old 2006-11-01 12:12:25.000000000 +0100
++++ sancho-0.9.4-58-linux-gtk.sh 2006-11-01 12:13:00.000000000 +0100
+@@ -365,15 +365,15 @@
+ echo
+
+ cd "$tmpdir"
+-if test x"/home/three" != x; then
+- sanchodir=$HOME/.sancho
+- mkdir -p "$sanchodir" || {
+- echo "Could not create $sanchodir" >&2
+- exit 1
+- }
+- echo "Copying language files to $sanchodir ..."
+- cp distrib/*.properties "$sanchodir"
+-fi
++#if test x"/home/three" != x; then
++# sanchodir=$HOME/.sancho
++# mkdir -p "$sanchodir" || {
++# echo "Could not create $sanchodir" >&2
++# exit 1
++# }
++# echo "Copying language files to $sanchodir ..."
++# cp distrib/*.properties "$sanchodir"
++#fi
+
diff --git a/net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild b/net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild
new file mode 100644
index 000000000000..e2a03090746d
--- /dev/null
+++ b/net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild,v 1.1 2007/01/24 22:13:52 armin76 Exp $
+
+inherit eutils
+
+MY_P=${P/-bin/}
+MY_P=${MY_P%.*}-${MY_P##*.}
+
+DESCRIPTION="a powerful frontend for mldonkey"
+HOMEPAGE="http://sancho-gui.sourceforge.net/"
+SRC_URI="mirror://gentoo/${MY_P}-linux-gtk.sh"
+RESTRICT="strip"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="CPL-1.0 LGPL-2.1"
+
+DEPEND="virtual/libc
+ || ( ( x11-libs/libXxf86vm
+ x11-libs/libXext
+ x11-libs/libX11
+ ) virtual/x11 )
+ >=x11-libs/gtk+-2
+ >=net-libs/linc-1.0.3
+ amd64? ( >=app-emulation/emul-linux-x86-baselibs-1.0
+ >=app-emulation/emul-linux-x86-gtklibs-1.0 )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ cp "${DISTDIR}/sancho-0.9.4-58-linux-gtk.sh" .
+ epatch "${FILESDIR}/${P}-ignore-homedir-check.patch"
+ sh sancho-0.9.4-58-linux-gtk.sh --target .
+}
+
+src_compile() {
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ dodir /opt/sancho
+ dodir /opt/bin
+
+ cd "${S}"
+ cp -dpR sancho distrib lib ${D}/opt/sancho
+
+ exeinto /opt/sancho
+ newexe sancho sancho-bin
+
+ exeinto /opt/bin
+ newexe ${FILESDIR}/sancho.sh sancho
+
+ dodir /etc/env.d
+ echo -e "PATH=/opt/sancho\n" > ${D}/etc/env.d/20sancho
+
+ insinto /etc/revdep-rebuild
+ doins ${FILESDIR}/50-${PN}
+
+ make_desktop_entry sancho sancho /opt/sancho/distrib/sancho-32.xpm
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Sancho requires the presence of a p2p core, like"
+ einfo "net-p2p/mldonkey, in order to operate."
+ einfo
+}