void-packages/srcpkgs/retroshare/template

25 lines
953 B
Bash

# Template file for 'retroshare'
pkgname=retroshare
version=0.6.2
revision=3
build_style=qmake
wrksrc="RetroShare-${version}"
homepage="http://retroshare.github.io"
short_desc="A Decentralized Social Sharing Network"
maintainer="Abel Vdo <vdo@greyfaze.net>"
license="GPL-3"
hostmakedepends="pkg-config qt5-qmake"
makedepends="qt5-tools-devel qt5-multimedia-devel qt5-x11extras-devel
libressl-devel libssh-devel zlib-devel bzip2-devel sqlite-devel libopencv-devel
libupnp-devel libgnome-keyring-devel libmicrohttpd-devel sqlcipher-devel
libXScrnSaver-devel libxslt-devel libcurl-devel ffmpeg-devel speex-devel
pulseaudio-devel"
distfiles="https://github.com/RetroShare/RetroShare/archive/v${version}.tar.gz"
checksum=76a3ae2f2089b14562d5be34602f5ae3c73a8549aecee246ea5e67d03018de2b
post_extract() {
sed -i \
's/OPENSSL_VERSION_NUMBER < 0x10100000L/\0 || defined(LIBRESSL_VERSION_NUMBER)/' \
$(grep -lr 'OPENSSL_VERSION_NUMBER < 0x10100000L')
}