1 |
commit: bff6586b9943bea7f60c54dedcfa8fc4e34d4460 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 3 10:11:46 2020 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 3 10:11:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff6586b |
7 |
|
8 |
net-misc/owncloud-client: 2.6.1 version bump |
9 |
|
10 |
Drop shibboleth USE-flag, it was completely dropped upstream |
11 |
Add optional gnome-keyring runtime dependency |
12 |
Fix USE=test build option |
13 |
Use xdg eclass for icon cache update |
14 |
|
15 |
Closes: https://bugs.gentoo.org/666798 |
16 |
Closes: https://bugs.gentoo.org/706594 |
17 |
Package-Manager: Portage-2.3.87, Repoman-2.3.20 |
18 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
19 |
|
20 |
net-misc/owncloud-client/Manifest | 1 + |
21 |
.../owncloud-client-2.6.1.13407.ebuild | 84 ++++++++++++++++++++++ |
22 |
2 files changed, 85 insertions(+) |
23 |
|
24 |
diff --git a/net-misc/owncloud-client/Manifest b/net-misc/owncloud-client/Manifest |
25 |
index 1055db0bab7..61d9950b6d1 100644 |
26 |
--- a/net-misc/owncloud-client/Manifest |
27 |
+++ b/net-misc/owncloud-client/Manifest |
28 |
@@ -1 +1,2 @@ |
29 |
DIST owncloudclient-2.6.0.13018.tar.xz 17311396 BLAKE2B b0c76b2fea51ca9e71f918ada2b99ce20b9b62494c41608e804c4ca0c8aafe59897fea31d28bed1ec61feefca4b4b6e783c6fa777ea56524e7c18d1a460ab954 SHA512 b8eb9dc6f9c061a74fee3f31926a3fb7f5093277955fe327d1169c84f929d1e1ad8da472a7098c1c10399f395c6bfc3b2684cf4c85cddc5e45b733abfb8e4046 |
30 |
+DIST owncloudclient-2.6.1.13407.tar.xz 17317284 BLAKE2B b88bfc987aca036b6269e094cee5b91a3516db7b899df4cfde4961ba6eb3bb24329de103b154f0a21e5778997659cfb9b53be2f88affe03251aa9c747276d517 SHA512 40e0b607ac6cd5437682cd40e125404472c5ad63520e1dde19729760c0b7612451b3a34ede74e988d8fd09a6fae7d17a3dd6c5b0cfa6563dab7245e5f67c52bf |
31 |
|
32 |
diff --git a/net-misc/owncloud-client/owncloud-client-2.6.1.13407.ebuild b/net-misc/owncloud-client/owncloud-client-2.6.1.13407.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..fbddf9224bb |
35 |
--- /dev/null |
36 |
+++ b/net-misc/owncloud-client/owncloud-client-2.6.1.13407.ebuild |
37 |
@@ -0,0 +1,84 @@ |
38 |
+# Copyright 1999-2020 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+inherit cmake-utils xdg |
44 |
+ |
45 |
+DESCRIPTION="Synchronize files from ownCloud Server with your computer" |
46 |
+HOMEPAGE="https://owncloud.org/" |
47 |
+SRC_URI="https://download.owncloud.com/desktop/stable/${P/-}.tar.xz" |
48 |
+ |
49 |
+LICENSE="CC-BY-3.0 GPL-2" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="doc dolphin gnome-keyring nautilus test" |
53 |
+ |
54 |
+COMMON_DEPEND=">=dev-db/sqlite-3.4:3 |
55 |
+ dev-libs/qtkeychain[qt5(+)] |
56 |
+ dev-qt/qtconcurrent:5 |
57 |
+ dev-qt/qtcore:5 |
58 |
+ dev-qt/qtdbus:5 |
59 |
+ dev-qt/qtgui:5 |
60 |
+ dev-qt/qtnetwork:5[ssl] |
61 |
+ dev-qt/qtsql:5 |
62 |
+ dev-qt/qtwidgets:5 |
63 |
+ dev-qt/qtxml:5 |
64 |
+ sys-fs/inotify-tools |
65 |
+ dolphin? ( |
66 |
+ kde-frameworks/kcoreaddons:5 |
67 |
+ kde-frameworks/kio:5 |
68 |
+ ) |
69 |
+ nautilus? ( dev-python/nautilus-python )" |
70 |
+ |
71 |
+RDEPEND="${COMMON_DEPEND} |
72 |
+ gnome-keyring? ( gnome-base/gnome-keyring )" |
73 |
+DEPEND="${COMMON_DEPEND} |
74 |
+ dev-qt/linguist-tools:5 |
75 |
+ doc? ( |
76 |
+ dev-python/sphinx |
77 |
+ dev-tex/latexmk |
78 |
+ dev-texlive/texlive-latexextra |
79 |
+ virtual/latex-base |
80 |
+ ) |
81 |
+ dolphin? ( kde-frameworks/extra-cmake-modules ) |
82 |
+ test? ( |
83 |
+ dev-util/cmocka |
84 |
+ dev-qt/qttest:5 |
85 |
+ )" |
86 |
+ |
87 |
+RESTRICT="!test? ( test )" |
88 |
+ |
89 |
+S=${WORKDIR}/${P/-} |
90 |
+ |
91 |
+src_prepare() { |
92 |
+ # Keep tests in ${T} |
93 |
+ sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die |
94 |
+ |
95 |
+ if ! use nautilus; then |
96 |
+ pushd shell_integration > /dev/null || die |
97 |
+ cmake_comment_add_subdirectory nautilus |
98 |
+ popd > /dev/null || die |
99 |
+ fi |
100 |
+ cmake-utils_src_prepare |
101 |
+} |
102 |
+ |
103 |
+src_configure() { |
104 |
+ local mycmakeargs=( |
105 |
+ -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc |
106 |
+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} |
107 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Sphinx=$(usex !doc) |
108 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5=$(usex !dolphin) |
109 |
+ -DBUILD_TESTING=$(usex test) |
110 |
+ ) |
111 |
+ |
112 |
+ cmake-utils_src_configure |
113 |
+} |
114 |
+ |
115 |
+pkg_postinst() { |
116 |
+ if ! use doc ; then |
117 |
+ elog "Documentation and man pages not installed" |
118 |
+ elog "Enable doc USE-flag to generate them" |
119 |
+ fi |
120 |
+ xdg_pkg_postinst |
121 |
+} |