From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-libs/qxmpp/Manifest | 8 ++++ net-libs/qxmpp/metadata.xml | 21 +++++++++++ net-libs/qxmpp/qxmpp-0.8.0.ebuild | 59 +++++++++++++++++++++++++++++ net-libs/qxmpp/qxmpp-0.9.3-r1.ebuild | 72 +++++++++++++++++++++++++++++++++++ net-libs/qxmpp/qxmpp-9999.ebuild | 73 ++++++++++++++++++++++++++++++++++++ 5 files changed, 233 insertions(+) create mode 100644 net-libs/qxmpp/Manifest create mode 100644 net-libs/qxmpp/metadata.xml create mode 100644 net-libs/qxmpp/qxmpp-0.8.0.ebuild create mode 100644 net-libs/qxmpp/qxmpp-0.9.3-r1.ebuild create mode 100644 net-libs/qxmpp/qxmpp-9999.ebuild (limited to 'net-libs/qxmpp') diff --git a/net-libs/qxmpp/Manifest b/net-libs/qxmpp/Manifest new file mode 100644 index 000000000000..8aaaa6afcd27 --- /dev/null +++ b/net-libs/qxmpp/Manifest @@ -0,0 +1,8 @@ +DIST qxmpp-0.8.0.tar.gz 1115730 SHA256 6a5e40b67bfbc2315f2b8bc0210e7556b0b9903e18b4f68267072f3421f74712 SHA512 b4e3afa9a4ffdc03d2baf9660986d0cf4de5c2c7d1518ad83cd9b252ff7822da66d9356eab49ce9bd642884a41ec3b72f8d4e2cda964a9276d525d4895c6165f WHIRLPOOL 4694ec5ee96512516fc3b195857db247e81cf8677c1f97870f8f89463c03b83d67a550dc8571c32ae44e57a48d5ce87f5e237eecc9ccde73fccc273a8f688711 +DIST qxmpp-0.9.3.tar.gz 300764 SHA256 13f5162a1df720702c6ae15a476a4cb8ea3e57d861a992c4de9147909765e6de SHA512 c6ada4398468b9ce84955ab3a1ca155afe3098dfe39dc952c3675be1a1e3a4f118f8b1e251567bc124faa645d2654252d3e32d94e21aae79547056a10a2d6a71 WHIRLPOOL 623447034d769cc6a601459d8b6828dab1b72ba892e69040a86d82b0649567998305d07fd23d520fa2dca1147a87a72e2bffb0793cce09277b636a22fa51ca0b +EBUILD qxmpp-0.8.0.ebuild 1544 SHA256 27d25e0fc06dff0f69c76ff8ac0ef3aa0fed4e9c535eeb9d52ae6bb5d6fbc249 SHA512 6d6c09eae7acb85bdc6f8f03a0962c71f02fb4f669aff259aff601d00c8b3be17670ba44ec72cd08a488d065c882c6538eda7bcb7bd6021a12dcf8e0581d925f WHIRLPOOL f30b3d86c04e82e7831802ce27e6aa525cbdccf381dc614d58e0d4c3a258c81f33fc5be3fac3485cdf9d96a6b162144d6036305d5d1a361caee42346745a848e +EBUILD qxmpp-0.9.3-r1.ebuild 1831 SHA256 9614f520ec082289f9ccd7681e7da2c5d192c1a4c59313fd5ecff76c51cfebb6 SHA512 7d96a9e6e247d2e8c6ea1d1c8edf552fee0530b7e328357f02d2082e66b53d6dfc9826657449351eca1007aff85666f695008e61b5c1c379284e68c6a5932e58 WHIRLPOOL 57ff2f7f955cfe831adc2c291551fdaa07086bb3dc77f1f39f3053436ac72bf3e1153c38e179aa8d4935cda2a3b6f11c673fb689ac21f888beed4407935e2fdd +EBUILD qxmpp-9999.ebuild 1784 SHA256 bb7a8922b85cf9657770e552e20549f358c9faeed4e95f7652a42fb830d436ec SHA512 40e0c2b35ed81dd304df95feb634164ab69012641504df03e3dd9dfeba76437644e3d9125d33535a31e7e80ec39db6ca5efdbaa49f885e405bf9b650dc79a576 WHIRLPOOL 75601489b4f705d4186044dd90c25ba929a4c594eca435571b35f5af49617d53e82e9818388379fd5d21dc522098db1021d987f7072416f444c740464cde24e3 +MISC ChangeLog 3489 SHA256 a41ac809c6e6d0e71d2d14096d2ae179e4a9e2cc6cbca0ee47a34ab1773ebc63 SHA512 39c2b3ed09f6f76b6abde247379b3cebc7621a3d2117fa1b1591eb75fc3b9468881acd6e510605a5cbc3960ba07c01faafb308b42960277364739b76bf5567b5 WHIRLPOOL abc0f655603a4e4f534f495b27e7a3463f1509f1100233b6bdb544e983e3a97dd3f33ce79fab0f93a9cfbf558beb6737a585ea1f7aeabb241b5b752e94997eca +MISC ChangeLog-2015 6544 SHA256 42c6c54298e374d5325d156c1a041ac147b56e3e59d47f31f2d5f6c936ad761b SHA512 5622489696a3052504cf745d942d46048904ae7d8d036b1689b22ed554e15f132756494a8e65cfae516ca20d48697faa36547fdd6abac459cd1a829291a5973b WHIRLPOOL 9ec4f6ee2ab564cc108f80be3b36487e890960eee766e32e062fa9ffffc3cd6e5002c63207ee06d7ed656f0b7d833bc5435bdaba1749783c3c9683dae43bb6e6 +MISC metadata.xml 794 SHA256 9f4d6605299b6f431cb541c883517765ec3741b7cbbe8b300df8842b2b5bfb63 SHA512 0486690da78f6876a4dc81eec34dbcfdb63df109ed9135c9fce5fe8355f3adb216e7766def8d87870a9ece522f57b295ed48aa7cca36f7bb2a64eef7f77bb74d WHIRLPOOL 909cc54eeadd4714aa1e387a167bd0c8dbd71aed2f14926b70b9592db04f8812d55b4b2a1dc6f53088dc5ab0b852bd1f599913c77429a60185c6d016995a54bb diff --git a/net-libs/qxmpp/metadata.xml b/net-libs/qxmpp/metadata.xml new file mode 100644 index 000000000000..128b3f2f7fdc --- /dev/null +++ b/net-libs/qxmpp/metadata.xml @@ -0,0 +1,21 @@ + + + + + 0xd34df00d@gmail.com + Georg Rudoy + + + proxy-maint@gentoo.org + Proxy Maintainers + + + https://github.com/qxmpp-project/qxmpp/issues + https://raw.githubusercontent.com/qxmpp-project/qxmpp/master/CHANGELOG + qxmpp-project/qxmpp + + + Enable Opus codec support via media-libs/opus + Enable VP8 codec support via media-libs/libvpx + + diff --git a/net-libs/qxmpp/qxmpp-0.8.0.ebuild b/net-libs/qxmpp/qxmpp-0.8.0.ebuild new file mode 100644 index 000000000000..9e4bdbb2bb2a --- /dev/null +++ b/net-libs/qxmpp/qxmpp-0.8.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit qt4-r2 multilib + +DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework" +HOMEPAGE="https://code.google.com/p/qxmpp/" +SRC_URI="http://download.qxmpp.org/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux" +IUSE="debug doc +speex test theora vpx" + +RDEPEND="dev-qt/qtcore:4 + speex? ( media-libs/speex ) + theora? ( media-libs/libtheora ) + vpx? ( media-libs/libvpx )" +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:4 )" + +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" + qt4-r2_src_prepare +} + +src_configure(){ + local conf_speex + local conf_theora + local conf_vpx + + use speex && conf_speex="QXMPP_USE_SPEEX=1" + use theora && conf_theora="QXMPP_USE_THEORA=1" + use vpx && conf_vpx="QXMPP_USE_VPX=1" + + eqmake4 "${S}"/qxmpp.pro "PREFIX=${EPREFIX}/usr" "LIBDIR=$(get_libdir)" "${conf_speex}" "${conf_theora}" "${conf_vpx}" +} + +src_install() { + qt4-r2_src_install + 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 +} diff --git a/net-libs/qxmpp/qxmpp-0.9.3-r1.ebuild b/net-libs/qxmpp/qxmpp-0.9.3-r1.ebuild new file mode 100644 index 000000000000..688a4490a702 --- /dev/null +++ b/net-libs/qxmpp/qxmpp-0.9.3-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +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 +speex test theora vpx" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtxml:5 + opus? ( media-libs/opus ) + speex? ( media-libs/speex ) + theora? ( media-libs/libtheora ) + vpx? ( media-libs/libvpx ) +" +DEPEND="${RDEPEND} + test? ( 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" + + eqmake5 "${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 +} diff --git a/net-libs/qxmpp/qxmpp-9999.ebuild b/net-libs/qxmpp/qxmpp-9999.ebuild new file mode 100644 index 000000000000..21806f48a186 --- /dev/null +++ b/net-libs/qxmpp/qxmpp-9999.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://github.com/qxmpp-project/qxmpp" + +inherit git-r3 qmake-utils + +DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework" +HOMEPAGE="https://github.com/qxmpp-project/qxmpp/" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="" +IUSE="debug doc opus +speex test theora vpx" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtxml:5 + opus? ( media-libs/opus ) + speex? ( media-libs/speex ) + theora? ( media-libs/libtheora ) + vpx? ( media-libs/libvpx ) +" +DEPEND="${RDEPEND} + test? ( 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" + + eqmake5 "${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 +} -- cgit v1.2.3