mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
106 lines
3.0 KiB
Bash
106 lines
3.0 KiB
Bash
SUMMARY="An open source application that offers secure chat and file sharing"
|
|
DESCRIPTION="Retroshare creates encrypted connections to your friends. Nobody \
|
|
can spy on you. Retroshare is completely decentralized. This means there are \
|
|
no central servers. It is entirely Open-Source and free. There are no costs, \
|
|
no ads and no Terms of Service."
|
|
HOMEPAGE="http://retroshare.sourceforge.net/"
|
|
COPYRIGHT="2006-2015, drbob"
|
|
LICENSE="
|
|
GNU GPL v2
|
|
GNU LGPL v2.1
|
|
"
|
|
SOURCE_URI="https://github.com/RetroShare/RetroShare/archive/v0.6.0-RC2-SVN.zip"
|
|
SOURCE_DIR="RetroShare-0.6.0-RC2-SVN"
|
|
CHECKSUM_SHA256="a5c75a274cd2f2028a2f96d3b0188fd9297505d4b47fb5e338bd6bada618baab"
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86 !x86_gcc2"
|
|
|
|
PROVIDES="
|
|
retroshare$secondaryArchSuffix = $portVersion
|
|
app:RetroShare = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
qt5base${secondaryArchSuffix}
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libgpgme$secondaryArchSuffix
|
|
lib:libmicrohttpd$secondaryArchSuffix
|
|
# lib:linopencv$secondaryArchSuffix
|
|
# lib:libspeex$secondaryArchSuffix
|
|
# lib:libsqlcipher$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libupnp$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libxslt$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
qt5base${secondaryArchSuffix}
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libcrypto$secondaryArchSuffix
|
|
devel:libcurl$secondaryArchSuffix
|
|
devel:libgl$secondaryArchSuffix
|
|
devel:libgpgme$secondaryArchSuffix
|
|
devel:libmicrohttpd$secondaryArchSuffix
|
|
# devel:linopencv$secondaryArchSuffix
|
|
# devel:libspeex$secondaryArchSuffix
|
|
# devel:libsqlcipher$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libupnp$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libxslt$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
PATCHES="retroshare_x86-0.6.0.patchset"
|
|
|
|
PATCH()
|
|
{
|
|
# disable VOIP plugin for now since we don't have opencv package yet
|
|
sed -i 's/VOIP/#VOIP/g' plugins/plugins.pro
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
# TODO: change path: /boot/home/.retroshare
|
|
# TODO: for extra security use libsqlcipher instead of libsqlite3
|
|
# FIXME: plugins don't seem to be looked up correctly
|
|
|
|
pushd supportlibs/pegmarkdown
|
|
qmake
|
|
make $jobArg
|
|
popd
|
|
|
|
qmake CONFIG=release
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/RetroShare/plugins
|
|
cp retroshare-gui/src/RetroShare $appsDir/RetroShare
|
|
cp -r plugins/FeedReader/*.so* $appsDir/RetroShare/plugins
|
|
# cp -r plugins/VOIP $appsDir/RetroShare/plugins
|
|
strip -s $appsDir/RetroShare/RetroShare
|
|
|
|
addResourcesToBinaries $portDir/additional-files/retroshare.rdef $appsDir/RetroShare/RetroShare
|
|
addAppDeskbarSymlink $appsDir/RetroShare/RetroShare
|
|
}
|