]> git.pld-linux.org Git - packages/deluge.git/blob - deluge-libtorrent.patch
- up to 1.0.6
[packages/deluge.git] / deluge-libtorrent.patch
1 diff -burNp deluge-1.0.5/setup.py deluge-1.0.5-new/setup.py
2 --- deluge-1.0.5/setup.py       2008-11-09 17:44:40.000000000 +0100
3 +++ deluge-1.0.5-new/setup.py   2008-11-12 16:39:58.129552094 +0100
4 @@ -180,18 +180,18 @@ for source in _sources:
5              break
6  
7  _ext_modules = []
8 -if windows_check() or not os.path.exists(os.path.join(sysconfig.get_config_var("LIBDIR"), "libtorrent-rasterbar.so.1")):
9 -    # There isn't a system libtorrent library, so let's build the one included with deluge
10 -    libtorrent = Extension(
11 +# Force to build libtorrent module that comes with deluge, otherwise
12 +# it won't work.
13 +libtorrent = Extension(
14          'libtorrent',
15          extra_compile_args = _extra_compile_args,
16          include_dirs = _include_dirs,
17          libraries = _libraries,
18          library_dirs = _library_dirs,
19          sources = _sources
20 -    )
21 +)
22  
23 -    _ext_modules = [libtorrent]
24 +_ext_modules = [libtorrent]
25  
26  class build_trans(cmd.Command):
27      description = 'Compile .po files into .mo files'
28 @@ -294,7 +294,7 @@ setup(
29              deluged = deluge.main:start_daemon
30      """,
31      ext_package = "deluge",
32 -    ext_modules = [libtorrent],
33 +    ext_modules = _ext_modules,
34      fullname = "Deluge Bittorent Client",
35      include_package_data = True,
36      license = "GPLv3",
This page took 0.068531 seconds and 3 git commands to generate.