summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-08-12 10:13:37 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-08-13 23:25:51 +0200
commit1edaeb45f8c277a4086e56f4e7da0d4dddfa6c91 (patch)
tree559f69cc4565f7c59d4e7ac92cbab98a5fb86968 /kde-frameworks/kio
parentsys-kernel/gentoo-sources: Cleanup of the 4.12.X series (diff)
downloadgentoo-1edaeb45f8c277a4086e56f4e7da0d4dddfa6c91.tar.gz
gentoo-1edaeb45f8c277a4086e56f4e7da0d4dddfa6c91.tar.bz2
gentoo-1edaeb45f8c277a4086e56f4e7da0d4dddfa6c91.zip
kde-frameworks: Add KDE Frameworks 5.37
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'kde-frameworks/kio')
-rw-r--r--kde-frameworks/kio/Manifest1
-rw-r--r--kde-frameworks/kio/files/kio-5.37.0-tests.patch50
-rw-r--r--kde-frameworks/kio/kio-5.37.0.ebuild80
3 files changed, 131 insertions, 0 deletions
diff --git a/kde-frameworks/kio/Manifest b/kde-frameworks/kio/Manifest
index ece52f023bb2..c18986f73bb2 100644
--- a/kde-frameworks/kio/Manifest
+++ b/kde-frameworks/kio/Manifest
@@ -1,2 +1,3 @@
DIST kio-5.34.0.tar.xz 3082092 SHA256 6acb28de757a0d5eccb1e3e533a1ef22b5f5de92e96c3aba804ebdb44aa343c4 SHA512 cd5c47bcc263d467797287e8cc74fd07c170b742a399377338539cff29b735203f7a1c54b2d4a0b1d2f95ddcd5e2df65cd6b165c620627db8f70a46ec97b3a76 WHIRLPOOL 5b76a7e2598749cd7a85b1030d215b2c80d58c1b8ea198e2ec4e94c768070b4dbeedd082b6f5c34cec1cdd9373b9ecfe6d6bfe4c7eed52a65f5c4cdfd44a9620
DIST kio-5.36.0.tar.xz 3081976 SHA256 f18f51d5d85156de52bf21e7344e06b9fcb6c815043797615171c7a66bb743c8 SHA512 d156a0b907bae38bcde63be847f96199fc926d24cd4a2d3c7a3bb963e2d1fe8db3c2bf3b4c32eb90017349b6eefb633c6c54313427f657c2b79e2b2970af8c72 WHIRLPOOL c5e3b5296fdab52a69e04ec0a9ae96b3502cdc2a3bb0957d638fa6f293d48bf7b9ac84cd746a28355b3254c2946ac60bb2605bba008345125f59c4e3f996e804
+DIST kio-5.37.0.tar.xz 3084204 SHA256 49448ebcfe182805f8f9cd40c1e2c8e686578cc2e7fa3688204d5ca4e182ac5b SHA512 42b2cbf6cbc414a0b69fdb36984d13574b1aee033170761dc55835cace44abead82f387f8afb35d8a82ee93a1909854ef43cff29d45c5881c4b13ca8862d2a64 WHIRLPOOL 649b16ebf5708d410d826a70726a9fdfd3668e00784246e7cb4d193b1951525e821046121886580bc16004280170277ac0344d1ee18afb91722e095118b1ccd6
diff --git a/kde-frameworks/kio/files/kio-5.37.0-tests.patch b/kde-frameworks/kio/files/kio-5.37.0-tests.patch
new file mode 100644
index 000000000000..4fdb08fc0288
--- /dev/null
+++ b/kde-frameworks/kio/files/kio-5.37.0-tests.patch
@@ -0,0 +1,50 @@
+commit dec4afb4145b1c9ccfe3474e26a86716f597910d
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Tue Aug 8 22:33:08 2017 +0200
+
+ Use ecm_add_test and benefit from BUILD_TESTING awareness
+
+ Reviewers: #frameworks, kfunk
+
+ Reviewed By: kfunk
+
+ Subscribers: kfunk
+
+ Tags: #frameworks
+
+ Differential Revision: https://phabricator.kde.org/D7213
+
+diff --git a/src/ioslaves/trash/tests/CMakeLists.txt b/src/ioslaves/trash/tests/CMakeLists.txt
+index 7adba49b..514fd79c 100644
+--- a/src/ioslaves/trash/tests/CMakeLists.txt
++++ b/src/ioslaves/trash/tests/CMakeLists.txt
+@@ -11,21 +11,16 @@ set(testtrash_SRCS
+ ${CMAKE_CURRENT_SOURCE_DIR}/../kiotrashdebug.cpp
+ )
+
+-add_executable(testtrash ${testtrash_SRCS})
+-ecm_mark_as_test(testtrash)
+-add_test(NAME testtrash COMMAND testtrash)
+-
+-target_link_libraries(testtrash
+- KF5::I18n
+- Qt5::DBus
+- KF5::KIOCore
+- KF5::Solid
+- Qt5::Test
+-)
+ if(APPLE)
+- target_link_libraries(testtrash "-framework DiskArbitration -framework CoreFoundation")
++ set(testtrash_APPLE_LIBS "-framework DiskArbitration -framework CoreFoundation")
+ endif(APPLE)
+-ecm_mark_nongui_executable(testtrash)
++
++include(ECMAddTests)
++
++ecm_add_test(${testtrash_SRCS}
++ TEST_NAME testtrash
++ LINK_LIBRARIES KF5::I18n Qt5::DBus KF5::KIOCore KF5::Solid Qt5::Test ${testtrash_APPLE_LIBS}
++)
+
+ ### next target ###
+
diff --git a/kde-frameworks/kio/kio-5.37.0.ebuild b/kde-frameworks/kio/kio-5.37.0.ebuild
new file mode 100644
index 000000000000..5f3130eaf905
--- /dev/null
+++ b/kde-frameworks/kio/kio-5.37.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework providing transparent file and data management"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="acl +handbook kerberos +kwallet X"
+
+RDEPEND="
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kbookmarks)
+ $(add_frameworks_dep kcodecs)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep solid)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork 'ssl')
+ $(add_qt_dep qtscript)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ dev-libs/libxml2
+ dev-libs/libxslt
+ acl? (
+ sys-apps/attr
+ virtual/acl
+ )
+ kerberos? ( virtual/krb5 )
+ kwallet? ( $(add_frameworks_dep kwallet) )
+ X? ( $(add_qt_dep qtx11extras) )
+"
+DEPEND="${RDEPEND}
+ $(add_qt_dep qtconcurrent)
+ handbook? ( $(add_frameworks_dep kdoctools) )
+ test? ( sys-libs/zlib )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXrender
+ x11-proto/xproto
+ )
+"
+PDEPEND="
+ $(add_frameworks_dep kded)
+"
+
+PATCHES=( "${FILESDIR}/${P}-tests.patch" )
+
+# tests hang
+RESTRICT+=" test"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package acl ACL)
+ $(cmake-utils_use_find_package handbook KF5DocTools)
+ $(cmake-utils_use_find_package kerberos GSSAPI)
+ $(cmake-utils_use_find_package kwallet KF5Wallet)
+ $(cmake-utils_use_find_package X X11)
+ )
+
+ kde5_src_configure
+}