summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-11-18 12:19:50 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-11-18 12:22:41 +0100
commitca8c063c6680e56ca3d26b4ea776df1742be5db8 (patch)
tree2fdcbf79b76383ec5168f8d1f8841b1000d21338 /media-libs/libqaccessibilityclient
parentprofiles: hppa: Consolidate virtual/mpi revdeps p.use.stable.mask (diff)
downloadgentoo-ca8c063c6680e56ca3d26b4ea776df1742be5db8.tar.gz
gentoo-ca8c063c6680e56ca3d26b4ea776df1742be5db8.tar.bz2
gentoo-ca8c063c6680e56ca3d26b4ea776df1742be5db8.zip
media-libs/libqaccessibilityclient: 0.3.0 version bump
Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/libqaccessibilityclient')
-rw-r--r--media-libs/libqaccessibilityclient/Manifest1
-rw-r--r--media-libs/libqaccessibilityclient/files/libqaccessibilityclient-0.3.0-tests.patch37
-rw-r--r--media-libs/libqaccessibilityclient/libqaccessibilityclient-0.3.0.ebuild30
3 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/libqaccessibilityclient/Manifest b/media-libs/libqaccessibilityclient/Manifest
index 3b21dd947fa9..5137bf9b8066 100644
--- a/media-libs/libqaccessibilityclient/Manifest
+++ b/media-libs/libqaccessibilityclient/Manifest
@@ -1 +1,2 @@
DIST libqaccessibilityclient-0.2.0.tar.xz 103280 BLAKE2B e5e416be98871c1e6fc28a6de5d2476c240fe4474f6c11f3d1e178209a9e78200549ed5bc6967fd24f0f758798719f8c9f3cbd6d06bbf1e2d44fe47e9ba4300b SHA512 1ebe8a6b6dcc2f47b57329fd96a026f9e0fa05d7c78cc1a816bb9e5928efa6e719f42267dfc8b18e73546957dc7a336c75e62190ff09a83cc84ac0c4c32b3e34
+DIST libqaccessibilityclient-0.3.0.tar.xz 104784 BLAKE2B a472cd2287340fbe5e5e4404fcdb4d1b6a28f39bf61117156f2e38622f10e0913f4c3818a9f7ff682eb195905e837c589d396df5fc8637a511d6e293e4b59a6a SHA512 d3c28a2dcb308e3248276c5b1ab822decb0c32afce8636ce30941320381431a8d7e064ff1451b14e64cbc83d03e3693d645d1739e64830bacefcd7fa68b0d2e1
diff --git a/media-libs/libqaccessibilityclient/files/libqaccessibilityclient-0.3.0-tests.patch b/media-libs/libqaccessibilityclient/files/libqaccessibilityclient-0.3.0-tests.patch
new file mode 100644
index 000000000000..1ec1317ea80f
--- /dev/null
+++ b/media-libs/libqaccessibilityclient/files/libqaccessibilityclient-0.3.0-tests.patch
@@ -0,0 +1,37 @@
+From a85bce953b8a231cfe9b47d9f3fd80f6149f51f2 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun, 18 Nov 2018 12:13:28 +0100
+Subject: [PATCH] Use standard BUILD_TESTING instead of BUILD_TESTS
+
+Add tests subdir conditionally.
+---
+ CMakeLists.txt | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 73bb3cb..13531cc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -34,7 +34,7 @@ include_directories(
+ find_package(Qt5Widgets QUIET)
+ find_package(Qt5DBus QUIET)
+ find_package(Qt5Test QUIET)
+-set(BUILD_TESTS ${Qt5Test_FOUND})
++set(BUILD_TESTING ${Qt5Test_FOUND})
+
+ add_definitions(${Qt5Core_DEFINITIONS} ${Qt5Widgets_DEFINITIONS} ${Qt5DBus_DEFINITIONS})
+ include_directories(${Qt5Core_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5DBus_INCLUDE_DIRS})
+@@ -70,7 +70,9 @@ if(APPLE)
+ endif(APPLE)
+
+ add_subdirectory(src)
+-add_subdirectory(tests)
++if(BUILD_TESTING)
++ add_subdirectory(tests)
++endif()
+ add_subdirectory(examples)
+
+ # we need the absolute directories where stuff will be installed too
+--
+2.19.1
+
diff --git a/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.3.0.ebuild b/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.3.0.ebuild
new file mode 100644
index 000000000000..325a9b6d908e
--- /dev/null
+++ b/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.3.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ECM_KDEINSTALLDIRS="false"
+KDE_TEST="optional"
+KDE_EXAMPLES="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Library for writing accessibility clients such as screen readers"
+HOMEPAGE="https://accessibility.kde.org/ https://cgit.kde.org/libqaccessibilityclient.git"
+SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}"
+
+# tests require DBus
+RESTRICT+=" test"
+
+PATCHES=( "${FILESDIR}/${P}-tests.patch" )