summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-05-16 14:20:53 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-05-16 14:20:53 +0000
commit05792359460b6eef57139efbb31aa20c1aa44ead (patch)
tree4b950f95988b412f99e0591e390d854d8054230e /net-p2p/bittornado
parentAdded ~mips keyword. (Manifest recommit) (diff)
downloadgentoo-2-05792359460b6eef57139efbb31aa20c1aa44ead.tar.gz
gentoo-2-05792359460b6eef57139efbb31aa20c1aa44ead.tar.bz2
gentoo-2-05792359460b6eef57139efbb31aa20c1aa44ead.zip
Version bumped. Closes 51194
Diffstat (limited to 'net-p2p/bittornado')
-rw-r--r--net-p2p/bittornado/ChangeLog7
-rw-r--r--net-p2p/bittornado/Manifest6
-rw-r--r--net-p2p/bittornado/bittornado-0.3.0.ebuild72
-rw-r--r--net-p2p/bittornado/files/digest-bittornado-0.3.01
4 files changed, 83 insertions, 3 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog
index 2119664dd407..47eca4c0a305 100644
--- a/net-p2p/bittornado/ChangeLog
+++ b/net-p2p/bittornado/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/bittornado
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.9 2004/04/22 22:05:53 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.10 2004/05/16 14:20:53 mholzer Exp $
+
+*bittornado-0.3.0 (16 May 2004)
+
+ 16 May 2004; Martin Holzer <mholzer@gentoo.org> bittornado-0.3.0.ebuild:
+ Version bumped. Closes 51194
23 Apr 2004; David Holm <dholm@gentoo.org> bittornado-0.2.0.ebuild:
Added to ~ppc.
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest
index 09d5cf682b56..15eaa2658d99 100644
--- a/net-p2p/bittornado/Manifest
+++ b/net-p2p/bittornado/Manifest
@@ -1,6 +1,8 @@
-MD5 e018c0ceb9a5538e1e5369d70ab20528 ChangeLog 1692
-MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 83c2494af12cdb5b60839b64e7c03ac1 bittornado-0.3.0.ebuild 1784
MD5 83c2494af12cdb5b60839b64e7c03ac1 bittornado-0.2.0.ebuild 1784
+MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
MD5 1b87e2b3a8e45fdfd147a2efde4751e2 bittornado-0.1.4.ebuild 1778
+MD5 e018c0ceb9a5538e1e5369d70ab20528 ChangeLog 1692
MD5 665ef382ea622c9b32b506053a3986bc files/digest-bittornado-0.2.0 68
MD5 16d6cc2e9327cc900ebc88f064ac428f files/digest-bittornado-0.1.4 68
+MD5 28f41e964823c678f90c061fa88bcbe5 files/digest-bittornado-0.3.0 68
diff --git a/net-p2p/bittornado/bittornado-0.3.0.ebuild b/net-p2p/bittornado/bittornado-0.3.0.ebuild
new file mode 100644
index 000000000000..44d39bcdc5da
--- /dev/null
+++ b/net-p2p/bittornado/bittornado-0.3.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.0.ebuild,v 1.1 2004/05/16 14:20:53 mholzer Exp $
+
+inherit distutils
+inherit eutils
+
+MY_PN="BitTornado"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="TheShad0w's experimental BitTorrent client"
+HOMEPAGE="http://www.bittornado.com/"
+SRC_URI="http://e.scarywater.net/bt/download/${MY_P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="X"
+
+RDEPEND="X? ( >=dev-python/wxPython-2.2 )
+ >=dev-lang/python-2.0
+ !virtual/bittorrent"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4.0.5"
+
+PROVIDE="virtual/bittorrent"
+
+S="${WORKDIR}/${MY_PN}-CVS"
+PIXMAPLOC="/usr/share/pixmaps/bittornado"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # fixes wrong icons path
+ sed -i "s:os.path.abspath(os.path.dirname(os.path.realpath(sys.argv\[0\]))):\"${PIXMAPLOC}/\":" btdownloadgui.py
+
+ #Fix to get installed
+ sed -i 's:"btdownloadlibrary.py",::' setup.py
+}
+
+src_install() {
+ distutils_src_install
+
+ dodir etc
+ cp -a /etc/mailcap ${D}/etc/
+ MAILCAP_STRING="application/x-bittorrent; /usr/bin/btdownloadgui.py '%s'; test=test -n \"\$DISPLAY\""
+
+ rm ${D}/usr/bin/*.ico
+ rm ${D}/usr/bin/*.gif
+
+ if use X; then
+ dodir ${PIXMAPLOC}
+ insinto ${PIXMAPLOC}
+ doins *.ico *.gif
+ if [ -n "`grep 'application/x-bittorrent' ${D}/etc/mailcap`" ]; then
+ # replace bittorrent entry if it already exists
+ einfo "updating bittorrent mime info"
+ sed -i "s,application/x-bittorrent;.*,${MAILCAP_STRING}," ${D}/etc/mailcap
+ else
+ # add bittorrent entry if it doesn't exist
+ einfo "adding bittorrent mime info"
+ echo "${MAILCAP_STRING}" >> ${D}/etc/mailcap
+ fi
+ else
+ # get rid of any reference to the not-installed gui version
+ sed -i '/btdownloadgui/d' ${D}/etc/mailcap
+ rm ${D}/usr/bin/*gui.py
+ fi
+}
+
diff --git a/net-p2p/bittornado/files/digest-bittornado-0.3.0 b/net-p2p/bittornado/files/digest-bittornado-0.3.0
new file mode 100644
index 000000000000..2ffdc65845f0
--- /dev/null
+++ b/net-p2p/bittornado/files/digest-bittornado-0.3.0
@@ -0,0 +1 @@
+MD5 0e5ee2a132565a3faf292376870b29b8 BitTornado-0.3.0.tar.gz 173958