Version bump
authorMarkos Chandras <hwoarang@gentoo.org>
Wed, 16 Jun 2010 17:40:38 +0000 (17:40 +0000)
committerMarkos Chandras <hwoarang@gentoo.org>
Wed, 16 Jun 2010 17:40:38 +0000 (17:40 +0000)
Package-Manager: portage-2.1.8.3/cvs/Linux i686

net-libs/rb_libtorrent/ChangeLog
net-libs/rb_libtorrent/Manifest
net-libs/rb_libtorrent/rb_libtorrent-0.15.0.ebuild [new file with mode: 0644]

index c50bea584d6471cae2e6447c8453ffcb23d13ba6..28ed93f55825bb1d0207bc81550100370513ebb3 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-libs/rb_libtorrent
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.85 2010/04/12 19:08:20 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.86 2010/06/16 17:40:38 hwoarang Exp $
+
+*rb_libtorrent-0.15.0 (16 Jun 2010)
+
+  16 Jun 2010; Markos Chandras <hwoarang@gentoo.org>
+  +rb_libtorrent-0.15.0.ebuild:
+  Version bump
 
   12 Apr 2010; Ben de Groot <yngwin@gentoo.org>
   -rb_libtorrent-0.14.6.ebuild:
index d94742f38760d3410aa1b01c7fcc9b62a723ed07..a70aaa4bbc0eab9484bf830ccb4ac40cef01542a 100644 (file)
@@ -4,7 +4,9 @@ AUX rb_libtorrent-0.14.8-boost-detect.patch 1969 RMD160 8d2c4b412a72b69978bef1f8
 AUX rb_libtorrent-0.14.9-as-needed-fix.patch 520 RMD160 e75c51c39acd3df37274d465296406d24328a8cf SHA1 2a73ad7edc9b98bd16466dde1112542336b9fd1a SHA256 04d0b833d109523764bbb410cebc59196a047bd72a8c6267a32bdf458a48877c
 DIST libtorrent-rasterbar-0.14.10.tar.gz 1997446 RMD160 8492917f54b482d5a195af00a5c89756c6282a4d SHA1 68303b76ef88d1315725c9d114edd8bc95972c83 SHA256 524a19effb6b7e410a20e385e0d0421bfefc1d3f87cb7f78b77f391f12351957
 DIST libtorrent-rasterbar-0.14.9.tar.gz 1989956 RMD160 67f31b8dd98a3ead862a042ae226b23bdeb242a0 SHA1 cd7579100529cb2b0f0b4fcd2bee3d28c35b74c3 SHA256 08ea1eeea7d0fb8ed2ca2628c2e9c79d3bacc9f08011b4d9020a15dcd24e6ea3
+DIST libtorrent-rasterbar-0.15.0.tar.gz 2569328 RMD160 fa91bdcaf39e6d0da2c68346c9acffaa62a6a846 SHA1 ebc9ce111f59e538aff17102fcce907fd967cd8b SHA256 e1a79045ad041dd82850d2255037108bb17dcbe9a9a8819169a2624b72667db0
 EBUILD rb_libtorrent-0.14.10.ebuild 2449 RMD160 9f019c36a704444cfc39787ee8fa9ce2c7101f2c SHA1 07545b2c436663c7051cdfc48538523464d68b24 SHA256 16324ef88bb44dec8dfccacfc4255a6d62b73817a8ce7eee010b6f07081f27ed
 EBUILD rb_libtorrent-0.14.9-r1.ebuild 2451 RMD160 a9f90e3929c6935c40402e6f9f4a325e8bdad4eb SHA1 9ea40a83bf1c5b9ab3d2928e500a17995a64b8e4 SHA256 24b861675f42cd623145fd606069bfee513ee3487f89f5588465c637ef201996
-MISC ChangeLog 14665 RMD160 fcbf5226e70979dad77821789b2d21a206875c03 SHA1 abc89cd51cf2753c7dd90c94e0d8db93926d9c8f SHA256 85c82c70906e5d9aad238e6084171028ee54393ed74c957014278dcf04023b70
+EBUILD rb_libtorrent-0.15.0.ebuild 2451 RMD160 266bd9aace4bb081180555c96cf0a212545402f8 SHA1 42a663b25929d9732301d63862dbd661e93bd67e SHA256 e0d9fc01ac0627fc828ce3e610fb6bee860f5e3bec4c75cdbb8767c20258250c
+MISC ChangeLog 14805 RMD160 e5bc5cc7c3838a905a4656553847189a9a5d780c SHA1 2a1866cc43ce73cb7f58371f4d955edcd4dc532c SHA256 62e913c14f2adc27d25f2547f2fc7ea0c41e728b1f9387853bb5e1411d2a13f1
 MISC metadata.xml 180 RMD160 b3fdae264805d1dbe224d18e30b43cc9379b48c0 SHA1 3ece90b24dcd1ecd3e833660e8094afa809d2d93 SHA256 d4bbc70ee1028611e44086fc0b56d097b6945f22c66750538034bca5bf699f5c
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.15.0.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.15.0.ebuild
new file mode 100644 (file)
index 0000000..e10f264
--- /dev/null
@@ -0,0 +1,77 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.0.ebuild,v 1.1 2010/06/16 17:40:38 hwoarang Exp $
+
+EAPI="2"
+inherit autotools eutils flag-o-matic versionator
+
+MY_P=${P/rb_/}
+MY_P=${MY_P/torrent/torrent-rasterbar}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
+HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
+SRC_URI="http://libtorrent.googlecode.com/files/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="debug doc examples python"
+RESTRICT="test"
+
+DEPEND="|| ( >=dev-libs/boost-1.35
+               ( ~dev-libs/boost-1.34.1 dev-cpp/asio ) )
+       python? ( >=dev-libs/boost-1.35.0-r5[python] dev-lang/python:2.6[threads] )
+       =sys-devel/libtool-2.2*
+       sys-libs/zlib
+       examples? ( !net-p2p/mldonkey )"  #292998
+RDEPEND="${DEPEND}"
+
+#src_prepare() {
+       #epatch "${FILESDIR}"/${PN}-0.14.9-as-needed-fix.patch  #276873
+       #epatch "${FILESDIR}"/${PN}-0.14.8-boost-detect.patch   #295474
+       #rm ltmain.sh  #298069
+       #eautoreconf
+#}
+
+src_configure() {
+       append-ldflags -pthread
+
+       # use multi-threading versions of boost libs
+       local BOOST_LIBS="--with-boost-system=boost_system-mt \
+               --with-boost-asio=boost_system-mt \
+               --with-boost-filesystem=boost_filesystem-mt \
+               --with-boost-thread=boost_thread-mt \
+               --with-boost-regex=boost_regex-mt \
+               --with-boost-python=boost_python-mt \
+               --with-boost-program_options=boost_program_options-mt"
+
+       # detect boost version and location, bug 295474
+       BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
+       BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
+       BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
+       BOOST_INC="/usr/include/boost-${BOOST_VER}"
+       BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
+
+       local LOGGING
+       use debug && LOGGING="--with-logging=verbose"
+
+       econf $(use_enable debug) \
+               $(use_enable test tests) \
+               $(use_enable examples) \
+               $(use_enable python python-binding) \
+               --with-zlib=system \
+               --with-asio=system \
+               ${LOGGING} \
+               --with-boost=${BOOST_INC} \
+               --with-boost-libdir=${BOOST_LIB} \
+               ${BOOST_LIBS}
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die 'emake install failed'
+       dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed'
+       if use doc ; then
+               dohtml docs/* || die "Could not install HTML documentation"
+       fi
+}