2019-02-11 08:54:33 -05:00
|
|
|
# Maintainer: Gioacchino Mazzurco <gio@altermundi.net>
|
2018-10-08 17:56:05 -04:00
|
|
|
# Contributor: AsamK
|
|
|
|
# Contributor: sehraf
|
|
|
|
# Contributor: stqn
|
|
|
|
# Contributor: JHeaton <jheaton at archlinux dot us>
|
|
|
|
# Contributor: Tristero <tristero at online dot de>
|
|
|
|
# Contributor: funkyou
|
|
|
|
|
2019-02-11 08:54:33 -05:00
|
|
|
pkgname=retroshare-service
|
|
|
|
pkgver=stable
|
2018-10-08 17:56:05 -04:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail. System service version."
|
|
|
|
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
2019-02-11 08:54:33 -05:00
|
|
|
url="https://retroshare.cc/"
|
2018-10-08 17:56:05 -04:00
|
|
|
license=('AGPL' 'GPL' 'LGPL')
|
|
|
|
depends=('bzip2' 'libupnp' 'libzip' 'openssl' 'rapidjson' 'sqlcipher' 'xapian-core')
|
|
|
|
makedepends=('cmake' 'doxygen' 'git' 'pkgconf' 'qt5-tools')
|
|
|
|
provides=('retroshare-service')
|
|
|
|
conflicts=('retroshare-service')
|
|
|
|
|
2019-02-11 08:54:33 -05:00
|
|
|
source=(RetroShare.tar.gz)
|
2018-10-08 17:56:05 -04:00
|
|
|
|
2019-02-11 08:54:33 -05:00
|
|
|
md5sums=('45a438fb9a862542cc651c6f5ff28fac')
|
2018-10-08 17:56:05 -04:00
|
|
|
|
|
|
|
prepare() {
|
2019-02-11 08:54:33 -05:00
|
|
|
cd "${srcdir}/RetroShare"
|
2018-10-08 17:56:05 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2019-02-11 08:54:33 -05:00
|
|
|
cd "${srcdir}/RetroShare"
|
2018-10-08 17:56:05 -04:00
|
|
|
qmake-qt5 PREFIX=/usr DATA_DIR=/usr/share/retroshare CONFIG-=debug \
|
|
|
|
CONFIG+=ipv6 CONFIG+=no_retroshare_android_service \
|
|
|
|
CONFIG+=no_retroshare_android_notify_service \
|
|
|
|
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
|
|
|
CONFIG+=no_retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
|
|
|
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
|
|
|
CONFIG+=retroshare_service CONFIG+=rs_jsonapi CONFIG+=rs_deep_search \
|
2019-02-11 08:54:33 -05:00
|
|
|
CONFIG+=release \
|
|
|
|
RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 \
|
|
|
|
RS_EXTRA_VERSION="-retroshare-service-OBS-Arch"
|
2018-10-08 17:56:05 -04:00
|
|
|
make -j$(nproc) || make -j$(nproc) || make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-02-11 08:54:33 -05:00
|
|
|
cd "${srcdir}/RetroShare"
|
2018-10-08 17:56:05 -04:00
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
}
|