1 |
commit: d820166e53efdeedc3288065083f490be7ad99a4 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 4 09:41:10 2021 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 4 09:41:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d820166e |
7 |
|
8 |
net-misc/owncloud-client: 2.8.2.4246 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
12 |
|
13 |
net-misc/owncloud-client/Manifest | 1 + |
14 |
.../owncloud-client-2.8.2.4246.ebuild | 84 ++++++++++++++++++++++ |
15 |
2 files changed, 85 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/owncloud-client/Manifest b/net-misc/owncloud-client/Manifest |
18 |
index f6afcc355b2..c2b260fead5 100644 |
19 |
--- a/net-misc/owncloud-client/Manifest |
20 |
+++ b/net-misc/owncloud-client/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ownCloud-2.7.6.3261.tar.xz 14237692 BLAKE2B 914b069b10fa2f169677768e1578c5b8569836eb574889c72c0ea1ca3e16e6b7c65bcdd1f4a5ce4259eab6ec56110e3b45799d010921e47c7f64ccfd0ed545bf SHA512 1f647dd0b33472e31719651fa22b5864867d98fa1e2f11f9eadb6ce15382f5f97ac49d726af079716b6fac573367485a6f11a5b2e5e5c95d4d063f6caab51dcd |
23 |
+DIST ownCloud-2.8.2.4246.tar.xz 15044652 BLAKE2B ee1ee412667266273a9a9722940559562c6c43213b013fe7c21328e04ac967afb16f460e6fa711f37d1d4ea7d0fc15fc398d835cf6a939f4c8dfd54cd4846fed SHA512 0ab2ef72191cc2d5c2621c97c09cb1d25472a30f511235a190465e246a8312f13a255011abb9690c481887f2f15094414c87ce594252eb8debcb39b9cbc8a178 |
24 |
|
25 |
diff --git a/net-misc/owncloud-client/owncloud-client-2.8.2.4246.ebuild b/net-misc/owncloud-client/owncloud-client-2.8.2.4246.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..4afe35f947d |
28 |
--- /dev/null |
29 |
+++ b/net-misc/owncloud-client/owncloud-client-2.8.2.4246.ebuild |
30 |
@@ -0,0 +1,84 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit cmake xdg |
37 |
+ |
38 |
+MY_PN="ownCloud" |
39 |
+DESCRIPTION="Synchronize files from ownCloud Server with your computer" |
40 |
+HOMEPAGE="https://owncloud.org/" |
41 |
+SRC_URI="https://download.owncloud.com/desktop/${MY_PN}/stable/${PV}/source/${MY_PN}-${PV}.tar.xz" |
42 |
+ |
43 |
+LICENSE="CC-BY-3.0 GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="doc dolphin gnome-keyring nautilus test" |
47 |
+ |
48 |
+COMMON_DEPEND=">=dev-db/sqlite-3.4:3 |
49 |
+ dev-libs/qtkeychain[gnome-keyring?,qt5(+)] |
50 |
+ dev-qt/qtconcurrent:5 |
51 |
+ dev-qt/qtcore:5 |
52 |
+ dev-qt/qtdbus:5 |
53 |
+ dev-qt/qtgui:5 |
54 |
+ dev-qt/qtnetwork:5[ssl] |
55 |
+ dev-qt/qtsql:5 |
56 |
+ dev-qt/qtwidgets:5 |
57 |
+ dev-qt/qtxml:5 |
58 |
+ sys-fs/inotify-tools |
59 |
+ dolphin? ( |
60 |
+ kde-frameworks/kcoreaddons:5 |
61 |
+ kde-frameworks/kio:5 |
62 |
+ ) |
63 |
+ nautilus? ( dev-python/nautilus-python )" |
64 |
+ |
65 |
+RDEPEND="${COMMON_DEPEND}" |
66 |
+DEPEND="${COMMON_DEPEND} |
67 |
+ dev-qt/linguist-tools:5 |
68 |
+ kde-frameworks/extra-cmake-modules |
69 |
+ doc? ( |
70 |
+ dev-python/sphinx |
71 |
+ dev-tex/latexmk |
72 |
+ dev-texlive/texlive-latexextra |
73 |
+ virtual/latex-base |
74 |
+ ) |
75 |
+ test? ( |
76 |
+ dev-util/cmocka |
77 |
+ dev-qt/qttest:5 |
78 |
+ )" |
79 |
+ |
80 |
+RESTRICT="!test? ( test )" |
81 |
+ |
82 |
+S=${WORKDIR}/${MY_PN}-${PV} |
83 |
+ |
84 |
+src_prepare() { |
85 |
+ # Keep tests in ${T} |
86 |
+ sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die |
87 |
+ |
88 |
+ if ! use nautilus; then |
89 |
+ pushd shell_integration > /dev/null || die |
90 |
+ cmake_comment_add_subdirectory nautilus |
91 |
+ popd > /dev/null || die |
92 |
+ fi |
93 |
+ cmake_src_prepare |
94 |
+} |
95 |
+ |
96 |
+src_configure() { |
97 |
+ local mycmakeargs=( |
98 |
+ -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc |
99 |
+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} |
100 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Sphinx=$(usex !doc) |
101 |
+ -DBUILD_SHELL_INTEGRATION_DOLPHIN=$(usex dolphin) |
102 |
+ -DBUILD_TESTING=$(usex test) |
103 |
+ ) |
104 |
+ |
105 |
+ cmake_src_configure |
106 |
+} |
107 |
+ |
108 |
+pkg_postinst() { |
109 |
+ if ! use doc ; then |
110 |
+ elog "Documentation and man pages not installed" |
111 |
+ elog "Enable doc USE-flag to generate them" |
112 |
+ fi |
113 |
+ xdg_pkg_postinst |
114 |
+} |