mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
73 lines
2.0 KiB
Bash
73 lines
2.0 KiB
Bash
SUMMARY="BitTorrent client in C++ and Qt"
|
|
DESCRIPTION="The qBittorrent project aims to provide a Free Software \
|
|
alternative to µtorrent. Additionally, qBittorrent runs and provides \
|
|
the same features on all major platforms (Linux, Mac OS X, Windows, \
|
|
OS/2, FreeBSD).
|
|
|
|
qBittorrent is based on Qt4 toolkit and libtorrent-rasterbar."
|
|
HOMEPAGE="http://www.qbittorrent.org/"
|
|
COPYRIGHT="2006-2015 The qBittorrent project"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
SOURCE_URI="http://sourceforge.net/projects/qbittorrent/files/qbittorrent/qbittorrent-$portVersion/qbittorrent-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="d4ebaab27fdebd37aa3c7f221c8c3d12a40d22d9e5423d1eec235d4085cc7358"
|
|
ADDITIONAL_FILES="qbittorrent.rdef"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86 !x86_gcc2"
|
|
|
|
PROVIDES="
|
|
qbittorrent$secondaryArchSuffix = $portVersion
|
|
app:qBittorrent = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
libqt4${secondaryArchSuffix} >= 4.8.0
|
|
lib:libboost_system$secondaryArchSuffix
|
|
lib:libtorrent_rasterbar$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
libqt4${secondaryArchSuffix}_devel >= 4.8.0
|
|
boost${secondaryArchSuffix}_devel
|
|
devel:libboost_system$secondaryArchSuffix
|
|
devel:libexecinfo$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libtorrent_rasterbar$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
bootstrap.sh
|
|
BOOST_CPPFLAGS=-I/system/$relativeHearersDir runConfigure \
|
|
./configure --with-boost-libdir=/system/$relativeLibDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
make install
|
|
mv $prefix/bin/qbittorrent $appsDir/qBittorrent
|
|
strip $appsDir/qBittorrent
|
|
addResourcesToBinaries $portDir/additional-files/qbittorrent.rdef \
|
|
$appsDir/qBittorrent
|
|
rm -r $prefix/{bin,data,documentation}
|
|
|
|
# TODO: install locale files from dist/qt-translations
|
|
|
|
addAppDeskbarSymlink $appsDir/qBittorrent
|
|
}
|