[oe] [PATCH] libtorrent / rtorrent: add latest upstream versions and fix crash on nslu2

Henry von Tresckow hvontres at gmail.com
Wed May 5 06:34:46 UTC 2010


- added version 0.12.6 of libtorrent and 0.8.6 of rtorrent
- added FULL_OPTIMIZATION_nslu2 ="-mcpu=xscale -fexpensive-optimizations -frename-registers -O2 -fpermissive -fno-inline"
These parameters were recommended at the rtorrent website (http://libtorrent.rakshasa.no/wiki/LibTorrentKnownIssues#NSLU2routersandxscalebaseddevices)

Signed-off-by: Henry von Tresckow <hvontres at gmail.com>
---
 recipes/libtorrent/libtorrent_0.12.6.bb |   22 ++++++++++++++++++++++
 recipes/libtorrent/rtorrent_0.8.6.bb    |   17 +++++++++++++++++
 2 files changed, 39 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libtorrent/libtorrent_0.12.6.bb
 create mode 100644 recipes/libtorrent/rtorrent_0.8.6.bb

diff --git a/recipes/libtorrent/libtorrent_0.12.6.bb b/recipes/libtorrent/libtorrent_0.12.6.bb
new file mode 100644
index 0000000..075ce40
--- /dev/null
+++ b/recipes/libtorrent/libtorrent_0.12.6.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "library implementing the bittorrent protocol"
+HOMEPAGE = "http://libtorrent.rakshasa.no"
+SECTION = "libs/network"
+LICENSE = "GPL"
+DEPENDS = "libsigc++-2.0 openssl"
+
+SRC_URI = "http://libtorrent.rakshasa.no/downloads/libtorrent-${PV}.tar.gz"
+PR = "r0.1"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-aligned"
+
+FULL_OPTIMIZATION_nslu2 ="-mcpu=xscale -fexpensive-optimizations -frename-registers -O2 -fpermissive -fno-inline"
+
+do_stage() {
+	autotools_stage_all
+}
+
+
+SRC_URI[md5sum] = "037499ed708aaf72988cee60e5a8d96b"
+SRC_URI[sha256sum] = "7b02f33164966a05261e83bad76eef537198fefe76eaf57dfd64bb27c7d77129"
diff --git a/recipes/libtorrent/rtorrent_0.8.6.bb b/recipes/libtorrent/rtorrent_0.8.6.bb
new file mode 100644
index 0000000..c765086
--- /dev/null
+++ b/recipes/libtorrent/rtorrent_0.8.6.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Console bittorrent client using libtorrent"
+HOMEPAGE = "http://libtorrent.rakshasa.no"
+SECTION = "libs/network"
+LICENSE = "GPL"
+DEPENDS = "libtorrent curl ncurses gnutls libgpg-error"
+
+SRC_URI = "http://libtorrent.rakshasa.no/downloads/rtorrent-${PV}.tar.gz \
+           file://autoconf-cross-fix.patch;patch=1"
+
+PR = "r0"
+
+inherit autotools
+
+FULL_OPTIMIZATION_nslu2 ="-mcpu=xscale -fexpensive-optimizations -frename-registers -O2 -fpermissive -fno-inline"
+
+SRC_URI[md5sum] = "b804c45c01c40312926bcea6b55bb084"
+SRC_URI[sha256sum] = "8c96c68e1524162abd1fc4b612d0c3d924fccc25159c0b3f208e69281f0b32db"
-- 
1.6.3.3





More information about the Openembedded-devel mailing list