• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    C++
  • License
    BSD 3-Clause "New...
  • Created over 11 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SWIG Go bindings for libtorrent-rasterbar

libtorrent-go

SWIG Go bindings for libtorrent-rasterbar

Windows

export CROSSHOST=i586-mingw32
export CROSSHOME=/usr/local/gcc-4.8.0-mingw32
export PATH=$CROSSHOME/bin:$PATH
export PKG_CONFIG_LIBDIR=$CROSSHOME/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR
export CFLAGS="-I$CROSSHOME/include -D_WIN32_WINNT=0x0501"
export CPPFLAGS=$CFLAGS

Boost


./bootstrap.sh
echo "using gcc : mingw32 : $CROSSHOST-g++ ;" >! tools/build/v2/user-config.jam
./b2 -j2 --with-date_time --with-system --prefix=$CROSSHOME toolset=gcc-mingw32 link=static variant=release threading=multi target-os=windows threadapi=win32 install

OpenSSL


CROSS_COMPILE=$CROSSHOST- ./configure threads no-shared mingw --prefix=$CROSSHOME
make clean && make && make install

libtorrent


sed -i 's/$PKG_CONFIG openssl --libs-only-l/$PKG_CONFIG openssl --static --libs-only-l/' ./configure
make clean
./configure --host=$CROSSHOST --prefix=$CROSSHOME --with-boost=$CROSSHOME --with-boost-libdir=$CROSSHOME/lib --enable-static --disable-shared
make -j2 && make install

Linux x86

export CROSSHOST=i586-pc-linux
export CROSSHOME=/usr/local/gcc-4.8.1-for-linux32/
export PATH=$CROSSHOME/bin:$PATH
export PKG_CONFIG_LIBDIR=$CROSSHOME/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR
unset CFLAGS
unset CPPFLAGS

Boost


./bootstrap.sh
echo "using gcc : linux32 : $CROSSHOST-g++ ;" >! tools/build/v2/user-config.jam
./b2 -j2 --with-date_time --with-system --prefix=$CROSSHOME toolset=gcc-linux32 link=static variant=release threading=multi target-os=linux install

OpenSSL


CROSS_COMPILE=$CROSSHOST- ./configure threads no-shared linux-elf --prefix=$CROSSHOME
make clean && make && make install

libtorrent


sed -i 's/$PKG_CONFIG openssl --libs-only-l/$PKG_CONFIG openssl --static --libs-only-l/' ./configure
make clean
./configure --host=$CROSSHOST --prefix=$CROSSHOME --with-boost=$CROSSHOME --with-boost-libdir=$CROSSHOME/lib --enable-static --disable-shared
make -j2 && make install

Linux x86_64

export CROSSHOST=x86_64-pc-linux
export CROSSHOME=/usr/local/gcc-4.8.0-linux64
export PATH=$CROSSHOME/bin:$PATH
export PKG_CONFIG_LIBDIR=$CROSSHOME/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR
unset CFLAGS
unset CPPFLAGS

Boost


./bootstrap.sh
echo "using gcc : linux64 : $CROSSHOST-g++ ;" >! tools/build/v2/user-config.jam
./b2 -j2 --with-date_time --with-system --prefix=$CROSSHOME toolset=gcc-linux64 link=static variant=release threading=multi target-os=linux install

OpenSSL


CROSS_COMPILE=$CROSSHOST- ./configure threads no-shared linux-x86_64 --prefix=$CROSSHOME
make clean && make && make install

libtorrent


sed -i 's/$PKG_CONFIG openssl --libs-only-l/$PKG_CONFIG openssl --static --libs-only-l/' ./configure
make clean
./configure --host=$CROSSHOST --prefix=$CROSSHOME --with-boost=$CROSSHOME --with-boost-libdir=$CROSSHOME/lib --enable-static --disable-shared
make -j2 && make install

Linux ARM

export CROSSHOST=arm-linux-gnueabihf
export CROSSHOME=/usr/local/gcc-linaro-arm-linux-gnueabihf-raspbian
export PATH=$CROSSHOME/bin:$PATH
export PKG_CONFIG_LIBDIR=$CROSSHOME/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR
unset CFLAGS
unset CPPFLAGS

Boost


./bootstrap.sh
echo "using gcc : linuxarm : $CROSSHOST-g++ ;" > tools/build/v2/user-config.jam
./b2 -j2 --with-date_time --with-system --prefix=$CROSSHOME toolset=gcc-linuxarm link=static variant=release threading=multi target-os=linux install

OpenSSL


make clean
CROSS_COMPILE=$CROSSHOST- ./configure threads no-shared linux-elf no-asm --prefix=$CROSSHOME
make && make install

libtorrent


sed -i 's/$PKG_CONFIG openssl --libs-only-l/$PKG_CONFIG openssl --static --libs-only-l/' ./configure
make clean
./configure --host=$CROSSHOST --prefix=$CROSSHOME --with-boost=$CROSSHOME --with-boost-libdir=$CROSSHOME/lib --enable-static --disable-shared
make -j2 && make install

Android ARM

export CROSSHOST=x86_64-pc-linux
export CROSSHOME=/usr/local/gcc-4.8.0-linux64
export PATH=$CROSSHOME/bin:$PATH
export PKG_CONFIG_LIBDIR=$CROSSHOME/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR
unset CFLAGS
unset CPPFLAGS

Boost


./bootstrap.sh
echo "using gcc : linux64 : $CROSSHOST-g++ ;" >! tools/build/v2/user-config.jam
./b2 -j2 --with-date_time --with-system --prefix=$CROSSHOME toolset=gcc-linux64 link=static variant=release threading=multi target-os=linux install

OpenSSL


CROSS_COMPILE=$CROSSHOST- ./configure threads no-shared linux-x86_64 --prefix=$CROSSHOME
make clean && make && make install

libtorrent


sed -i 's/$PKG_CONFIG openssl --libs-only-l/$PKG_CONFIG openssl --static --libs-only-l/' ./configure
make clean
./configure --host=$CROSSHOST --prefix=$CROSSHOME --with-boost=$CROSSHOME --with-boost-libdir=$CROSSHOME/lib --enable-static --disable-shared
make -j2 && make install

More Repositories

1

france.code-civil

Le code civil français sous git
2,656
star
2

angular-seo

SEO for AngularJS apps made easy.
1,060
star
3

plugin.video.pulsar

Pulsar addon for XBMC/Kodi
Python
544
star
4

xbmctorrent

Torrent streaming for XBMC - This project has been replaced by Pulsar
Python
387
star
5

france.code-penal

Le Code pénal français, sous Git
136
star
6

dwmaxx2

Get Windows 7 windows as DirectX textures
C++
120
star
7

cross-compiler

Dockerfiles for cross compiling environments
Shell
106
star
8

python-lz4

LZ4 bindings for python
C
105
star
9

torrent2http

Torrent to HTTP client for https://github.com/steeve/xbmctorrent
Go
75
star
10

itool

Single binary easy and composable iOS device interaction CLI
Go
72
star
11

france.code-procedure-penale

Le Code de procédure pénale français, sous Git
71
star
12

rupy

Python inside Ruby, the unholy alliance!
Ruby
59
star
13

docker-opencv

OpenCV on Docker
Shell
59
star
14

ToneLoc

Public non-official repository of the famous ToneLoc wardialer
C
49
star
15

pulsar

Pulsar Daemon
Go
47
star
16

script.pulsar.dummy

Dummy sample provider for Pulsar
Python
38
star
17

docker-lemp

nginx + PHP5-FPM + MariaDB + supervisord on Docker
Shell
36
star
18

aml-imgpack

Resource packer/unpacker for Amlogic Logo image files
Python
22
star
19

legifrance2json

Legifrance crawler that dumps JSON out of french legal Codes
19
star
20

ryzentosh

OpenCore Configuration for Ryzen 3950x with ASUS Crosshair VIII Hero (Wi-Fi) X570
Shell
18
star
21

msr605

Python interface for the MSR605 magnetic card reader
Python
17
star
22

dwmaxx

DWM Hacking for Windows Vista! => DEPRECATED, GO TO https://github.com/steeve/dwmaxx2
C
16
star
23

legifrance-go

Go package to manipulate legifrance dump files
Go
15
star
24

libtorrent

Mirror of libtorrent-rasterbar's SVN https://svn.code.sf.net/p/libtorrent/code/
C++
13
star
25

macos-virt

Toying around virtualising macOS for development purposes
Go
11
star
26

oculusstreetview

Fork of Oculus Street View to work with vr.js
JavaScript
11
star
27

cascading.cassandra

Cassandra Tap for Cascading!
9
star
28

seastar-rs

Experimenting with seastar and rust
Rust
8
star
29

broadcaster

Broadcast (one to many, fanout) messaging with payloads for Go
Go
7
star
30

docker-i2p

i2prouter in docker (work in progress)
Shell
3
star
31

xbmctorrent-repo

Repository for XBMCtorrent
Go
3
star
32

docker-svn2git

svn2git Docker image
2
star
33

docker-heka

Heka in a container
2
star
34

bazel_libcpp_android_issue

Python
1
star
35

steeve.github.io

My blog
HTML
1
star
36

scrapy-lxmlselector

Lxml Selector for Scrapy
1
star
37

seastar-bazel

Experiments in building a seastar app with bazel
1
star
38

quivotequoi

4tehlulz
JavaScript
1
star