summaryrefslogtreecommitdiff
path: root/pcr/retroshare
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2017-03-12 20:42:23 -0400
committerGaming4JC <g4jc@openmailbox.org>2017-03-12 20:42:23 -0400
commite35d80b6dd1427f929bb61de5ccb8b9f8583da85 (patch)
tree9269d777299e80ed586bfbbe789b11a94971c945 /pcr/retroshare
parent64fbb1b98d72ed77db4dc304b1af2f0ba7a2b6c4 (diff)
downloadabslibre-e35d80b6dd1427f929bb61de5ccb8b9f8583da85.tar.gz
abslibre-e35d80b6dd1427f929bb61de5ccb8b9f8583da85.tar.bz2
abslibre-e35d80b6dd1427f929bb61de5ccb8b9f8583da85.zip
update retroshare
Diffstat (limited to 'pcr/retroshare')
-rw-r--r--pcr/retroshare/PKGBUILD29
1 files changed, 21 insertions, 8 deletions
diff --git a/pcr/retroshare/PKGBUILD b/pcr/retroshare/PKGBUILD
index 4f8a0b3ad..3e05020d3 100644
--- a/pcr/retroshare/PKGBUILD
+++ b/pcr/retroshare/PKGBUILD
@@ -8,32 +8,44 @@
_build_feedreader=true
_build_voip=true
+# Set this to 'true' to enable auto login
+#_autologin='true'
+
# set this to 'true' to use clang for compiling (experimental)
-_clang=
+#_clang='true'
+
+### Nothing to be changed below this line ###
pkgname=retroshare
-pkgver=0.6.1
+pkgver=0.6.2
pkgrel=1
pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="http://retroshare.sourceforge.net/"
license=('GPL' 'LGPL')
-#qt 5
-depends=('qt5-multimedia' 'qt5-x11extras' 'libupnp' 'libgnome-keyring' 'libxss' 'libmicrohttpd' 'sqlcipher')
+depends=('qt5-multimedia' 'qt5-x11extras' 'libupnp' 'libxss' 'libmicrohttpd' 'sqlcipher')
makedepends=('git' 'qt5-tools')
+
optdepends=('tor: tor hidden node support'
'i2p: i2p hidden node support')
+
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+
source=("https://github.com/RetroShare/RetroShare/archive/v${pkgver}.tar.gz")
-sha256sums=('4ffbb6c61538f80d0f667c2a155c5eac38b0722a3e8d4f1dc1487d10087cfe42')
+sha256sums=('76a3ae2f2089b14562d5be34602f5ae3c73a8549aecee246ea5e67d03018de2b')
# Add missing dependencies if needed
[[ "$_build_voip" == 'true' ]] && depends=(${depends[@]} 'ffmpeg' 'opencv')
[[ "$_build_feedreader" == 'true' ]] && depends=(${depends[@]} 'curl' 'libxslt')
[[ "$_clang" == 'true' ]] && makedepends=(${makedepends[@]} 'clang')
+[[ "$_autologin" == 'true' ]] && depends=(${depends[@]} 'libgnome-keyring')
# Set options for qmake
-_options=''
-[[ "$_clang" == 'true' ]] && _options='-spec linux-clang CONFIG+=c++11'
+_optClang=''
+_optAutol=''
+[[ "$_clang" == 'true' ]] && _optClang='-spec linux-clang CONFIG+=c++11'
+[[ "$_autologin" == 'true' ]] && _optAutol='CONFIG+=rs_autologin'
build() {
cd "${srcdir}/RetroShare-${pkgver}"
@@ -52,7 +64,8 @@ build() {
cd ../..
qmake CONFIG-=debug CONFIG+=release \
- ${_options} \
+ CONFIG+=rs_nodeprecatedwarning \
+ ${_optAutol} ${_optClang} \
QMAKE_CFLAGS_RELEASE="${CFLAGS}"\
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}"\
RetroShare.pro