diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2016-08-06 05:30:54 +0200 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2016-08-06 05:32:36 +0200 |
commit | 1cb60235e1522c72f276d7743d68c3b770d5a8b8 (patch) | |
tree | 9258327d45e770a1af153203b60728e1d091b675 /net-libs/qxmpp | |
parent | app-laptop/tp_smapi: new version 0.42. (diff) | |
download | gentoo-1cb60235e1522c72f276d7743d68c3b770d5a8b8.tar.gz gentoo-1cb60235e1522c72f276d7743d68c3b770d5a8b8.tar.bz2 gentoo-1cb60235e1522c72f276d7743d68c3b770d5a8b8.zip |
net-libs/qxmpp: Version bump, bug 581906.
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-libs/qxmpp')
-rw-r--r-- | net-libs/qxmpp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/qxmpp/qxmpp-0.9.3.ebuild | 83 |
2 files changed, 84 insertions, 0 deletions
diff --git a/net-libs/qxmpp/Manifest b/net-libs/qxmpp/Manifest index 213b5c9b9577..a63db73a1ed4 100644 --- a/net-libs/qxmpp/Manifest +++ b/net-libs/qxmpp/Manifest @@ -3,3 +3,4 @@ DIST qxmpp-0.7.5.tar.gz 1075987 SHA256 0137da4b176e16bb72c5efde4cec7da750f25ce7d DIST qxmpp-0.7.6.tar.gz 1070098 SHA256 4218582cfe09df1999532b25297264fce4f14ff87e5277a35b2e359716b6d240 SHA512 a5d317c9948fdfad379578c186fec749537d250814575f87aefff9eb5fc1d5ef9983373ce36f19d6f8d727032e576bb5381e883ba2ce9430b13a315905475b3a WHIRLPOOL 9f32965b6ab21f826b4d3614059494bac803d8a6654ff86ae2922bc486c6bec955ad702f2d8e150ecba4bd93db4499779cbe368f4a925fc1c6ba0628ee618cfa DIST qxmpp-0.8.0.tar.gz 1115730 SHA256 6a5e40b67bfbc2315f2b8bc0210e7556b0b9903e18b4f68267072f3421f74712 SHA512 b4e3afa9a4ffdc03d2baf9660986d0cf4de5c2c7d1518ad83cd9b252ff7822da66d9356eab49ce9bd642884a41ec3b72f8d4e2cda964a9276d525d4895c6165f WHIRLPOOL 4694ec5ee96512516fc3b195857db247e81cf8677c1f97870f8f89463c03b83d67a550dc8571c32ae44e57a48d5ce87f5e237eecc9ccde73fccc273a8f688711 DIST qxmpp-0.8.2.tar.gz 282577 SHA256 518e156198a10404d7d3eae55ab4b91528e9422f636e7856cc8bfe59a8ceb326 SHA512 5442d9f3b5be5f1e13416fca0d865324c2d0103fe81f83d3b63d36bda23fcf633e28e349c2a3e1b826f6e2c5c082c0b2e67962173650f4aae024313e7a345fc0 WHIRLPOOL e1bb3b12189153443141ee1902d4a08db20c8bd89044356eca8883b3c30b5b933ccedbd72c3a787e470ab543c0b1364d970817a36fa7c28483c4d3dafc1a331e +DIST qxmpp-0.9.3.tar.gz 300764 SHA256 13f5162a1df720702c6ae15a476a4cb8ea3e57d861a992c4de9147909765e6de SHA512 c6ada4398468b9ce84955ab3a1ca155afe3098dfe39dc952c3675be1a1e3a4f118f8b1e251567bc124faa645d2654252d3e32d94e21aae79547056a10a2d6a71 WHIRLPOOL 623447034d769cc6a601459d8b6828dab1b72ba892e69040a86d82b0649567998305d07fd23d520fa2dca1147a87a72e2bffb0793cce09277b636a22fa51ca0b diff --git a/net-libs/qxmpp/qxmpp-0.9.3.ebuild b/net-libs/qxmpp/qxmpp-0.9.3.ebuild new file mode 100644 index 000000000000..fcd0ae7bfffd --- /dev/null +++ b/net-libs/qxmpp/qxmpp-0.9.3.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit qmake-utils eutils multilib + +DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework" +HOMEPAGE="https://github.com/qxmpp-project/qxmpp/" +SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="debug doc opus +qt4 qt5 +speex test theora vpx" + +REQUIRED_USE="^^ ( qt4 qt5 )" + +RDEPEND=" + qt4? ( dev-qt/qtcore:4 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 + ) + opus? ( media-libs/opus ) + speex? ( media-libs/speex ) + theora? ( media-libs/libtheora ) + vpx? ( media-libs/libvpx ) +" +DEPEND="${RDEPEND} + test? ( + qt4? ( dev-qt/qttest:4 ) + qt5? ( dev-qt/qttest:5 ) + ) +" + +src_prepare(){ + if ! use doc; then + sed -i \ + -e '/SUBDIRS/s/doc//' \ + -e '/INSTALLS/d' \ + qxmpp.pro || die "sed for removing docs failed" + fi + if ! use test; then + sed -i -e '/SUBDIRS/s/tests//' \ + qxmpp.pro || die "sed for removing tests failed" + fi + # There is no point in building examples. Also, they require dev-qt/qtgui + sed -i -e '/SUBDIRS/s/examples//' \ + qxmpp.pro || die "sed for removing examples failed" + default_src_prepare +} + +src_configure(){ + local conf_speex + local conf_theora + local conf_vpx + + use opus && conf_opus="QXMPP_USE_OPUS=1" + use speex && conf_speex="QXMPP_USE_SPEEX=1" + use theora && conf_theora="QXMPP_USE_THEORA=1" + use vpx && conf_vpx="QXMPP_USE_VPX=1" + + local eqmake="eqmake4" + use qt5 && eqmake="eqmake5" + ${eqmake} "${S}"/qxmpp.pro "PREFIX=${EPREFIX}/usr" "LIBDIR=$(get_libdir)" "${conf_opus}" "${conf_speex}" "${conf_theora}" "${conf_vpx}" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + if use doc; then + # Use proper path for documentation + mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die "doc mv failed" + fi +} + +src_test() { + MAKEOPTS="-j1" # random tests fail otherwise + default_src_test +} |