libtorrent-rasterbar ver. bump

This commit is contained in:
Rmys
2021-07-07 22:54:58 +03:00
committed by GitHub
parent c9d4411399
commit 50d7a29c0c
2 changed files with 40 additions and 25 deletions
+26 -21
View File
@@ -1,38 +1,43 @@
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import get from pisi.actionsapi import get
#WorkDir = "libtorrent-rasterbar-%s" % get.srcVERSION()
def setup(): def setup():
autotools.autoreconf("-vfi") pisitools.dosed("Makefile", "PREFIX=/usr/local/", "PREFIX=/usr")
autotools.configure("--disable-static \ shelltools.system("mkdir build")
--enable-python-binding \ shelltools.cd("build")
--enable-encryption \ cmaketools.configure("-GNinja .. \
--with-boost-filesystem=mt \ -DCMAKE_SKIP_RPATH=TRUE \
--with-boost-thread=mt \ -DCMAKE_INSTALL_PREFIX=/usr \
--with-zlib=system \ -DCMAKE_INSTALL_LIBDIR=lib \
--with-libiconv \ -Dbuild_examples=ON \
--with-libgeoip=system \ -Dbuild_tests=ON \
--enable-export-all") -Dbuild_tools=ON \
-Dpython-bindings=ON \
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") -Dpython-egg-info=ON \
-Dpython-install-system-dir=ON", sourceDir="..")
def build(): def build():
autotools.make("CXX=%s" % get.CXX()) shelltools.cd("build")
shelltools.system("ninja")
#cmaketools.make()
#def check():
#cmaketools.make("test")
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.cd("build")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
#pisitools.removeDir("/usr/bin") #cmaketools.rawInstall("DESTDIR=%s ninja install" % get.installDIR())
shelltools.cd("..")
pisitools.dohtml("docs/*") pisitools.dohtml("docs/*")
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "LICENSE") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "LICENSE")
+14 -4
View File
@@ -12,15 +12,18 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Full featured torrent client library</Summary> <Summary>Full featured torrent client library</Summary>
<Description>Rasterbar's C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.</Description> <Description>Rasterbar's C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.</Description>
<Archive sha1sum="15b3ee86c077ea6284e2eaf6e8da77cee9f00506" type="targz">https://github.com/arvidn/libtorrent/releases/download/v1.2.11/libtorrent-rasterbar-1.2.11.tar.gz</Archive> <Archive sha1sum="6833baab3d0d1852c72f5ddd4869956e3f5f3788" type="targz">https://github.com/arvidn/libtorrent/releases/download/v2.0.4/libtorrent-rasterbar-2.0.4.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>openssl-devel</Dependency> <Dependency>openssl-devel</Dependency>
<Dependency>python-devel</Dependency> <Dependency>python3-devel</Dependency>
<Dependency>boost-devel</Dependency> <Dependency>boost-devel</Dependency>
<Dependency>boost-python</Dependency> <Dependency>boost-python3</Dependency>
<Dependency>geoip-devel</Dependency> <Dependency>geoip-devel</Dependency>
<Dependency>zlib-devel</Dependency> <Dependency>zlib-devel</Dependency>
<Dependency>libtool</Dependency> <Dependency>libtool</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -32,7 +35,7 @@
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
<Dependency>boost</Dependency> <Dependency>boost</Dependency>
<Dependency>geoip</Dependency> <Dependency>geoip</Dependency>
<Dependency>boost-python</Dependency><!--revdep-rebuild eksik olarak buldu --> <Dependency>boost-python3</Dependency><!--revdep-rebuild eksik olarak buldu -->
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
@@ -56,6 +59,13 @@
</Package> </Package>
<History> <History>
<Update release="14">
<Date>2021-07-06</Date>
<Version>2.0.4</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="13"> <Update release="13">
<Date>2021-03-12</Date> <Date>2021-03-12</Date>
<Version>1.2.11</Version> <Version>1.2.11</Version>