summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/rb_libtorrent/ChangeLog13
-rw-r--r--net-libs/rb_libtorrent/Manifest31
-rw-r--r--net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild15
-rw-r--r--net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild7
-rw-r--r--net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild7
-rw-r--r--net-libs/rb_libtorrent/rb_libtorrent-0.15.9-r1.ebuild81
-rw-r--r--net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild7
7 files changed, 123 insertions, 38 deletions
diff --git a/net-libs/rb_libtorrent/ChangeLog b/net-libs/rb_libtorrent/ChangeLog
index a15c3f3a204c..b1e47ab60080 100644
--- a/net-libs/rb_libtorrent/ChangeLog
+++ b/net-libs/rb_libtorrent/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-libs/rb_libtorrent
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.116 2011/11/22 21:28:44 hwoarang Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.117 2012/01/28 20:00:21 floppym Exp $
+
+*rb_libtorrent-0.15.9-r1 (28 Jan 2012)
+
+ 28 Jan 2012; Mike Gilbert <floppym@gentoo.org>
+ +rb_libtorrent-0.15.9-r1.ebuild, rb_libtorrent-0.15.5.ebuild,
+ rb_libtorrent-0.15.6.ebuild, rb_libtorrent-0.15.8.ebuild,
+ rb_libtorrent-0.15.9.ebuild:
+ Prepare for PYTHON_ABI-versioned Boost Python libraries in Boost 1.48. Patch
+ by Arfrever.
*rb_libtorrent-0.15.9 (22 Nov 2011)
diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest
index 3082af7e9d11..78a92aefda71 100644
--- a/net-libs/rb_libtorrent/Manifest
+++ b/net-libs/rb_libtorrent/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX rb_libtorrent-0.14.12_boost-1.45.patch 507 RMD160 b3f3730cd1215c5ff08fb8d019b7e9f72cb68d74 SHA1 94ddc8a797ff7834b079686c2a9fb98f09187e90 SHA256 0030390334b95595fef64f0b7c647ef2457cbb628a4d27a6e62be495dbc0b237
AUX rb_libtorrent-0.14.8-boost-detect.patch 1969 RMD160 8d2c4b412a72b69978bef1f8c659941473657a79 SHA1 2ec58b038e9c1b896b1eeb42e646afbf4f9af5ea SHA256 63d782c54b18ff1fccc08345c4b9afe112b146fa41021da3d717ee313c862ec0
@@ -9,26 +9,17 @@ DIST libtorrent-rasterbar-0.15.5.tar.gz 2606717 RMD160 ee5640c530e785cfd78d11db1
DIST libtorrent-rasterbar-0.15.6.tar.gz 2608765 RMD160 946464cc0dd9a42eaf342021aa96badccd7311c1 SHA1 e6f33b139933ec245e8850558efe52e88081fc6d SHA256 dc84775911129942d21ed94569f7c06accffcf31dc909b26eca5f824efb63f13
DIST libtorrent-rasterbar-0.15.8.tar.gz 2605456 RMD160 a6ddd211afe8499c66c5e56c1d3eee26be01c235 SHA1 9e21ebfa6fba19b237754a10ae9b8007781c48f0 SHA256 f5dfe715e4f49784d5cc2821983a5fbe454c5a53beedc1996ecae5178188c71c
DIST libtorrent-rasterbar-0.15.9.tar.gz 2619950 RMD160 54461ff314af9602309a9a34a97cb481dc38179c SHA1 d86eb9d4452d07715a355d3a67312f162d6eff3a SHA256 a2ea68011e9933c7deb473268122f016171d24f0f35e744fbdadd14bf6bac23d
-EBUILD rb_libtorrent-0.15.5.ebuild 2104 RMD160 e9ee32fdab037ab6dfc0c1c53e359372b44c5b47 SHA1 208058f61af3082aa2c898437dfe6ba270f85c4e SHA256 9d8911709cf4ac086f98d3d400f622c4c83e316a00e5c6b6cccd21c39390839e
-EBUILD rb_libtorrent-0.15.6.ebuild 2188 RMD160 f7909bc20c88555cc51a6583f54f6c6e0579ffa4 SHA1 c3bd790653f6e1445b890353317bc8331293aa16 SHA256 3fc0bc1d72e4511e963439d6e13fcb4077d35c75c2b97b81921e966efb139d4d
-EBUILD rb_libtorrent-0.15.8.ebuild 2303 RMD160 134ab3960f107037774763df6a412b3cb2006c20 SHA1 830e375614116ea5a662c625725206c48658090b SHA256 7524a1f8fc03bdb044406626b54040eb18a4e0da9fdbeade1ebdf10f6742dee8
-EBUILD rb_libtorrent-0.15.9.ebuild 2303 RMD160 9a5972effba581151ac3b4e6a3bf7accedafbc6b SHA1 8bbc11bb866fa0f30e3ce89151015c1cff8729cf SHA256 2d2c23bf6d394ab976c1f4d5e6bd47af57b27da63e1731e4d6ab86473ed645ee
-MISC ChangeLog 19863 RMD160 71e4e648fee8dbad95d3a4e167a176f79a6ac79b SHA1 e90e6d2a872f2d3cc2ba2db9a7d4163da2e988c8 SHA256 92ccc981225b21d7d19b1d89d6e1d5aa5888e7c5dfdfe54724bdfe5615145a0e
+EBUILD rb_libtorrent-0.15.5.ebuild 2090 RMD160 8cdeb5fd2fa7bb7db9a0953bbc0ffd09eb0ce7ef SHA1 133f426d7518b2bc1185086dcb6e2c1708ded18c SHA256 838d2f0ca25aa5149f23da9b3240f9a12d9d093914587796410815e4463e1362
+EBUILD rb_libtorrent-0.15.6.ebuild 2217 RMD160 12e46dac7fcd608da364cbd2ace885dd975f358d SHA1 5c3001998a7825fad6e2f3116ba3ab74f28b9430 SHA256 fb7a786aa5f59b1adb127aa38813df6aac0d5a5063393e54541868697dfcdef3
+EBUILD rb_libtorrent-0.15.8.ebuild 2330 RMD160 0d5870f17880d020e5286a9b8ddc0cf41da47abe SHA1 fe8037bc0da2f6b271beefd2d74a20a86177c1d9 SHA256 8249a1ce8ad649105ad8148871ecefa779c00b8fa267a68619b71f49a444e30e
+EBUILD rb_libtorrent-0.15.9-r1.ebuild 2282 RMD160 0e92c5d3c06f7a330d21251179dae729ece6601e SHA1 e0bb51ba94ed106006469ae4967396e8d823c72e SHA256 8b313f96d50f53cfbbbaf4a66a5ea0bd06f84e1782c9e17d9836a8dd247fd514
+EBUILD rb_libtorrent-0.15.9.ebuild 2330 RMD160 ef55c0802ca27ea96766a1351130ef8a4726bd1e SHA1 a1a913e906961a2fd57a15aba4e6c90d77e406c0 SHA256 6b7d8a4dbd5b762b2901f33bd1153fcb88ecbb6d29f662f2f70fcc84901a4f2d
+MISC ChangeLog 20201 RMD160 495e2db100867feff9d94bc1bd4882409dc725f0 SHA1 02b3bea0221e0c6ab88f3d6b0964d5e4428a3337 SHA256 75621527e54d95fbea0884919e33d55a2eebee3002786f6927888ddc1abc707d
MISC metadata.xml 279 RMD160 fee9ba43ed5741d59ca721d799c0580f00cc71ef SHA1 093f218c86045f1c60aebde8a54cb673dee8f7f7 SHA256 36618b123d1f4f5b758e481463ea56c0d2a61230f223ccb4a8f1cc2ed4d01584
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBCgAGBQJOzBQFAAoJEPqDWhW0r/LCy6oP/06pFDVvkml3MJkmPbQTA+UJ
-ZrI0/KihB+ubERSsbl3gyqr30uEfJP/yRRbXozD6sFgVK9n65oIljEPJFEs4fpd8
-qWr1c8CGNI2w2G+dH5aqp1udU3YhslfWchZdFksQ2Zy9pnSmX7W95edND43fnXyr
-iAoKaJeG7qy0RHnif80bcOsOhqVnvxeTlgfI3+tcYYNtMOlI6DsadArR3m5/HIQ1
-T4FE++7tQQyAunwVadqCQio2Tn9gVHiLmgDYNwqVeQMXLLhJ1CBSdEgGcj14Be6p
-87QJ0VYUsDezyJB/ULxQUNZGYYQUXDJOHz6Mn3MwLHhpa/rYoPN3cRu2sn1MRZNb
-58LiZ/XnbvKV+XNaKJBkouWoGGBN3z73WOQJXRu/M7Rou707luemxlDZit8D+0tq
-8KTZoneq40C6uWhni+pPkVrOsifiolT6NY9RpA4V0GoiTAmdHi/j8D5Gh0Rr1vfX
-BKaQBLQWZiMugvhUlVkRNGAhCZd+87PWSb34wRKd2LIM+7qrtfA4G0zcU3KbCsmR
-IBynArcTKre7+0zmYViNPV02ldvJLGbmWJhDz5281/UxwPqNIsk9UgLsqJKUj9od
-2z8dpAc+32YnJp5cH9V5NnYJbsaLZvlrLUMyobq8PPjpFOqShMYOQHdlrxjBspsH
-XvrBGbIdmgXmXZUKPtXl
-=S9h1
+iF4EAREIAAYFAk8kU9wACgkQC77qH+pIQ6T8yAD/Wo2fuIWfbOczpb/CpBjV6HGv
+j0t+3R2y43ns67MuxoUA/Rj8Aq2iLCVrNdL5StlHTD6iCqAaYCfF9tI8EEiUh6bS
+=WgJp
-----END PGP SIGNATURE-----
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild
index 7ca4d295b391..5485beb48aac 100644
--- a/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild
+++ b/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild
@@ -1,9 +1,13 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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.5.ebuild,v 1.5 2011/03/23 19:29:54 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.5.ebuild,v 1.6 2012/01/28 20:00:21 floppym Exp $
EAPI="2"
-inherit eutils versionator
+PYTHON_DEPEND="python? 2:2.6"
+PYTHON_USE_WITH="threads"
+PYTHON_USE_WITH_OPT="python"
+
+inherit eutils python versionator
MY_P=${P/rb_/}
MY_P=${MY_P/torrent/torrent-rasterbar}
@@ -19,10 +23,7 @@ KEYWORDS="amd64 ~arm ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="debug doc examples python ssl"
RESTRICT="test"
-DEPEND=">=dev-libs/boost-1.36
- python? ( >=dev-libs/boost-1.36[python]
- || ( dev-lang/python:2.6[threads]
- dev-lang/python:2.7[threads] ) )
+DEPEND="<dev-libs/boost-1.48[python?]
>=sys-devel/libtool-2.2
sys-libs/zlib
examples? ( !net-p2p/mldonkey )
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild
index e0341b4c149d..de7cc0dc2017 100644
--- a/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild
+++ b/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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.6.ebuild,v 1.5 2011/05/26 21:21:00 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.6.ebuild,v 1.6 2012/01/28 20:00:21 floppym Exp $
EAPI="2"
PYTHON_DEPEND="python? 2:2.6"
PYTHON_USE_WITH="threads"
+PYTHON_USE_WITH_OPT="python"
inherit eutils versionator python
@@ -22,7 +23,7 @@ KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
IUSE="debug doc examples python ssl"
RESTRICT="test"
-DEPEND=">=dev-libs/boost-1.36[python?]
+DEPEND="<dev-libs/boost-1.48[python?]
>=sys-devel/libtool-2.2
sys-libs/zlib
examples? ( !net-p2p/mldonkey )
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild
index e36b56e87d5d..09b94e7369e8 100644
--- a/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild
+++ b/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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.8.ebuild,v 1.1 2011/09/30 12:27:07 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.8.ebuild,v 1.2 2012/01/28 20:00:21 floppym Exp $
EAPI="2"
PYTHON_DEPEND="python? 2:2.6"
PYTHON_USE_WITH="threads"
+PYTHON_USE_WITH_OPT="python"
inherit eutils versionator python
@@ -22,7 +23,7 @@ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="debug doc examples python ssl static-libs"
RESTRICT="test"
-DEPEND=">=dev-libs/boost-1.36[python?]
+DEPEND="<dev-libs/boost-1.48[python?]
>=sys-devel/libtool-2.2
sys-libs/zlib
examples? ( !net-p2p/mldonkey )
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.15.9-r1.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.15.9-r1.ebuild
new file mode 100644
index 000000000000..bfa296e4e5e2
--- /dev/null
+++ b/net-libs/rb_libtorrent/rb_libtorrent-0.15.9-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2012 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.9-r1.ebuild,v 1.1 2012/01/28 20:00:21 floppym Exp $
+
+EAPI="4"
+PYTHON_DEPEND="python? 2:2.6"
+PYTHON_USE_WITH="threads"
+PYTHON_USE_WITH_OPT="python"
+
+inherit multilib python 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 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug doc examples python ssl static-libs"
+RESTRICT="test"
+
+DEPEND=">=dev-libs/boost-1.48[python?]
+ >=sys-devel/libtool-2.2
+ sys-libs/zlib
+ examples? ( !net-p2p/mldonkey )
+ ssl? ( dev-libs/openssl )"
+
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+src_prepare() {
+ use python && python_convert_shebangs -r 2 .
+}
+
+src_configure() {
+ # use multi-threading versions of boost libs
+ local BOOST_LIBS="--with-boost-system=boost_system-mt \
+ --with-boost-filesystem=boost_filesystem-mt \
+ --with-boost-thread=boost_thread-mt \
+ --with-boost-python=boost_python-${PYTHON_ABI}-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="--enable-logging=verbose"
+
+ econf $(use_enable debug) \
+ $(use_enable test tests) \
+ $(use_enable examples) \
+ $(use_enable python python-binding) \
+ $(use_enable ssl encryption) \
+ $(use_enable static-libs static) \
+ --with-zlib=system \
+ ${LOGGING} \
+ --with-boost=${BOOST_INC} \
+ --with-boost-libdir=${BOOST_LIB} \
+ ${BOOST_LIBS}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ use static-libs || find "${D}" -name '*.la' -exec rm -f {} +
+ dodoc ChangeLog AUTHORS NEWS README
+ if use doc; then
+ dohtml docs/*
+ fi
+}
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild
index 3be6cdfa373b..54d049586e9d 100644
--- a/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild
+++ b/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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.9.ebuild,v 1.1 2011/11/22 21:28:44 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.9.ebuild,v 1.2 2012/01/28 20:00:21 floppym Exp $
EAPI="2"
PYTHON_DEPEND="python? 2:2.6"
PYTHON_USE_WITH="threads"
+PYTHON_USE_WITH_OPT="python"
inherit eutils versionator python
@@ -22,7 +23,7 @@ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="debug doc examples python ssl static-libs"
RESTRICT="test"
-DEPEND=">=dev-libs/boost-1.36[python?]
+DEPEND="<dev-libs/boost-1.48[python?]
>=sys-devel/libtool-2.2
sys-libs/zlib
examples? ( !net-p2p/mldonkey )