Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: net-misc/cernbox-client/
Date: Mon, 02 Apr 2018 12:45:33
Message-Id: 1522672313.612d367836a2f1c93ac9ac0359887cbfe6efce4f.jlec@gentoo
1 commit: 612d367836a2f1c93ac9ac0359887cbfe6efce4f
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 2 12:31:53 2018 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 2 12:31:53 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=612d3678
7
8 net-misc/cernbox-client: Fix USE-deps
9
10 Drop old
11
12 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
13 Package-Manager: Portage-2.3.27, Repoman-2.3.9
14
15 .../cernbox-client/cernbox-client-2.3.1.ebuild | 103 ---------------------
16 .../cernbox-client/cernbox-client-2.3.2.ebuild | 13 +--
17 2 files changed, 7 insertions(+), 109 deletions(-)
18
19 diff --git a/net-misc/cernbox-client/cernbox-client-2.3.1.ebuild b/net-misc/cernbox-client/cernbox-client-2.3.1.ebuild
20 deleted file mode 100644
21 index 6f3ad8c70..000000000
22 --- a/net-misc/cernbox-client/cernbox-client-2.3.1.ebuild
23 +++ /dev/null
24 @@ -1,103 +0,0 @@
25 -# Copyright 1999-2017 Gentoo Foundation
26 -# Distributed under the terms of the GNU General Public License v2
27 -
28 -EAPI=6
29 -
30 -inherit cmake-utils rpm
31 -
32 -DESCRIPTION="Synchronize files from CERNbox EOS with your computer"
33 -
34 -# Origin is classic owncloud-client, branded for CERN during compilation.
35 -ORIGIN_P="owncloudclient"
36 -BRANDED_P="cernbox"
37 -BRANDED_PV="2.2.4"
38 -BRANDED_REL="1.1"
39 -
40 -HOMEPAGE="https://cernbox.cern.ch/"
41 -SRC_URI="http://download.owncloud.com/desktop/stable/${ORIGIN_P}-${PV}.tar.xz
42 - https://cernbox.cern.ch/cernbox/doc/Linux/repo/CentOS_7/src/${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm"
43 -
44 -LICENSE="CC-BY-3.0 GPL-2"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="doc dolphin nautilus samba +sftp test"
48 -
49 -COMMON_DEPEND=">=dev-db/sqlite-3.4:3
50 - dev-libs/qtkeychain[qt5]
51 - dev-qt/qtconcurrent:5
52 - dev-qt/qtcore:5
53 - dev-qt/qtdbus:5
54 - dev-qt/qtgui:5
55 - dev-qt/qtnetwork:5
56 - dev-qt/qtsql:5
57 - dev-qt/qtwebkit:5
58 - sys-fs/inotify-tools
59 - virtual/libiconv
60 - dolphin? (
61 - kde-frameworks/kcoreaddons:5
62 - kde-frameworks/kio:5
63 - )
64 - nautilus? ( dev-python/nautilus-python )
65 - samba? ( >=net-fs/samba-3.5 )
66 - sftp? ( >=net-libs/libssh-0.5 )
67 -"
68 -RDEPEND="${COMMON_DEPEND}
69 - !net-misc/ocsync
70 - !net-misc/nextcloud-client
71 -"
72 -DEPEND="${COMMON_DEPEND}
73 - dev-qt/linguist-tools:5
74 - doc? (
75 - dev-python/sphinx
76 - dev-texlive/texlive-latexextra
77 - virtual/latex-base
78 - )
79 - dolphin? ( kde-frameworks/extra-cmake-modules )
80 - test? (
81 - dev-util/cmocka
82 - dev-qt/qttest:5
83 - )
84 -"
85 -
86 -S=${WORKDIR}/owncloudclient-${PV}
87 -
88 -src_unpack() {
89 - rpm_src_unpack ${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm
90 - mv ${PN/-}-${BRANDED_PV}/cernbox "${S}" || die "failed to extract branding"
91 -}
92 -
93 -src_prepare() {
94 - # Keep tests in ${T}
95 - sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die "sed failed"
96 -
97 - if ! use nautilus; then
98 - pushd shell_integration > /dev/null || die
99 - cmake_comment_add_subdirectory nautilus
100 - popd > /dev/null || die
101 - fi
102 - default
103 -}
104 -
105 -src_configure() {
106 - local mycmakeargs=(
107 - -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
108 - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
109 - -DWITH_ICONV=ON
110 - -DWITH_DOC=$(usex doc)
111 - -DCMAKE_DISABLE_FIND_PACKAGE_KF5=$(usex !dolphin)
112 - -DBUILD_WITH_QT4=OFF
113 - -DCMAKE_DISABLE_FIND_PACKAGE_Libsmbclient=$(usex !samba)
114 - -DCMAKE_DISABLE_FIND_PACKAGE_LibSSH=$(usex !sftp)
115 - -DUNIT_TESTING=$(usex test)
116 - -DOEM_THEME_DIR=${PWD}/${BRANDED_P}/mirall
117 - )
118 -
119 - cmake-utils_src_configure
120 -}
121 -
122 -pkg_postinst() {
123 - if ! use doc ; then
124 - elog "Documentation and man pages not installed"
125 - elog "Enable doc USE-flag to generate them"
126 - fi
127 -}
128
129 diff --git a/net-misc/cernbox-client/cernbox-client-2.3.2.ebuild b/net-misc/cernbox-client/cernbox-client-2.3.2.ebuild
130 index 6f3ad8c70..9513b064b 100644
131 --- a/net-misc/cernbox-client/cernbox-client-2.3.2.ebuild
132 +++ b/net-misc/cernbox-client/cernbox-client-2.3.2.ebuild
133 @@ -1,20 +1,20 @@
134 -# Copyright 1999-2017 Gentoo Foundation
135 +# Copyright 1999-2018 Gentoo Foundation
136 # Distributed under the terms of the GNU General Public License v2
137
138 EAPI=6
139
140 inherit cmake-utils rpm
141
142 -DESCRIPTION="Synchronize files from CERNbox EOS with your computer"
143 -
144 # Origin is classic owncloud-client, branded for CERN during compilation.
145 ORIGIN_P="owncloudclient"
146 BRANDED_P="cernbox"
147 BRANDED_PV="2.2.4"
148 BRANDED_REL="1.1"
149
150 +DESCRIPTION="Synchronize files from CERNbox EOS with your computer"
151 HOMEPAGE="https://cernbox.cern.ch/"
152 -SRC_URI="http://download.owncloud.com/desktop/stable/${ORIGIN_P}-${PV}.tar.xz
153 +SRC_URI="
154 + http://download.owncloud.com/desktop/stable/${ORIGIN_P}-${PV}.tar.xz
155 https://cernbox.cern.ch/cernbox/doc/Linux/repo/CentOS_7/src/${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm"
156
157 LICENSE="CC-BY-3.0 GPL-2"
158 @@ -22,8 +22,9 @@ SLOT="0"
159 KEYWORDS="~amd64 ~x86"
160 IUSE="doc dolphin nautilus samba +sftp test"
161
162 -COMMON_DEPEND=">=dev-db/sqlite-3.4:3
163 - dev-libs/qtkeychain[qt5]
164 +COMMON_DEPEND="
165 + >=dev-db/sqlite-3.4:3
166 + dev-libs/qtkeychain
167 dev-qt/qtconcurrent:5
168 dev-qt/qtcore:5
169 dev-qt/qtdbus:5