retroshare: build against miniupnpc
This commit is contained in:
parent
45a5a4e753
commit
5860027768
1 changed files with 15 additions and 5 deletions
|
@ -1,12 +1,14 @@
|
||||||
# Template file for 'retroshare'
|
# Template file for 'retroshare'
|
||||||
pkgname=retroshare
|
pkgname=retroshare
|
||||||
version=0.6.5
|
version=0.6.5
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="RetroShare-${version}"
|
wrksrc="RetroShare-${version}"
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
hostmakedepends="pkg-config qt5-qmake"
|
configure_args="RS_UPNP_LIB=miniupnpc"
|
||||||
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools
|
||||||
|
qt5-tools-devel qt5-multimedia-devel qt5-x11extras-devel"
|
||||||
makedepends="ffmpeg-devel libgnome-keyring-devel libmicrohttpd-devel
|
makedepends="ffmpeg-devel libgnome-keyring-devel libmicrohttpd-devel
|
||||||
libopencv-devel libssh-devel libupnp-devel libXScrnSaver-devel libxslt-devel
|
libopencv-devel libssh-devel miniupnpc-devel libXScrnSaver-devel libxslt-devel
|
||||||
pulseaudio-devel qt5-multimedia-devel qt5-tools-devel qt5-x11extras-devel
|
pulseaudio-devel qt5-multimedia-devel qt5-tools-devel qt5-x11extras-devel
|
||||||
speex-devel sqlcipher-devel sqlite-devel rapidjson"
|
speex-devel sqlcipher-devel sqlite-devel rapidjson"
|
||||||
short_desc="Decentralized, private and secure commmunication and sharing platform"
|
short_desc="Decentralized, private and secure commmunication and sharing platform"
|
||||||
|
@ -16,5 +18,13 @@ homepage="https://retroshare.cc"
|
||||||
distfiles="https://github.com/RetroShare/RetroShare/archive/v${version}.tar.gz"
|
distfiles="https://github.com/RetroShare/RetroShare/archive/v${version}.tar.gz"
|
||||||
checksum=901a1d1f282e04118fbe0e24190355b4a8f355a806cc5448738b1d691b46f5d5
|
checksum=901a1d1f282e04118fbe0e24190355b4a8f355a806cc5448738b1d691b46f5d5
|
||||||
|
|
||||||
nocross="https://travis-ci.org/voidlinux/void-packages/jobs/375096223#L1160
|
post_patch() {
|
||||||
https://travis-ci.org/voidlinux/void-packages/jobs/375096224#L1668"
|
# upnputil.c includes a C++ header, so make sure qmake recognizes it as C++
|
||||||
|
mv libretroshare/src/upnp/upnputil.{c,cc}
|
||||||
|
vsed -i libretroshare/src/libretroshare.pro \
|
||||||
|
-e 's,\bupnp/upnputil.c\b,upnp/upnputil.cc,'
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue