/[gentoo-x86]/net-misc/owncloud-client/owncloud-client-1.5.3-r1.ebuild
Gentoo

Contents of /net-misc/owncloud-client/owncloud-client-1.5.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jun 7 20:06:23 2014 UTC (5 years, 6 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, fixes bug #512322. Also adds a postinstallation message with USE=-doc, bug #bug 509716

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C74525F2)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/owncloud-client/owncloud-client-1.5.3-r1.ebuild,v 1.1 2014/04/16 11:33:49 voyageur Exp $
4
5 EAPI=5
6
7 inherit cmake-utils
8
9 MY_P="mirall-${PV/_/}"
10
11 DESCRIPTION="Synchronize files from ownCloud Server with your computer"
12 HOMEPAGE="http://owncloud.org/"
13 SRC_URI="http://download.owncloud.com/desktop/stable/${MY_P}.tar.bz2"
14
15 LICENSE="CC-BY-3.0 GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="doc samba +sftp test"
19
20 RDEPEND=">=dev-db/sqlite-3.4:3
21 dev-libs/qtkeychain
22 dev-qt/qtcore:4
23 dev-qt/qtdbus:4
24 dev-qt/qtgui:4
25 dev-qt/qtsql:4
26 dev-qt/qttest:4
27 dev-qt/qtwebkit:4
28 net-libs/neon[ssl]
29 sys-fs/inotify-tools
30 virtual/libiconv
31 samba? ( >=net-fs/samba-3.5 )
32 sftp? ( >=net-libs/libssh-0.5 )
33 !net-misc/ocsync"
34 DEPEND="${RDEPEND}
35 doc? (
36 dev-python/sphinx
37 dev-texlive/texlive-latexextra
38 virtual/latex-base
39 )
40 test? ( dev-util/cmocka )"
41
42 S=${WORKDIR}/${MY_P}
43
44 PATCHES=( "${FILESDIR}"/${P}-man-page-location-fix.patch )
45
46 src_configure() {
47 local mycmakeargs=(
48 -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
49 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
50 -DWITH_ICONV=ON
51 $(cmake-utils_use_with doc DOC)
52 $(cmake-utils_use test UNIT_TESTING)
53 $(cmake-utils_use_find_package samba Libsmbclient)
54 $(cmake-utils_use_find_package sftp LibSSH)
55 )
56
57 cmake-utils_src_configure
58 }
59
60 src_test() {
61 # 1 test needs an existing ${HOME}/.config directory
62 mkdir "${T}"/.config
63 export HOME="${T}"
64 cmake-utils_src_test
65 }

  ViewVC Help
Powered by ViewVC 1.1.20