diff options
author | Martin Holzer <mholzer@gentoo.org> | 2004-04-22 14:24:31 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2004-04-22 14:24:31 +0000 |
commit | 404502e110aac27fa8db77df9453feebae3feafb (patch) | |
tree | f5dda1bf595e0737301ddf783e5948aae3e8bdca /net-p2p/bittornado | |
parent | stable on amd64 (Manifest recommit) (diff) | |
download | gentoo-2-404502e110aac27fa8db77df9453feebae3feafb.tar.gz gentoo-2-404502e110aac27fa8db77df9453feebae3feafb.tar.bz2 gentoo-2-404502e110aac27fa8db77df9453feebae3feafb.zip |
Version bumped.
Diffstat (limited to 'net-p2p/bittornado')
-rw-r--r-- | net-p2p/bittornado/ChangeLog | 7 | ||||
-rw-r--r-- | net-p2p/bittornado/Manifest | 8 | ||||
-rw-r--r-- | net-p2p/bittornado/bittornado-0.2.0.ebuild | 67 | ||||
-rw-r--r-- | net-p2p/bittornado/files/digest-bittornado-0.2.0 | 1 |
4 files changed, 79 insertions, 4 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog index 5438f234db50..9d180a63b670 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.7 2004/04/10 19:14:48 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.8 2004/04/22 14:24:30 mholzer Exp $ + +*bittornado-0.2.0 (22 Apr 2004) + + 22 Apr 2004; Martin Holzer <mholzer@gentoo.org> bittornado-0.2.0.ebuild: + Version bumped. 10 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> bittornado-0.1.4.ebuild: diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest index 18b1858ef829..113c25c11b89 100644 --- a/net-p2p/bittornado/Manifest +++ b/net-p2p/bittornado/Manifest @@ -1,8 +1,10 @@ MD5 65ad0fb7fac347fde1acade4338123fa bittornado-0.1.3.ebuild 1740 +MD5 5fd585874b85a62994779776e087893a bittornado-0.2.0.ebuild 1660 +MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 MD5 5fd585874b85a62994779776e087893a bittornado-0.1.4.ebuild 1660 -MD5 d8821b1dec9be921ddb1de21dd81a394 bittornado-0.0.1-r1.ebuild 1918 MD5 e1ed78b7af60d021052e50b73e6d55d6 ChangeLog 1482 -MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 -MD5 7e5f7bd9dad3e54d2c6a0a25947d28ca files/digest-bittornado-0.0.1-r1 68 +MD5 d8821b1dec9be921ddb1de21dd81a394 bittornado-0.0.1-r1.ebuild 1918 MD5 2d1d5d689f62fda3bb1a5add823c4381 files/digest-bittornado-0.1.3 68 +MD5 7e5f7bd9dad3e54d2c6a0a25947d28ca files/digest-bittornado-0.0.1-r1 68 +MD5 665ef382ea622c9b32b506053a3986bc files/digest-bittornado-0.2.0 68 MD5 16d6cc2e9327cc900ebc88f064ac428f files/digest-bittornado-0.1.4 68 diff --git a/net-p2p/bittornado/bittornado-0.2.0.ebuild b/net-p2p/bittornado/bittornado-0.2.0.ebuild new file mode 100644 index 000000000000..f44c3cb3d8c2 --- /dev/null +++ b/net-p2p/bittornado/bittornado-0.2.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +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" +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} + + # fixes wrong icons path + sed -i "s:os.path.abspath(os.path.dirname(os.path.realpath(sys.argv\[0\]))):\"${PIXMAPLOC}/\":" ${S}/btdownloadgui.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.2.0 b/net-p2p/bittornado/files/digest-bittornado-0.2.0 new file mode 100644 index 000000000000..1d34cdb51da3 --- /dev/null +++ b/net-p2p/bittornado/files/digest-bittornado-0.2.0 @@ -0,0 +1 @@ +MD5 14b40c51bd042bff1c89a71707eede3b BitTornado-0.2.0.tar.gz 160275 |