Files
haikuports/net-p2p/retroshare/retroshare-0.6.4.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

197 lines
5.6 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-2018 RetroShare Team
1989-1991 Free Software Foundation Inc.
1995-1998 Eric Young
1996-2001 Takuya OOURA
1997, 2000, 2001, 2002, 2006 Benjamin Sittler
2001-2004 Roger Dingledine
2003 Justin Karneges
2003 Kristen Wegner
2004 Xavier Decoret
2004-2005 John Gruber
2004-2006 Robert Fernie.
2004-2006 Roger Dingledine Nick Mathewson
2004-2007 Kefei Zhou.
2004-2007 Trolltech ASA.
2004-2008 Cyril Soler
2004-2009 Marcelo Roberto Jimenez
2005 Thomas Bernard
2005-2009 Nominet UK
2005-2010 Thorvald Natvig
2006 Christophe Dumez
2006 Matt Edman Justin Hipple
2006 Raul E.
2006-2009 aMule Team
2006-2010 Arseny Kapoulkine
2006, 2007, 2008 crypton
2007 2012 Ian Piumarta
2007 Ariya Hidayat
2007 Ian Piumarta
2007 Ramiro Polla
2007 Stefan Goessner
2007-2011 drbob
2007-2008 Christopher Evi-Parker Cyril Soler
2007-2008 Cyril Soler
2007-2008 Horatio
2007-2008 Kashif Kaleem
2007-2008 Robert Fernie Horatio Chris Parker
2007-2014 Thunder
2007-2008 Vinny Do Chris Evi-Parker
2007-2008 Xesc & Technology
2007-2010 Robert Fernie
2007-2010 The Tor Project Inc.
2007-2010 Xesc & Technology
2007-2011 Robert Fernie
2008 Ariya Hidayat
2008 Cyril Soler
2008 defnax
2008 djhasis
2008 edmanm
2008 Matt Edman Justin Hipple
2008 Timo Bingmann
2008 Unipro Russia
2008-2008 Robert Fernie.
2008-2009 Golnaz Nilieh
2008-2009 John MacFarlane
2008-2009 Mehrdad Momeny
2008-2009 Raghu Dev R.
2009 defnax
2009 lsn752
2009 Nokia Corporation andor its subsidiary(-ies).
2010 csoler
2010 Peter Zotov
2010 Thomas Kister
2011 csoler
2012 Romain Pokrzywka (KDAB)
2013 Digia Plc andor its subsidiary(-ies).
2013 Jeff Weinstein
2013-2014 Colin Duquesnoy
2014 John Brooks
2015 electron128
2016 defnax
2016 John Brooks
2016 Manu Pineda
2016 Mr.Alice
2016-2018 Gioacchino Mazzurco
2017 Konrad Dębiec"
LICENSE="GNU GPL v2
GNU LGPL v2.1"
REVISION="8"
SOURCE_URI="https://github.com/RetroShare/RetroShare/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="84355c0f3be5ec1dfa7253e327ea1254f76f47739c233cfb8d0983ebd1a61f4a"
SOURCE_DIR="RetroShare-$portVersion"
PATCHES="retroshare-$portVersion.patchset"
ADDITIONAL_FILES="retroshare.rdef"
ARCHITECTURES="!all"
SECONDARY_ARCHITECTURES="!x86"
PROVIDES="
retroshare$secondaryArchSuffix = $portVersion
app:RetroShare = $portVersion
cmd:retroshare_nogui = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libgpgme$secondaryArchSuffix
lib:libixml$secondaryArchSuffix
lib:libmicrohttpd$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Multimedia$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
lib:libQt5PrintSupport$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
lib:libQt5Xml$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
devel:libavcodec$secondaryArchSuffix
devel:libavformat$secondaryArchSuffix
devel:libavutil$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libgl$secondaryArchSuffix
devel:libgpgme$secondaryArchSuffix
devel:libixml$secondaryArchSuffix
devel:libmicrohttpd$secondaryArchSuffix
devel:libopencv_core$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Multimedia$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
devel:libQt5PrintSupport$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
devel:libQt5Xml$secondaryArchSuffix
devel:libspeex$secondaryArchSuffix
devel:libspeexdsp$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:awk
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
defineDebugInfoPackage retroshare$secondaryArchSuffix \
$appsDir/RetroShare/RetroShare \
$binDir/retroshare-nogui
BUILD()
{
echo "Building pegmarkdown..."
cd supportlibs/pegmarkdown && qmake && make clean && make $jobArgs && cd ../..
echo "Building FeedReader plugin..."
cd plugins/FeedReader && qmake && make clean && make $jobArgs && cd ../..
echo "Building VOIP plugin..."
cd plugins/VOIP && qmake && make clean && make $jobArgs && cd ../..
echo "Building RetroShare..."
qmake \
PREFIX=$appsDir/Retroshare \
LIB_DIR=$libDir
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/RetroShare/plugins $binDir
cp retroshare-gui/src/retroshare $appsDir/RetroShare/RetroShare
cp retroshare-nogui/src/retroshare-nogui $binDir/retroshare-nogui
cp -r plugins/FeedReader/*.so* $appsDir/RetroShare/plugins
cp -r plugins/VOIP/*.so* $appsDir/RetroShare/plugins
addResourcesToBinaries $portDir/additional-files/retroshare.rdef \
$appsDir/RetroShare/RetroShare
addAppDeskbarSymlink $appsDir/RetroShare/RetroShare
}