void-packages/srcpkgs/retroshare/template

25 lines
953 B
Bash

# Template file for 'retroshare'
pkgname=retroshare
version=0.6.3
revision=2
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=ddb64aa5148fdc950d4426f52f1cbb11578619b1242614e3c4ca4792ee5ce30b
post_extract() {
sed -i \
's/OPENSSL_VERSION_NUMBER < 0x10100000L/\0 || defined(LIBRESSL_VERSION_NUMBER)/' \
$(grep -lr 'OPENSSL_VERSION_NUMBER < 0x10100000L')
}