mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
qBittorrent: add recipe for version 3.2.3
This commit is contained in:
46
net-p2p/qbittorrent/additional-files/qbittorrent.rdef
Normal file
46
net-p2p/qbittorrent/additional-files/qbittorrent.rdef
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
|
||||||
|
resource app_signature "application/x-vnd.qbittorrent";
|
||||||
|
|
||||||
|
resource app_flags B_MULTIPLE_LAUNCH;
|
||||||
|
|
||||||
|
resource app_version {
|
||||||
|
major = 3,
|
||||||
|
middle = 2,
|
||||||
|
minor = 3,
|
||||||
|
|
||||||
|
variety = B_APPV_DEVELOPMENT,
|
||||||
|
internal = 0,
|
||||||
|
|
||||||
|
short_info = "qBittorrent",
|
||||||
|
long_info = "qBittorrent - BitTorrent client in C++ and Qt.\nCopyright ©2006-2015 Christophe Dumez"
|
||||||
|
};
|
||||||
|
|
||||||
|
resource vector_icon array {
|
||||||
|
$"6E63696607020006023A8B003BCA3CBF52533E3A8B4B46E046FD4900FFFFFFFF"
|
||||||
|
$"F2F8FF0400660200060238738CBA0C5E3F6EB23E0DCC44A2264427B800B40000"
|
||||||
|
$"FF5B02020200060239C3163C3867BFAEE53D1ECE4C14A744DF2200FF9E9EFFFF"
|
||||||
|
$"000003848EA305010201020237C7B9B8FBBB3A125A38A00246C32D4AAB6100A7"
|
||||||
|
$"FF00FFFFA7FF00000B0608ABFFC984C73BCA34C643C984C73BC4CECBB2C1DFC9"
|
||||||
|
$"E3C21CC87AC694C4B1C694C4B1C64CC3C4C467C300C54BC33EC4D9C21DC5BBC0"
|
||||||
|
$"584EC13BC7A0C0D4CA00C416C9C2C209CA1FC5230607AB2ABF4B4CBF0DC474BF"
|
||||||
|
$"4B4CBC65C6A0BA05C52DBA6CC3EDBEF9C0DEBFBD42BE16C3CF0613FBABFAAB3A"
|
||||||
|
$"C62DB7F8C78CBA1FC62DB7F8C62CB7F6C4F7B648C4F7B648C443B54AC21AB41E"
|
||||||
|
$"C349B484BE69B2DEB8B7B869BA51B518B8B7B869B713BBAD263EB827C077B9FD"
|
||||||
|
$"C10EBB91BDEBBD4ABA82BD4ABA82BE59B8B5C1E1B904C07DB844C270BA1AC1D8"
|
||||||
|
$"BC99C27ABB8AC1D8BC99C006C039BE34C3D9C192C5BBC2DBC5F8C499C281C657"
|
||||||
|
$"BF09C657BF09C757BD880606FE0BB9DBBD16BB8DB9B7BB8DB9B7BC8CB7DCC058"
|
||||||
|
$"B79CBE88B6F8C106B7D9C1E0B904C18BB85EC07DB844BD4ABA82BE59B8B5BD4A"
|
||||||
|
$"BA82BB91BDEB0608FEBFC376C1F8C55ABE35C55ABE35C6C8BB7BC4F7B648C679"
|
||||||
|
$"B861C4F7B648C612B7D2C612B7D2C61AB7DEC62CB7F6C625B7EAC62CB7F6C62D"
|
||||||
|
$"B7F8C62DB7F8C78CBA1FC657BF09C7B7BC8EC657BF09C499C281060BFEEB2FB9"
|
||||||
|
$"DBBD16BB8DB9B7BB8DB9B7BC8CB7DCC058B79CBE88B6F8C106B7D9C1E0B904C1"
|
||||||
|
$"8BB85EC26FBA1AC1D8BC99C279BB8AC1D8BC99C005C039C376C1F8C55ABE35C5"
|
||||||
|
$"5ABE35C775BA32C21AB41EC5CBB55FBE69B2DEB8B7B869BA50B518B8B7B869B7"
|
||||||
|
$"12BBAD0A04C376C1F8C192C5BBC2DBC5F8C499C2810A04B9DBBD16B827C077B9"
|
||||||
|
$"FDC10EBB91BDEB0A04B713BBADB56EBEF1B827C077B9DBBD160A04C006C039BE"
|
||||||
|
$"34C3D9C192C5BBC376C1F800022F462F442F4C2950294A29540E0A0102000110"
|
||||||
|
$"01158400040A05010218001501178600040A0501021815FF01178400040A0201"
|
||||||
|
$"03000A020104000A030105000A040106000A040107000A000108000A00010900"
|
||||||
|
$"0A06010A302E2801178200040A06010A30342C01178200040A06010A30181C01"
|
||||||
|
$"178200040A06010A301E200117820004"
|
||||||
|
};
|
||||||
70
net-p2p/qbittorrent/qbittorrent-3.2.3.recipe
Normal file
70
net-p2p/qbittorrent/qbittorrent-3.2.3.recipe
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
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"
|
||||||
|
SOURCE_URI="http://sourceforge.net/projects/qbittorrent/files/qbittorrent/qbittorrent-$portVersion/qbittorrent-$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="d4ebaab27fdebd37aa3c7f221c8c3d12a40d22d9e5423d1eec235d4085cc7358"
|
||||||
|
REVISION="1"
|
||||||
|
|
||||||
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86 !x86_gcc2"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
qbittorrent = $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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user