diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/telepathy-qt |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/telepathy-qt')
-rw-r--r-- | net-libs/telepathy-qt/Manifest | 8 | ||||
-rw-r--r-- | net-libs/telepathy-qt/files/telepathy-qt-0.9.6.1-qtpath.patch | 21 | ||||
-rw-r--r-- | net-libs/telepathy-qt/files/telepathy-qt-0.9.6.1-yes-release.patch | 17 | ||||
-rw-r--r-- | net-libs/telepathy-qt/metadata.xml | 24 | ||||
-rw-r--r-- | net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild | 71 | ||||
-rw-r--r-- | net-libs/telepathy-qt/telepathy-qt-0.9.7.ebuild | 106 |
6 files changed, 247 insertions, 0 deletions
diff --git a/net-libs/telepathy-qt/Manifest b/net-libs/telepathy-qt/Manifest new file mode 100644 index 000000000000..638003fbe563 --- /dev/null +++ b/net-libs/telepathy-qt/Manifest @@ -0,0 +1,8 @@ +AUX telepathy-qt-0.9.6.1-qtpath.patch 935 SHA256 ff90fd5a0df73b4fdcc4e0d9dcb462f94b2c09be1e4dc3da74e0a02c52d23e42 SHA512 8b1351e005db5b85e39bc56e666dff000f7acc1bf1cf1d1df9577b8da1f7fbde6ee4a0abd0c81ba757aa49c8a30efb9fa3e46561efd9e2c64d69ee818b80a42f WHIRLPOOL 7a8fcabfbb8c3be899280ff078ba1126abd7ba2371262e9760c132fdaefa5de834ee94c52b86600dfa504c8dc0856301295f891a5ac3f9e428cd52f7670e50c1 +AUX telepathy-qt-0.9.6.1-yes-release.patch 578 SHA256 9ff91927a01d1d34060f42463c2b64bc280d7babab2a8cf80601f0d55d5547f3 SHA512 c0c3e3e6b698aa5410d33653f36a1dac044054fa03830f1c78c1a1d82aa74e24ef84d4ccfc8b3ce295e655f2618aa318c863b8b49303097d5774e789efb4cc80 WHIRLPOOL b20bf88549fc3d5ebf0d99d7f50fce0bfae9f07b35b56cf79b9f61f989a183e758d0c345ec73fe9916f08c1857cee736c2856a17cd42dd0e764c9617cc50dcf0 +DIST telepathy-qt-0.9.7.tar.gz 6213405 SHA256 21bad30be7ebc4ba667d53d92cd1cec1be23114103f2149404d9740721693d4f SHA512 081daecb2509ea690079014bcc88eacbf2b3e4f4ac42aaf1b0cb264c01b801bc499a041482571d383f258cb3d3e2c6ffa5682fbe417fe807fcc25a06d2ead877 WHIRLPOOL 81569b648ae51ba932d1a212d69cd51a727201f5c36f7b91fe2da52ec0ed3a3fc01165a260f262e182474a383ff614ea6e4ee7dd6691add04052b1f4d14cd63d +EBUILD telepathy-qt-0.9.7-r1.ebuild 1368 SHA256 02c61f72d761c832ebd59966c4fe2e440d52b31c4a1e503f7d1a94538c40ae90 SHA512 b200a19741a41e80f5aca9c2935851fbe3d94f3416c96f4857d7f557315c4df1d927bb0d7e8b1432714de52622fa967bc333f13f5e87682ad2febdbdf3e828e9 WHIRLPOOL 99f6eae42b0062c711d02d7cc21265c57cd609ec0aa6b38a2eeddd11701b2090a1cd366950b0cfe72fee7be5be6ec7e26a00ab2c6f39072dfc42144ea81decd5 +EBUILD telepathy-qt-0.9.7.ebuild 2064 SHA256 2ac0a043464586ed02653b307d6c7869165ed724e17765134cdea83eb94a1023 SHA512 e65c96f9426b15689e993da6c2dc1f89377723bb769aeb6b386ab19fa48a9ed2cba0e60f79f7b14300a72071fc0e65cd85c2845098e2c7ea6aab2cb4baa7771e WHIRLPOOL d1fa1b09ae37f052a9dc8333669c099023f4c125a7ed90cff9f72ae6c97c38989fc68a8661621ae287b7fda7e3521805df4729887b9ebc82ee3142b755ec060c +MISC ChangeLog 6252 SHA256 1d82e57eb0256ea68e8d883325fd7814c04fc545eca4ea0b2ea6da9b243fcdb2 SHA512 1379678cd8aca52f4870936e4e5e617dd3f02dd3ed5255a93c5179bd112c408079827c817086e00ee00449df8069de6a62d4d2d3b188119ecc5b00e20baf7d94 WHIRLPOOL c512eed746b10c51bd40ca7847815989f2133121f0f4fa053279866ffde08b01a1e3c76bcd68c4c6b38c58f8946de6d69b07abddf33c5c57f9e732456e1cc50e +MISC ChangeLog-2015 8224 SHA256 092aaefc81e46cd5ea9b7b1300d4d85934f4092e47684de533d35791d2b839f1 SHA512 f0c238dd82dec9d5a8a488ad03578264789a8002d9ef7a69ed570ff1e03d43f4d05a8c7625caa23e64b2586a7a3dea89404deb1e0ccf81a7062d98950f13e3d1 WHIRLPOOL 25752e3762e455d480e3e517fc981cc03f767291e401c4b2b7a818f6a13d9f5e6254dd6f0a01dc6ca03ce2c06ebdfe534777de80a710a31656f759e8534a1b97 +MISC metadata.xml 772 SHA256 97ef34e162004fe597ca5792a9484b3c5879ec454b86c9e11333d60bf985e68b SHA512 592a624b936e4c1067e611cb32aa7b0ac7dcb7653be04e87bb1b9bad46650248efc472c96e366d936052f95f685802ebd522855b42d35cd6ababb35c9524215a WHIRLPOOL c294b6c728c42c782a190a14d4f288a8f118b9d7fe18548e7e5667423f08a74fad62a0a72bba6bb55d0b70215e05ed67bf13aa8fc638c84e4cf4a1fa1e2f7c91 diff --git a/net-libs/telepathy-qt/files/telepathy-qt-0.9.6.1-qtpath.patch b/net-libs/telepathy-qt/files/telepathy-qt-0.9.6.1-qtpath.patch new file mode 100644 index 000000000000..a14e1da1a658 --- /dev/null +++ b/net-libs/telepathy-qt/files/telepathy-qt-0.9.6.1-qtpath.patch @@ -0,0 +1,21 @@ +Ensure that the correct version of Qt is always used. + +With the introduction qt-4.8.6, Qt binaries were moved from /usr/bin to +/usr/$(get_libdir)/qt4/bin, leaving behind in their place symlinks to qtchooser. + +There is no guarantee to which version of Qt these symlinks might point, so it +is necessary to find the correct version explicitly. + +Once qmake is found, it is queried for the correct location of all other items. + +--- a/cmake/modules/FindQt.cmake ++++ b/cmake/modules/FindQt.cmake +@@ -19,7 +19,7 @@ + IF(NOT QT5_INSTALLED) + IF(NOT QT_QMAKE_EXECUTABLE) + FIND_PROGRAM(QT_QMAKE_EXECUTABLE_FINDQT NAMES qmake qmake4 qmake-qt4 qmake5 qmake-qt5 +- PATHS "${QT_SEARCH_PATH}/bin" "$ENV{QTDIR}/bin") ++ PATHS /usr/${CMAKE_INSTALL_LIBDIR}/qt4/bin /usr/bin NO_DEFAULT_PATH) + SET(QT_QMAKE_EXECUTABLE ${QT_QMAKE_EXECUTABLE_FINDQT} CACHE PATH "Qt qmake program.") + ENDIF(NOT QT_QMAKE_EXECUTABLE) + diff --git a/net-libs/telepathy-qt/files/telepathy-qt-0.9.6.1-yes-release.patch b/net-libs/telepathy-qt/files/telepathy-qt-0.9.6.1-yes-release.patch new file mode 100644 index 000000000000..97a880c72ca7 --- /dev/null +++ b/net-libs/telepathy-qt/files/telepathy-qt-0.9.6.1-yes-release.patch @@ -0,0 +1,17 @@ +diff --git a/cmake/modules/TelepathyDefaults.cmake b/cmake/modules/TelepathyDefaults.cmake +index d34b24d..eb51454 100644 +--- a/cmake/modules/TelepathyDefaults.cmake ++++ b/cmake/modules/TelepathyDefaults.cmake +@@ -59,11 +59,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) + set(DEPRECATED_DECLARATIONS_FLAGS) + endif (CXX_DEPRECATED_DECLARATIONS) + +- if(${TP_QT_NANO_VERSION} EQUAL 0) +- set(NOT_RELEASE 0) +- else(${TP_QT_NANO_VERSION} EQUAL 0) +- set(NOT_RELEASE 1) +- endif(${TP_QT_NANO_VERSION} EQUAL 0) ++ set(NOT_RELEASE 0) + + set(desired + all diff --git a/net-libs/telepathy-qt/metadata.xml b/net-libs/telepathy-qt/metadata.xml new file mode 100644 index 000000000000..0bfa4d0b48ae --- /dev/null +++ b/net-libs/telepathy-qt/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>akulichalexander@gmail.com</email> + <name>Alexandr Akulich</name> + <description>Proxy maintainer</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>qt@gentoo.org</email> + <name>Gentoo Qt Project</name> + </maintainer> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <use> + <flag name="farstream">Enable support for audio/video calls via farstream</flag> + </use> +</pkgmetadata> diff --git a/net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild new file mode 100644 index 000000000000..fe116123a3ea --- /dev/null +++ b/net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 cmake-utils virtualx + +DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol" +HOMEPAGE="https://telepathy.freedesktop.org/" +SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="debug farstream test" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 + farstream? ( + >=net-libs/telepathy-farstream-0.2.2 + >=net-libs/telepathy-glib-0.18.0 + ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + test? ( + dev-libs/dbus-glib + dev-libs/glib:2 + dev-python/dbus-python + dev-qt/qttest:5 + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.9.6.1-yes-release.patch" + "${FILESDIR}/${PN}-0.9.6.1-qtpath.patch" +) + +# bug 549448 - last checked with 0.9.7 +RESTRICT="test" + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DDESIRED_QT_VERSION=5 + -DENABLE_DEBUG_OUTPUT=$(usex debug) + -DENABLE_FARSTREAM=$(usex farstream) + -DENABLE_TESTS=$(usex test) + -DENABLE_EXAMPLES=OFF + ) + cmake-utils_src_configure +} + +src_test() { + _test_runner() { + ctest -E '(CallChannel)' + } + + pushd "${BUILD_DIR}" > /dev/null || die + virtx _test_runner + popd > /dev/null || die +} diff --git a/net-libs/telepathy-qt/telepathy-qt-0.9.7.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.7.ebuild new file mode 100644 index 000000000000..859d1d251680 --- /dev/null +++ b/net-libs/telepathy-qt/telepathy-qt-0.9.7.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 cmake-utils virtualx multibuild + +DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol" +HOMEPAGE="https://telepathy.freedesktop.org/" +SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="debug farstream +qt4 qt5 test" + +REQUIRED_USE="|| ( qt4 qt5 )" + +RDEPEND=" + farstream? ( + >=net-libs/telepathy-farstream-0.2.2 + >=net-libs/telepathy-glib-0.18.0 + ) + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 + ) + !net-libs/telepathy-qt4 +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + test? ( + dev-libs/dbus-glib + dev-libs/glib:2 + dev-python/dbus-python + qt4? ( dev-qt/qttest:4 ) + qt5? ( dev-qt/qttest:5 ) + ) +" + +DOCS=( AUTHORS ChangeLog HACKING NEWS README ) + +PATCHES=( + "${FILESDIR}/${PN}-0.9.6.1-yes-release.patch" + "${FILESDIR}/${PN}-0.9.6.1-qtpath.patch" +) + +# bug 549448 - last checked with 0.9.7 +RESTRICT="test" + +pkg_setup() { + python-any-r1_pkg_setup + + MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=( + -DENABLE_DEBUG_OUTPUT=$(usex debug) + -DENABLE_FARSTREAM=$(usex farstream) + -DENABLE_TESTS=$(usex test) + -DENABLE_EXAMPLES=OFF + ) + if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then + mycmakeargs+=( -DDESIRED_QT_VERSION=4 ) + fi + if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then + mycmakeargs+=( -DDESIRED_QT_VERSION=5 ) + fi + cmake-utils_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake-utils_src_compile +} + +src_test() { + _test_runner() { + ctest -E '(CallChannel)' + } + + mytest() { + pushd "${BUILD_DIR}" > /dev/null || die + virtx _test_runner + popd > /dev/null || die + } + + multibuild_foreach_variant mytest +} + +src_install() { + multibuild_foreach_variant cmake-utils_src_install +} |