Gentoo Archives: gentoo-commits

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/dev-zero:master commit in: net-misc/mirall/files/, net-misc/mirall/
Date: Tue, 31 Jul 2012 11:40:05
Message-Id: 1343734788.ad2fa4794561b78cb4f4d8d88d0d82cd2fc06fb0.dev-zero@gentoo
1 commit: ad2fa4794561b78cb4f4d8d88d0d82cd2fc06fb0
2 Author: Tiziano Müller <tm <AT> dev-zero <DOT> ch>
3 AuthorDate: Tue Jul 31 11:39:48 2012 +0000
4 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 31 11:39:48 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=ad2fa479
7
8 Initial commit, ebuild written by me.
9
10 ---
11 net-misc/mirall/Manifest | 3 ++
12 .../mirall/files/1.0.3-fix-exclude.lst-path.patch | 25 +++++++++++++++
13 net-misc/mirall/mirall-1.0.3.ebuild | 32 ++++++++++++++++++++
14 3 files changed, 60 insertions(+), 0 deletions(-)
15
16 diff --git a/net-misc/mirall/Manifest b/net-misc/mirall/Manifest
17 new file mode 100644
18 index 0000000..d91d808
19 --- /dev/null
20 +++ b/net-misc/mirall/Manifest
21 @@ -0,0 +1,3 @@
22 +AUX 1.0.3-fix-exclude.lst-path.patch 908 RMD160 fd7f046f96331c619d37a16daea304ca30110163 SHA1 ac6647b1d5fdbed8a58ee2ea8fbde22c2b61a3fa SHA256 a947ea1b2166af38302a4f5d691efb8bb72d21a44aaba0bf84440b2b314a46dd
23 +DIST mirall-1.0.3.tar.bz2 781278 RMD160 3b00021b5256744891fbc536d2cc27fad5915abc SHA1 6fcb1831d13dd6ed69fd5a70deb74259e6d3aef5 SHA256 48de479c034e665180f4eebc393f39f046f2d2008b84d3039f111ed40ad3c00e
24 +EBUILD mirall-1.0.3.ebuild 665 RMD160 ed48625c817bb5de85460b294a264185fc1cc226 SHA1 4528255e0c45fa5d42951de6ae68215b73f13965 SHA256 b138fbc03340fbc6f3956d61cf81439d8d7b884bc8668c02acf1c7f1f3bfc12a
25
26 diff --git a/net-misc/mirall/files/1.0.3-fix-exclude.lst-path.patch b/net-misc/mirall/files/1.0.3-fix-exclude.lst-path.patch
27 new file mode 100644
28 index 0000000..3e569ac
29 --- /dev/null
30 +++ b/net-misc/mirall/files/1.0.3-fix-exclude.lst-path.patch
31 @@ -0,0 +1,25 @@
32 +diff --git a/CMakeLists.txt b/CMakeLists.txt
33 +index 08a4fb8..88afae9 100644
34 +--- a/CMakeLists.txt
35 ++++ b/CMakeLists.txt
36 +@@ -76,6 +76,6 @@ add_subdirectory(src)
37 + if(BUILD_OWNCLOUD_OSX_BUNDLE)
38 + install( FILES exclude.lst DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/Resources )
39 + else()
40 +- install( FILES exclude.lst DESTINATION ${CMAKE_INSTALL_SYSCONFDIR} )
41 ++ install( FILES exclude.lst DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/mirall )
42 + endif()
43 +
44 +diff --git a/src/mirall/mirallconfigfile.cpp b/src/mirall/mirallconfigfile.cpp
45 +index 1cf5d17..899cd16 100644
46 +--- a/src/mirall/mirallconfigfile.cpp
47 ++++ b/src/mirall/mirallconfigfile.cpp
48 +@@ -76,7 +76,7 @@ QString MirallConfigFile::excludeFile() const
49 + fi.setFile(exePath, exclFile );
50 + #endif
51 + #ifdef Q_OS_LINUX
52 +- fi.setFile( QString("/etc"), exclFile );
53 ++ fi.setFile( QString("/etc/mirall"), exclFile );
54 + #endif
55 + #ifdef Q_OS_MAC
56 + char buf[1024];
57
58 diff --git a/net-misc/mirall/mirall-1.0.3.ebuild b/net-misc/mirall/mirall-1.0.3.ebuild
59 new file mode 100644
60 index 0000000..8bf034e
61 --- /dev/null
62 +++ b/net-misc/mirall/mirall-1.0.3.ebuild
63 @@ -0,0 +1,32 @@
64 +# Copyright 1999-2012 Gentoo Foundation
65 +# Distributed under the terms of the GNU General Public License v2
66 +# $Header: $
67 +
68 +EAPI=4
69 +
70 +inherit cmake-utils
71 +
72 +DESCRIPTION="Desktop Syncing Client"
73 +HOMEPAGE="http://owncloud.org/sync-clients/"
74 +SRC_URI="http://download.owncloud.com/download/${P}.tar.bz2"
75 +
76 +LICENSE="GPL-2"
77 +SLOT="0"
78 +KEYWORDS="~amd64"
79 +IUSE=""
80 +
81 +DEPEND="net-misc/csync[log2callback,owncloud]
82 + x11-libs/qt-gui
83 + x11-libs/qt-test"
84 +RDEPEND="${DEPEND}"
85 +
86 +DOCS=( "ChangeLog" "README.md" )
87 +PATCHES=( "${FILESDIR}/${PV}-fix-exclude.lst-path.patch" )
88 +
89 +# test-target is available, but no tests
90 +RESTRICT="test"
91 +
92 +src_install() {
93 + cmake-utils_src_install
94 + mv "${D}"/{usr,}/etc
95 +}