Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
aria2
> _service:tar_git:aria2.yaml
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:aria2.yaml of Package aria2
Name: aria2 Summary: A utility for downloading files Version: 1.37.0 Release: 0 Group: Applications/Internet License: GPLv2 URL: https://aria2.github.io SCM: https://github.com/aria2/aria2 Sources: - '%{name}-%{version}.tar.bz2' Description: | aria2 is a utility for downloading files. The supported protocols are HTTP(S), FTP, SFTP, BitTorrent, and Metalink. aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. It supports downloading a file from HTTP(S)/FTP/SFTP and BitTorrent at the same time, while the data downloaded from HTTP(S)/FTP/SFTP is uploaded to the BitTorrent swarm. Using Metalink's chunk checksums, aria2 automatically validates chunks of data while downloading a file like BitTorrent. %if "%{?vendor}" == "chum" Title: Aria2 Type: console-application PackagedBy: nephros Categories: - Internet - Utility Custom: Repo: https://github.com/aria2/aria2 PackagingRepo: https://github.com/sailfishos-chum/aria2.git Links: Homepage: https://aria2.github.io Help: https://aria2.github.io/manual/en/html/index.html %endif SetupOptions: -q -n %{name}-%{version}/upstream Macros: - | spectacle_bug; hack_fix # Spectacular spectacle hack: # abuse Macros to work around the Macro-deleting bug in 0.32 # also, add a conditional dep: %if 0%{?sailfishos_version} >= 30400 BuildRequires: pkgconfig(libcares) %endif PkgBR: - autoconf - automake - libtool # autotools needs autopoint - gettext-devel # spectacle complains about this, ignore that. # c-ares-devel - openssh # 4.4 renamed the pkgconfig entry - ( pkgconfig(libgpg-error) or pkgconfig(gpg-error) ) PkgConfigBR: - libssl - libxml-2.0 - sqlite3 - zlib # expat # libgcrypt # spectacle wants this, but it's not actually found in the build env: # libcares Configure: reconfigure ConfigOptions: - '--enable-libaria2' - '--disable-nls' - '--with-pic' - '--with-bashcompletiondir=%{_datadir}/bash-completion/completions' # from README.rst: # A user can have one of the following configurations for SSL # and crypto libraries: # # * OpenSSL # * GnuTLS + libgcrypt # * GnuTLS + libnettle # # If you prefer OpenSSL, run configure with ``--without-gnutls`` ``--with-openssl``. # # Jolla/SailfishOS prefers OpenSSL over GnuTLS, esp. in 4.4+ - '--without-gnutls --with-openssl' SubPackages: - Name: devel AutoDepend: false Summary: Development files for %{name} Group: Development/Libraries Requires: - libaria2 = %{version}-%{release} - Name: libaria2 AsWholeName: true AutoDepend: false Summary: C++ library which offers %{name} functionality Group: Development/Libraries Description: | %{summary}. %if "%{?vendor}" == "chum" Title: libaria2 PackagedBy: nephros Categories: - Library Custom: Repo: https://github.com/aria2/aria2 PackagingRepo: https://github.com/sailfishos-chum/aria2.git Links: Homepage: https://aria2.github.io Help: https://aria2.github.io/manual/en/html/index.html %endif