Gentoo Archives: gentoo-commits

From: "Christoph Junghans (ottxor)" <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/grive: grive-0.3.0_pre20130503.ebuild ChangeLog
Date: Tue, 29 Apr 2014 16:58:48
Message-Id: 20140429165843.5EC0C2004B@flycatcher.gentoo.org
1 ottxor 14/04/29 16:58:43
2
3 Modified: ChangeLog
4 Added: grive-0.3.0_pre20130503.ebuild
5 Log:
6 version bump to build with latest json-c (bug #508980)
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2000586)
9
10 Revision Changes Path
11 1.14 net-misc/grive/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/grive/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/grive/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/grive/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/grive/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 1 Mar 2014 22:09:38 -0000 1.13
24 +++ ChangeLog 29 Apr 2014 16:58:43 -0000 1.14
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/grive
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/grive/ChangeLog,v 1.13 2014/03/01 22:09:38 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/grive/ChangeLog,v 1.14 2014/04/29 16:58:43 ottxor Exp $
30 +
31 +*grive-0.3.0_pre20130503 (29 Apr 2014)
32 +
33 + 29 Apr 2014; Christoph Junghans <ottxor@g.o>
34 + +grive-0.3.0_pre20130503.ebuild:
35 + version bump to build with latest json-c (bug #508980)
36
37 01 Mar 2014; Michał Górny <mgorny@g.o> grive-0.2.0-r1.ebuild:
38 Update libgcrypt dep to use slot :0.
39
40
41
42 1.1 net-misc/grive/grive-0.3.0_pre20130503.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/grive/grive-0.3.0_pre20130503.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/grive/grive-0.3.0_pre20130503.ebuild?rev=1.1&content-type=text/plain
46
47 Index: grive-0.3.0_pre20130503.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/grive/grive-0.3.0_pre20130503.ebuild,v 1.1 2014/04/29 16:58:43 ottxor Exp $
52
53 EAPI=5
54
55 inherit cmake-utils eutils multilib
56
57 if [[ ${PV} = *9999 ]]; then
58 inherit git-2
59 EGIT_REPO_URI="git://github.com/Grive/${PN}.git"
60 else
61 inherit eutils vcs-snapshot
62 COMMIT="27817e835fe115ebbda5410ec904aa49a2ad01f1"
63 SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
64 fi
65
66 DESCRIPTION="an open source Linux client for Google Drive"
67 HOMEPAGE="http://www.lbreda.com/grive/"
68
69 LICENSE="GPL-2"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86"
72 IUSE=""
73
74 RDEPEND="
75 dev-libs/boost:=
76 dev-libs/expat
77 dev-libs/json-c:=
78 dev-libs/libgcrypt:0=
79 dev-libs/yajl
80 dev-qt/qtcore
81 dev-qt/qtgui
82 net-misc/curl
83 sys-devel/binutils
84 sys-libs/glibc
85 sys-libs/zlib
86 "
87
88 DEPEND="${RDEPEND}"
89
90 DOCS=( "README" )
91
92 src_prepare() {
93 epatch "${FILESDIR}/${PN}"-0.2.0-check-bfd.h.patch
94
95 #include dir change in json-c-0.10 #462632 and #452234
96 if has_version ">=dev-libs/json-c-0.10" ; then
97 sed -i -e '/\(include\|INCLUDE\)/s@json/@json-c/@' \
98 libgrive/src/protocol/Json.cc \
99 cmake/Modules/FindJSONC.cmake || die
100 fi
101 #json-c library changed in 0.11, bug #467432
102 if has_version ">=dev-libs/json-c-0.11" ; then
103 sed -i -e '/LIBRARY/s@json)@json-c)@' \
104 cmake/Modules/FindJSONC.cmake || die
105 fi
106
107 sed -i '/grive.1/s/^/#/' bgrive/CMakeLists.txt || die
108 }
109
110 src_install(){
111 cmake-utils_src_install
112
113 local icon size
114 for icon in icon/*/*.png; do
115 size=${icon##*/}
116 size=${size%.png}
117 newicon -s "${size}" "${icon}" ${PN}.png
118 done
119 make_desktop_entry bgrive
120 }