/[gentoo-x86]/net-misc/mirall/mirall-1.2.0_beta2.ebuild
Gentoo

Contents of /net-misc/mirall/mirall-1.2.0_beta2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jan 31 15:26:22 2013 UTC (6 years, 10 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump to mirall-1.2.0. Punt older.

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/mirall/mirall-1.2.0_beta2.ebuild,v 1.2 2013/01/22 21:38:46 creffett Exp $
4
5 EAPI=5
6
7 LANG_DIR="translations"
8 PLOCALES="ca cs_CZ da de el en eo es es_AR et_EE eu fa fi_FI fr gl he hr hu_HU it ja_JP ko lb lt_LT mk
9 nb_NO nl oc pl pt_BR pt_PT ro ru ru_RU sk_SK sl sr@latin sv ta_LK tr uk vi zh_CN zh_TW"
10 inherit cmake-utils l10n
11
12 MY_P="${PN}-${PV/_/}"
13
14 DESCRIPTION="Synchronization of your folders with another computers"
15 HOMEPAGE="http://owncloud.org/"
16 SRC_URI="http://download.owncloud.com/download/testing/${MY_P}.tar.bz2"
17
18 LICENSE="CCPL-Attribution-3.0 GPL-2"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="doc"
22
23 RDEPEND="
24 >=net-misc/csync-0.70.1
25 sys-fs/inotify-tools
26 x11-libs/qt-core:4
27 x11-libs/qt-gui:4
28 x11-libs/qt-test:4
29 "
30 DEPEND="${RDEPEND}
31 doc? ( dev-python/sphinx virtual/latex-base )
32 "
33
34 S="${WORKDIR}/${MY_P}"
35
36 src_prepare() {
37 # Yay for fcked detection.
38 export CSYNC_DIR="${EPREFIX}/usr/include/ocsync/"
39
40 local lang
41 for lang in ${PLOCALES} ; do
42 if ! use linguas_${lang} ; then
43 rm ${LANG_DIR}/${PN}_${lang}.ts
44 fi
45 done
46 epatch "${FILESDIR}/${PN}-1.2.0_beta2-automagicness.patch"
47 }
48
49 src_configure() {
50 local mycmakeargs=(
51 $(cmake-utils_use_with doc SPHINX)
52 )
53 cmake-utils_src_configure
54 }
55
56 pkg_postinst() {
57 if ! has_version net-misc/csync[samba]; then
58 elog "For samba support, build net-misc/csync with USE=samba"
59 fi
60 if ! has_version net-misc/csync[sftp]; then
61 elog "For sftp support, build net-misc/csync with USE=sftp"
62 fi
63 }

  ViewVC Help
Powered by ViewVC 1.1.20