diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-08-03 23:20:51 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-08-03 23:20:51 +0000 |
commit | 2e811497c3c5de6d98158bc351775a94eec69b06 (patch) | |
tree | 3804721eb7f6fa9cc0b9d73d771869d4aaee06fd | |
parent | Migrate to python-any-r1, add missing dependency on json-glib. Fixes bug #430... (diff) | |
download | gentoo-2-2e811497c3c5de6d98158bc351775a94eec69b06.tar.gz gentoo-2-2e811497c3c5de6d98158bc351775a94eec69b06.tar.bz2 gentoo-2-2e811497c3c5de6d98158bc351775a94eec69b06.zip |
initial import wrt #175599
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
-rw-r--r-- | net-p2p/retroshare/ChangeLog | 10 | ||||
-rw-r--r-- | net-p2p/retroshare/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/retroshare/metadata.xml | 28 | ||||
-rw-r--r-- | net-p2p/retroshare/retroshare-0.5.4e.ebuild | 131 |
4 files changed, 173 insertions, 0 deletions
diff --git a/net-p2p/retroshare/ChangeLog b/net-p2p/retroshare/ChangeLog new file mode 100644 index 000000000000..3a5efc7399f2 --- /dev/null +++ b/net-p2p/retroshare/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-p2p/retroshare +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/retroshare/ChangeLog,v 1.1 2013/08/03 23:20:51 hasufell Exp $ + +*retroshare-0.5.4e (03 Aug 2013) + + 03 Aug 2013; Julian Ospald <hasufell@gentoo.org> +retroshare-0.5.4e.ebuild, + +metadata.xml: + initial import wrt #175599 + diff --git a/net-p2p/retroshare/Manifest b/net-p2p/retroshare/Manifest new file mode 100644 index 000000000000..1d35cb1c7df0 --- /dev/null +++ b/net-p2p/retroshare/Manifest @@ -0,0 +1,4 @@ +DIST RetroShare-v0.5.4e.tar.gz 9442382 SHA256 a1cc85327213aa3bab0eac0923b546472bb41aacd56a11f5f3be1ba2315a0bda SHA512 8677afc8dab9a834d78537b8eb00e7dd2b8e7689a862270a268e2bb173d2f0d0313703fdcf85eba513cc1c18525fed710260d34e203fd80f87cf0f4ffd357f1f WHIRLPOOL 236fc03248a9d64ec6ea214dea478c6222c36b5d7b542a002ea57e9a493de649c2e4bc87b0deb53e09a668a159ff96e39e100bd86142ef48a89874c9a37195dc +EBUILD retroshare-0.5.4e.ebuild 2853 SHA256 61c8e008da538af17ec67008868bf33252d019db28192941422539f7eb33474a SHA512 4315084e5c174d12ed71a2c32c3f250797306a8158286a0db5f7466902b292cd6d93b4c9812f29cf8be5069688b476c8da9f481d606c30d77390392b7ff0fd5a WHIRLPOOL 3723fde7d3bb1e543d47cf09503eee21411ed9ee1aaf8fee294bdee3985bb644075a565611415a69fa8be028c134a8228693215a82c3640caceadc70b43da33e +MISC ChangeLog 278 SHA256 431c5cb22af9612d7c0f104b4b6c819d5103104f3b217dc1fe88fea96c09ba9a SHA512 71f54448cd35b89448dd5620ff76b348cee68bc2eee0862b97be0a1c16253a2f60cb238d9206d87849f9fdc1a49d21d7f4577ce43d832f7b5d749e666728db3e WHIRLPOOL df65b76545418244b0ec68bfa5c03a9bdd5d853ee0119a2aa0825f7304f5ebf83d7647121447088d437c8404bbfc5fe4d53d4ca302f57337bab0cc8509a32d06 +MISC metadata.xml 1078 SHA256 84a93bc565d644c91a8a72893a70863bf3101d2c7e88e795fb03a3d8a52cedda SHA512 d00f13f36b731ae7c5f4496f8c28cb4ddda586334cf5790c8f4089cf359625e28a21d0e6783412ac07a97375c9a1e649b7e334a9a460bd3e71c395cc7f960cb6 WHIRLPOOL 2199c00aaaffe4588c0862669460d191f3d77cdd2d395c9f51240e91fba6d3dae8ab3053f6c9755599b9228b02fa0b39ea45c056c57385dcca2782093a6c09ba diff --git a/net-p2p/retroshare/metadata.xml b/net-p2p/retroshare/metadata.xml new file mode 100644 index 000000000000..6aed41097de6 --- /dev/null +++ b/net-p2p/retroshare/metadata.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <longdescription lang="en"> + RetroShare is a Open Source cross-platform, Friend-2-Friend and + secure decentralised communication platform. + It lets you to securely chat and share files with your friends + and family, using a web-of-trust to authenticate peers and OpenSSL + to encrypt all communication. + RetroShare provides filesharing, chat, messages, forums and + channels + </longdescription> + <use> + <flag name="cli">Enables the CLI version of RetroShare</flag> + <flag name="feedreader">Enables the Feedreader plugin</flag> + <flag name="qt4">Enables the GUI using qt4</flag> + <flag name="links-cloud">Enables LinkClouds plugin</flag> + <flag name="voip">Enables VOIP plugin</flag> + </use> + <upstream> + <bugs-to>http://sourceforge.net/p/retroshare/bugs</bugs-to> + <remote-id type="sourceforge">retroshare</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-p2p/retroshare/retroshare-0.5.4e.ebuild b/net-p2p/retroshare/retroshare-0.5.4e.ebuild new file mode 100644 index 000000000000..9c286e83bf6e --- /dev/null +++ b/net-p2p/retroshare/retroshare-0.5.4e.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/retroshare/retroshare-0.5.4e.ebuild,v 1.1 2013/08/03 23:20:51 hasufell Exp $ + +EAPI=5 + +inherit eutils multilib gnome2-utils qt4-r2 + +MY_PN="RetroShare" +MY_P="${MY_PN}-v${PV}" + +DESCRIPTION="P2P private sharing application" +HOMEPAGE="http://retroshare.sourceforge.net" +SRC_URI="mirror://sourceforge/retroshare/${MY_P}.tar.gz" + +# pegmarkdown can also be used with MIT +LICENSE="GPL-2 GPL-3 Apache-2.0 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli feedreader links-cloud qt4 voip" +REQUIRED_USE="|| ( cli qt4 ) + feedreader? ( qt4 ) + links-cloud? ( qt4 ) + voip? ( qt4 )" + +RDEPEND=" + app-arch/bzip2 + dev-libs/openssl:0 + gnome-base/libgnome-keyring + net-libs/libupnp + sys-libs/zlib + cli? ( + dev-libs/protobuf + net-libs/libssh[server] + ) + feedreader? ( + dev-libs/libxml2 + dev-libs/libxslt + net-misc/curl + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) + qt4? ( + x11-libs/libX11 + x11-libs/libXScrnSaver + dev-qt/qtcore:4 + || ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 ) + ) + voip? ( + media-libs/speex + dev-qt/qt-mobility[multimedia] + dev-qt/qtmultimedia:4 + )" +DEPEND="${RDEPEND} + dev-qt/qtcore + virtual/pkgconfig" + +S=${WORKDIR}/${P%[a-zA-Z]}/src + +src_prepare() { + local dir + + sed -i \ + -e "s|/usr/lib/retroshare/extensions/|/usr/$(get_libdir)/${PN}/extensions/|" \ + libretroshare/src/rsserver/rsinit.cc \ + || die "sed failed" + + rs_src_dirs="libbitdht/src openpgpsdk/src libretroshare/src supportlibs/pegmarkdown" + use cli && rs_src_dirs="${rs_src_dirs} retroshare-nogui/src" + use qt4 && rs_src_dirs="${rs_src_dirs} retroshare-gui/src" + use links-cloud && rs_src_dirs="${rs_src_dirs} plugins/LinksCloud" + use feedreader && rs_src_dirs="${rs_src_dirs} plugins/FeedReader" + + if use voip ; then + rs_src_dirs="${rs_src_dirs} plugins/VOIP" + echo "QT += multimedia mobility" >> "plugins/VOIP/VOIP.pro" || die + echo "CONFIG += mobility" >> "plugins/VOIP/VOIP.pro" || die + fi +} + +src_configure() { + for dir in ${rs_src_dirs} ; do + cd "${S}"/${dir} || die + eqmake4 + done +} + +src_compile() { + local dir + + for dir in ${rs_src_dirs} ; do + emake -C ${dir} + done + + unset rs_src_dirs +} + +src_install() { + local i + local extension_dir="/usr/$(get_libdir)/${PN}/extensions/" + + use cli && dobin retroshare-nogui/src/retroshare-nogui + use qt4 && dobin retroshare-gui/src/RetroShare + + exeinto "${extension_dir}" + use feedreader && doexe plugins/FeedReader/*.so* + use links-cloud && doexe plugins/LinksCloud/*.so* + use voip && doexe plugins/VOIP/*.so* + + insinto /usr/share/RetroShare + doins libbitdht/src/bitdht/bdboot.txt + + dodoc README.txt + make_desktop_entry RetroShare + for i in 24 48 64 ; do + doicon -s ${i} data/${i}x${i}/${PN}.png + done + doicon -s 128 data/${PN}.png +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |