Version bumped
authorMartin Holzer <mholzer@gentoo.org>
Tue, 1 Nov 2005 17:26:56 +0000 (17:26 +0000)
committerMartin Holzer <mholzer@gentoo.org>
Tue, 1 Nov 2005 17:26:56 +0000 (17:26 +0000)
Package-Manager: portage-2.0.51.22-r3

net-p2p/bittornado/ChangeLog
net-p2p/bittornado/Manifest
net-p2p/bittornado/bittornado-0.3.14.ebuild [new file with mode: 0644]
net-p2p/bittornado/files/digest-bittornado-0.3.14 [new file with mode: 0644]

index a16d8d9848c14ef5dcb280aa22fc3d0eace2c4aa..d1dcc8a2da0f841bf1f5cab249f630e74dadc197 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-p2p/bittornado
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.43 2005/10/03 00:13:07 mkay Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.44 2005/11/01 17:26:56 mholzer Exp $
+
+*bittornado-0.3.14 (01 Nov 2005)
+
+  01 Nov 2005; Martin Holzer <mholzer@gentoo.org> +bittornado-0.3.14.ebuild:
+  Version bumped
 
 *bittornado-0.3.13 (03 Oct 2005)
 
index b3f3f3dcbfe62a2851da6a0c28bb71f3849529e2..9db0dd064703ecc6cf30d61964c8a5831971f9da 100644 (file)
@@ -1,8 +1,9 @@
-MD5 70f8c1a053adf4427fd61b5078809075 ChangeLog 6041
+MD5 57648fbf1d3fae983212d99adb9bd9cf ChangeLog 6173
 MD5 531aab1de27326c798ace924206120c2 bittornado-0.3.10.ebuild 2068
 MD5 ce904358a52fe29a30ac03b0d22300c2 bittornado-0.3.12.ebuild 2064
-MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
 MD5 aca02f6014bfd515c600017d6c555782 bittornado-0.3.8.ebuild 2058
+MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 d9ceb96d02086289e525ab5fda8fa4e7 bittornado-0.3.14.ebuild 2084
 MD5 5310490008ac12d6d4f855546b6f706b bittornado-0.3.13.ebuild 2081
 MD5 c7977a11c1bf8a5d7afb8772202af87d files/bittornado-wxpython-pre2.5-fix.patch 297
 MD5 5e0dbf4ae726b145dcec6fb57526e4c5 files/bttrack.conf 728
@@ -11,4 +12,5 @@ MD5 709a3dae79ddb5cfc966cce563ed15d5 files/digest-bittornado-0.3.10 69
 MD5 c3329d42b780ea4163ec94d1336d610b files/digest-bittornado-0.3.12 69
 MD5 68ff80aa60200feb7a3c22a3ad17bbea files/digest-bittornado-0.3.8 68
 MD5 7779a7eaf51eb9f84da8a588050f53fa files/favicon.ico 1406
+MD5 15de06eb1648815059fcf897ddf24601 files/digest-bittornado-0.3.14 69
 MD5 467bfdefa6920200b174d5cd8073a42a files/digest-bittornado-0.3.13 69
diff --git a/net-p2p/bittornado/bittornado-0.3.14.ebuild b/net-p2p/bittornado/bittornado-0.3.14.ebuild
new file mode 100644 (file)
index 0000000..ccbcbd4
--- /dev/null
@@ -0,0 +1,74 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.14.ebuild,v 1.1 2005/11/01 17:26:56 mholzer Exp $
+
+inherit distutils eutils
+
+MY_PN="BitTornado"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="TheShad0w's experimental BitTorrent client"
+HOMEPAGE="http://www.bittornado.com/"
+SRC_URI="http://bittornado.com/download/${MY_P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk"
+
+RDEPEND="gtk? ( >=dev-python/wxpython-2.4 )
+       >=dev-lang/python-2.1
+       !virtual/bittorrent"
+DEPEND="${RDEPEND}
+       app-arch/unzip
+       >=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
+       # fixes a bug with < wxpython-2.5 which is not yet available in portage
+       epatch ${FILESDIR}/${PN}-wxpython-pre2.5-fix.patch
+}
+
+src_install() {
+       distutils_src_install
+
+       dodir etc
+       cp -pPR /etc/mailcap ${D}/etc/
+       MAILCAP_STRING="application/x-bittorrent; /usr/bin/btdownloadgui.py '%s'; test=test -n \"\$DISPLAY\""
+
+       if use gtk; then
+               dodir ${PIXMAPLOC}
+               insinto ${PIXMAPLOC}
+               doins icons/*.ico icons/*.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
+       insinto /usr/share/bittorrent
+       doins ${FILESDIR}/favicon.ico
+
+       insinto /etc/conf.d
+       newins ${FILESDIR}/bttrack.conf bttrack
+
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/bttrack.rc bttrack
+}
+
diff --git a/net-p2p/bittornado/files/digest-bittornado-0.3.14 b/net-p2p/bittornado/files/digest-bittornado-0.3.14
new file mode 100644 (file)
index 0000000..4f13e69
--- /dev/null
@@ -0,0 +1 @@
+MD5 5ddccbbe466bb9cd90080a23be73248e BitTornado-0.3.14.tar.gz 188058