diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/telepathy-qt | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/telepathy-qt')
-rw-r--r-- | net-libs/telepathy-qt/Manifest | 2 | ||||
-rw-r--r-- | net-libs/telepathy-qt/files/0.9.6.1-default-source.patch | 25 | ||||
-rw-r--r-- | net-libs/telepathy-qt/files/0.9.6.1-yes-release.patch | 17 | ||||
-rw-r--r-- | net-libs/telepathy-qt/metadata.xml | 9 | ||||
-rw-r--r-- | net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild | 95 | ||||
-rw-r--r-- | net-libs/telepathy-qt/telepathy-qt-0.9.6.1.ebuild | 100 |
6 files changed, 248 insertions, 0 deletions
diff --git a/net-libs/telepathy-qt/Manifest b/net-libs/telepathy-qt/Manifest new file mode 100644 index 000000000000..54fc6a82fdac --- /dev/null +++ b/net-libs/telepathy-qt/Manifest @@ -0,0 +1,2 @@ +DIST telepathy-qt-0.9.5.tar.gz 5862803 SHA256 93474858efe55bf45ee9352f88b852d4a24505939dc81a3a3c6fa5a686809c8e SHA512 2cc141037fbd2cc993f16e2ba52b3f6dda7841ff150f9d40d9e659eafdee67dd23563662954247f46bd8a34db7d87b7ec770da90725a19f634cd396a2d74e34b WHIRLPOOL cfef1a61725d0e07b65995155def64120d7d6993772511971eb7c8f7bcd956ed462544afbf52559cf2d5cc1825aeb1ce1f17371700d5a5e7f540b69da38d0709 +DIST telepathy-qt-0.9.6.1.tar.gz 6067468 SHA256 496eb4951ea9b181d7d68a2122a885474c4f73b519319496aa1b97d9b361a1f8 SHA512 d15bdf94ef2b546270130012e8636fb2801b0c4fb50513ac0dbc0e1f6255d84da6df12195b3d26dc6df5a9466929a1073e87d2a9e600c7bf26c3e1aa112113b7 WHIRLPOOL 621137fc10ce3db1d834711aaf876adf98056a5ca8bab22c011e881e71522060cd6110733880db4f6646872501b870305d3590428ea3d809b4b512bbc21e653b diff --git a/net-libs/telepathy-qt/files/0.9.6.1-default-source.patch b/net-libs/telepathy-qt/files/0.9.6.1-default-source.patch new file mode 100644 index 000000000000..0366b0fa7f37 --- /dev/null +++ b/net-libs/telepathy-qt/files/0.9.6.1-default-source.patch @@ -0,0 +1,25 @@ +From 2a460afdbd0cb39d8dcecaf6cea5ce9ce7d3216b Mon Sep 17 00:00:00 2001 +From: Niels Ole Salscheider <niels_ole@salscheider-online.de> +Date: Fri, 5 Jun 2015 12:47:13 +0200 +Subject: CMake: Fixed deprecated _BSD_SOURCE. + +Since glibc-2.20 _DEFAULT_SOURCE definition is also required. + +Reviewed-by: Alexandr Akulich + +diff --git a/cmake/modules/TelepathyDefaults.cmake b/cmake/modules/TelepathyDefaults.cmake +index d34b24d..dc98697 100644 +--- a/cmake/modules/TelepathyDefaults.cmake ++++ b/cmake/modules/TelepathyDefaults.cmake +@@ -108,7 +108,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) + endif(${NOT_RELEASE} EQUAL 1) + + if(CMAKE_SYSTEM_NAME MATCHES Linux) +- add_definitions(-D_BSD_SOURCE) ++ add_definitions(-D_BSD_SOURCE -D_DEFAULT_SOURCE) + endif(CMAKE_SYSTEM_NAME MATCHES Linux) + + # Compiler coverage +-- +cgit v0.10.2 + diff --git a/net-libs/telepathy-qt/files/0.9.6.1-yes-release.patch b/net-libs/telepathy-qt/files/0.9.6.1-yes-release.patch new file mode 100644 index 000000000000..97a880c72ca7 --- /dev/null +++ b/net-libs/telepathy-qt/files/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..1e6e07184330 --- /dev/null +++ b/net-libs/telepathy-qt/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>qt</herd> + <herd>kde</herd> + <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.5.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild new file mode 100644 index 000000000000..a5c3ba2d7103 --- /dev/null +++ b/net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 cmake-utils virtualx multibuild + +DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol" +HOMEPAGE="http://telepathy.freedesktop.org/" +SRC_URI="http://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 ) + +pkg_setup() { + python-any-r1_pkg_setup + MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=( + $(cmake-utils_use_enable debug DEBUG_OUTPUT) + $(cmake-utils_use_enable farstream) + $(cmake-utils_use_enable test TESTS) + -DENABLE_EXAMPLES=OFF + -ENABLE_SERVICE_SUPPORT=ON + ) + 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() { + mytest() { + pushd "${BUILD_DIR}" > /dev/null + VIRTUALX_COMMAND="ctest -E '(CallChannel)'" virtualmake || die "tests failed" + popd > /dev/null + } + + multibuild_foreach_variant mytest +} + +src_install() { + multibuild_foreach_variant cmake-utils_src_install +} diff --git a/net-libs/telepathy-qt/telepathy-qt-0.9.6.1.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.6.1.ebuild new file mode 100644 index 000000000000..22f541532ec0 --- /dev/null +++ b/net-libs/telepathy-qt/telepathy-qt-0.9.6.1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 cmake-utils virtualx multibuild + +DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol" +HOMEPAGE="http://telepathy.freedesktop.org/" +SRC_URI="http://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}/${PV}-default-source.patch" + "${FILESDIR}/${PV}-yes-release.patch" +) + +pkg_setup() { + python-any-r1_pkg_setup + + MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=( + $(cmake-utils_use_enable debug DEBUG_OUTPUT) + $(cmake-utils_use_enable farstream) + $(cmake-utils_use_enable test TESTS) + -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() { + mytest() { + pushd "${BUILD_DIR}" > /dev/null + VIRTUALX_COMMAND="ctest -E '(CallChannel)'" virtualmake || die "tests failed" + popd > /dev/null + } + + multibuild_foreach_variant mytest +} + +src_install() { + multibuild_foreach_variant cmake-utils_src_install +} |