GithubHelp home page GithubHelp logo

spacecase123 / qbittorrent-nox-static Goto Github PK

View Code? Open in Web Editor NEW

This project forked from userdocs/qbittorrent-nox-static

0.0 0.0 0.0 145.94 MB

A build script for qBittorent nox static.

License: Apache License 2.0

Shell 100.00%

qbittorrent-nox-static's Introduction

qbittorrent-nox-static

Codacy Badge CodeFactor matrix multi build and release Debian Based CI

Summary

The qbittorrent-nox-static project is a bash build script that compiles a static qbittorrent-nox binary using the latest available dependencies from their source. These statically linked binaries can run on any matching CPU architecture and are not OS specific. This means you can run a x86_64 Alpine edge build on any Linux based OS of like CentOS | Fedora | OpenSuse | Debian Stretch | Ubuntu Xenial and more.

Documentation

๐Ÿ”ต Visit the documentation for in depth information on using this project.

WSL2

๐ŸŸข These static builds can be used on WSL2 and accessed via localhost:8080 using the download instructions below

Install the latest release

๐Ÿ”ต The latest release page for the most current build

Or uses these commands for your arch:

x86_64

mkdir -p ~/bin && source ~/.profile
wget -qO ~/bin/qbittorrent-nox https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/x86_64-qbittorrent-nox
chmod 700 ~/bin/qbittorrent-nox

armhf (armv6)

mkdir -p ~/bin && source ~/.profile
wget -qO ~/bin/qbittorrent-nox https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/armhf-qbittorrent-nox
chmod 700 ~/bin/qbittorrent-nox

armv7

mkdir -p ~/bin && source ~/.profile
wget -qO ~/bin/qbittorrent-nox https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/armv7-qbittorrent-nox
chmod 700 ~/bin/qbittorrent-nox

aarch64

mkdir -p ~/bin && source ~/.profile
wget -qO ~/bin/qbittorrent-nox https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/aarch64-qbittorrent-nox
chmod 700 ~/bin/qbittorrent-nox

ICU builds

Each build has two versions due to how qtbase builds when it detects ICU .

๐ŸŸข The iconv / non ICU build can be considered the default build.

ICU replaces iconv if detected when qtbase is built and doubles the static build size due to the ICU libraries being linked into the final static binary.

๐Ÿ”ต When not using ICU everything is built against iconv

๐ŸŸ  ICU builds have nothing to do with performance.

The reason I do two builds is that ICU is an automated build flag preference for QT (and boost when I was building that) and I considered that it may one day be a default or only option and ICU seems to be the preferred choice for this kind of library. So it's really not a critical option but more of a choice.

๐Ÿ”ต ICU is a preferred build path automatically chosen by the programs built if it is present on the system.

You can pick either version you want, if it works then just enjoy it. The only difference you may experience is how the WebUi displays Unicode characters.

Libtorrent v2 builds

๐ŸŸ  Libtorrent v1.2 is currently the main branch supported by qBittorrent

These are released as pre releases until qBittorrent officially adopts libtorrent v2 as the default version. Once v2 is the default I will switch them around on future releases.

You can view the pre releases and tags here.

๐Ÿ”ต https://github.com/userdocs/qbittorrent-nox-static/releases

Cmake builds

Cmake builds where libtorrent and qbittorrent are compiled using cmake and ninja are available

๐ŸŸ  Cmake builds do not get stripped (debug symbols). Use cmake builds for stacktrace / debugging features built into qbittorrent.

Libtorrent v2 + QT6 + Qbittorrent using cmake

๐ŸŸข The script is ready to build using cmake and is QT6 ready. As soon as qbittorrrent has official support this script can build it.

Build table - Dependencies - arch - OS - build tools

Deps x86_64 aarch64 armv7 Debian based Alpine make cmake b2 qmake
libexecinfo โœ… โœ… โœ… โŒ โœ… โŒ โŒ โŒ โŒ
bison โœ… โœ… โœ… โœ… โŒ โœ… โŒ โŒ โŒ
gawk โœ… โœ… โœ… โœ… โŒ โœ… โŒ โŒ โŒ
glibc โœ… โœ… โœ… โœ… โŒ โœ… โŒ โŒ โŒ
zlib โœ… โœ… โœ… โœ… โœ… โœ… โŒ โŒ โŒ
iconv โœ… โœ… โœ… โœ… โœ… โœ… โŒ โŒ โŒ
icu โœ… โœ… โœ… โœ… โœ… โœ… โŒ โŒ โŒ
openssl โœ… โœ… โœ… โœ… โœ… โœ… โŒ โŒ โŒ
boost โœ… โœ… โœ… โœ… โœ… โœ… โŒ โœ… โŒ
libtorrent โœ… โœ… โœ… โœ… โœ… โœ… โœ… โœ… โŒ
qt5base โœ… โœ… โœ… โœ… โœ… โŒ โŒ โŒ โœ…
qt5ools โœ… โœ… โœ… โœ… โœ… โŒ โŒ โŒ โœ…
qt6base โœ… โœ… โœ… โœ… โœ… โŒ โœ… โŒ โŒ
qt6ools โœ… โœ… โœ… โœ… โœ… โŒ โœ… โŒ โŒ
qbittorrent โœ… โœ… โœ… โœ… โœ… โŒ โœ… โŒ โœ…

qbittorrent-nox-static's People

Contributors

userdocs avatar dependabot[bot] avatar icecodenew avatar angristan avatar xnihil0 avatar codacy-badger avatar boredazfcuk avatar guillaumedsde avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.