diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-10-02 23:49:51 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-10-02 23:49:51 +0000 |
commit | 3dd9d84dfe7ac16493219fe7ad33bbbcbc1f996b (patch) | |
tree | 3f6194c560c0a6f590f4ec3feda459d0c98f4597 /net-p2p/retroshare | |
parent | Version bump to 1.4.2 (diff) | |
download | gentoo-2-3dd9d84dfe7ac16493219fe7ad33bbbcbc1f996b.tar.gz gentoo-2-3dd9d84dfe7ac16493219fe7ad33bbbcbc1f996b.tar.bz2 gentoo-2-3dd9d84dfe7ac16493219fe7ad33bbbcbc1f996b.zip |
version bump
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'net-p2p/retroshare')
-rw-r--r-- | net-p2p/retroshare/ChangeLog | 7 | ||||
-rw-r--r-- | net-p2p/retroshare/retroshare-0.5.5a.ebuild | 132 |
2 files changed, 138 insertions, 1 deletions
diff --git a/net-p2p/retroshare/ChangeLog b/net-p2p/retroshare/ChangeLog index f631bfa57095..bf95f86d1f19 100644 --- a/net-p2p/retroshare/ChangeLog +++ b/net-p2p/retroshare/ChangeLog @@ -1,6 +1,11 @@ # 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.2 2013/08/27 16:13:19 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/retroshare/ChangeLog,v 1.3 2013/10/02 23:49:51 hasufell Exp $ + +*retroshare-0.5.5a (02 Oct 2013) + + 02 Oct 2013; Julian Ospald <hasufell@gentoo.org> +retroshare-0.5.5a.ebuild: + version bump 27 Aug 2013; Michael Palimaka <kensington@gentoo.org> retroshare-0.5.4e.ebuild: diff --git a/net-p2p/retroshare/retroshare-0.5.5a.ebuild b/net-p2p/retroshare/retroshare-0.5.5a.ebuild new file mode 100644 index 000000000000..676fe553fd0a --- /dev/null +++ b/net-p2p/retroshare/retroshare-0.5.5a.ebuild @@ -0,0 +1,132 @@ +# 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.5a.ebuild,v 1.1 2013/10/02 23:49: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}.zip" + +# 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} + app-arch/unzip + dev-qt/qtcore + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +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} build_scripts/Ubuntu_src/data/${i}x${i}/${PN}.png + done + doicon -s 128 build_scripts/Ubuntu_src/data/${PN}.png +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |