Gentoo Archives: gentoo-commits

From: Dennis Schridde <devurandom@×××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: net-misc/owncloud-client/
Date: Thu, 26 Dec 2013 15:23:08
Message-Id: 1388071367.f39bf07e7de620940522a79067f3ee5de1940b1a.devurandom@gentoo
1 commit: f39bf07e7de620940522a79067f3ee5de1940b1a
2 Author: Dennis Schridde <devurandom <AT> gmx <DOT> net>
3 AuthorDate: Thu Dec 26 15:22:47 2013 +0000
4 Commit: Dennis Schridde <devurandom <AT> gmx <DOT> net>
5 CommitDate: Thu Dec 26 15:22:47 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=f39bf07e
7
8 [net-misc/owncloud-client-1.5.0] version bump of net-misc/mirall under a new name
9
10 The new name matches upstream's binary package name.
11
12 Package-Manager: portage-2.2.7
13
14 ---
15 net-misc/owncloud-client/metadata.xml | 5 ++
16 .../owncloud-client/owncloud-client-1.5.0.ebuild | 64 ++++++++++++++++++++++
17 2 files changed, 69 insertions(+)
18
19 diff --git a/net-misc/owncloud-client/metadata.xml b/net-misc/owncloud-client/metadata.xml
20 new file mode 100644
21 index 0000000..a23f444
22 --- /dev/null
23 +++ b/net-misc/owncloud-client/metadata.xml
24 @@ -0,0 +1,5 @@
25 +<?xml version="1.0" encoding="UTF-8"?>
26 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 +<pkgmetadata>
28 + <herd>kde</herd>
29 +</pkgmetadata>
30
31 diff --git a/net-misc/owncloud-client/owncloud-client-1.5.0.ebuild b/net-misc/owncloud-client/owncloud-client-1.5.0.ebuild
32 new file mode 100644
33 index 0000000..cb3a4dc
34 --- /dev/null
35 +++ b/net-misc/owncloud-client/owncloud-client-1.5.0.ebuild
36 @@ -0,0 +1,64 @@
37 +# Copyright 1999-2013 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +# $Header: $
40 +
41 +EAPI=5
42 +
43 +inherit cmake-utils
44 +
45 +MY_PN=mirall
46 +MY_P="${MY_PN}-${PV/_/}"
47 +
48 +DESCRIPTION="Synchronization of your folders with another computers"
49 +HOMEPAGE="http://owncloud.org/"
50 +SRC_URI="http://download.owncloud.com/desktop/stable/${MY_P}.tar.bz2"
51 +
52 +LICENSE="CC-BY-3.0 GPL-2"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +IUSE="doc"
56 +
57 +RDEPEND="
58 + !net-misc/mirall
59 + dev-qt/qtcore:4
60 + dev-qt/qtdbus:4
61 + dev-qt/qtgui:4
62 + dev-qt/qttest:4
63 + dev-qt/qtwebkit:4
64 + >=net-misc/ocsync-0.91.4
65 + sys-fs/inotify-tools
66 + dev-libs/qtkeychain
67 +"
68 +DEPEND="${RDEPEND}
69 + doc? (
70 + dev-python/sphinx
71 + dev-texlive/texlive-latexextra
72 + virtual/latex-base
73 + )
74 +"
75 +
76 +S=${WORKDIR}/${MY_P}
77 +
78 +src_configure() {
79 + export CSYNC_DIR="${EPREFIX}/usr/include/ocsync/"
80 +
81 + local mycmakeargs=(
82 + -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
83 + $(cmake-utils_use_with doc)
84 + )
85 + cmake-utils_src_configure
86 +}
87 +
88 +src_compile() {
89 + use doc && cmake-utils_src_compile -j1 doc
90 + cmake-utils_src_compile
91 +}
92 +
93 +pkg_postinst() {
94 + if ! has_version net-misc/ocsync[samba]; then
95 + elog "For samba support, build net-misc/ocsync with USE=samba"
96 + fi
97 + if ! has_version net-misc/ocsync[sftp]; then
98 + elog "For sftp support, build net-misc/ocsync with USE=sftp"
99 + fi
100 +}