From: | "Rafael Martins (rafaelmartins)" <rafaelmartins@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-client/xombrero: metadata.xml ChangeLog xombrero-9999.ebuild xombrero-1.4.0.ebuild |
Date: | Thu, 31 Jan 2013 00:25:43 |
Message-Id: | 20130131002540.1AEFB2171D@flycatcher.gentoo.org |
1 | rafaelmartins 13/01/31 00:25:40 |
2 | |
3 | Added: metadata.xml ChangeLog xombrero-9999.ebuild |
4 | xombrero-1.4.0.ebuild |
5 | Log: |
6 | Initial import. Renamed from www-client/xxxterm |
7 | |
8 | (Portage version: 2.2.0_alpha136/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.1 www-client/xombrero/metadata.xml |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/xombrero/metadata.xml?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/xombrero/metadata.xml?rev=1.1&content-type=text/plain |
15 | |
16 | Index: metadata.xml |
17 | =================================================================== |
18 | <?xml version="1.0" encoding="UTF-8"?> |
19 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 | <pkgmetadata> |
21 | <maintainer> |
22 | <email>rafaelmartins@g.o</email> |
23 | <name>Rafael G. Martins</name> |
24 | </maintainer> |
25 | </pkgmetadata> |
26 | |
27 | |
28 | |
29 | |
30 | 1.1 www-client/xombrero/ChangeLog |
31 | |
32 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/xombrero/ChangeLog?rev=1.1&view=markup |
33 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/xombrero/ChangeLog?rev=1.1&content-type=text/plain |
34 | |
35 | Index: ChangeLog |
36 | =================================================================== |
37 | # ChangeLog for www-client/xombrero |
38 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
39 | # $Header: /var/cvsroot/gentoo-x86/www-client/xombrero/ChangeLog,v 1.1 2013/01/31 00:25:39 rafaelmartins Exp $ |
40 | |
41 | *xombrero-9999 (31 Jan 2013) |
42 | *xombrero-1.4.0 (31 Jan 2013) |
43 | |
44 | 31 Jan 2013; Rafael G. Martins <rafaelmartins@g.o> |
45 | +xombrero-1.4.0.ebuild, +xombrero-9999.ebuild, +metadata.xml: |
46 | Initial import. Renamed from www-client/xxxterm |
47 | |
48 | |
49 | |
50 | |
51 | 1.1 www-client/xombrero/xombrero-9999.ebuild |
52 | |
53 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/xombrero/xombrero-9999.ebuild?rev=1.1&view=markup |
54 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/xombrero/xombrero-9999.ebuild?rev=1.1&content-type=text/plain |
55 | |
56 | Index: xombrero-9999.ebuild |
57 | =================================================================== |
58 | # Copyright 1999-2013 Gentoo Foundation |
59 | # Distributed under the terms of the GNU General Public License v2 |
60 | # $Header: /var/cvsroot/gentoo-x86/www-client/xombrero/xombrero-9999.ebuild,v 1.1 2013/01/31 00:25:39 rafaelmartins Exp $ |
61 | |
62 | EAPI="4" |
63 | |
64 | GIT_ECLASS= |
65 | if [[ ${PV} = *9999* ]]; then |
66 | GIT_ECLASS=git-2 |
67 | fi |
68 | |
69 | inherit eutils fdo-mime toolchain-funcs ${GIT_ECLASS} |
70 | |
71 | DESCRIPTION="A minimalist web browser with sophisticated security features designed-in" |
72 | HOMEPAGE="http://opensource.conformal.com/wiki/xombrero" |
73 | |
74 | KEYWORDS="" |
75 | if [[ ${PV} = *9999* ]]; then |
76 | EGIT_REPO_URI="git://opensource.conformal.com/${PN}.git |
77 | https://opensource.conformal.com/git/${PN}.git" |
78 | EGIT_SOURCEDIR="${WORKDIR}/${P}" |
79 | else |
80 | SRC_URI="http://opensource.conformal.com/snapshots/${PN}/${P}.tgz" |
81 | KEYWORDS="~amd64 ~x86" |
82 | fi |
83 | |
84 | LICENSE="ISC" |
85 | SLOT="0" |
86 | IUSE="examples" |
87 | |
88 | RDEPEND="dev-libs/glib:2 |
89 | dev-libs/libbsd |
90 | dev-libs/libgcrypt |
91 | net-libs/libsoup |
92 | net-libs/gnutls |
93 | net-libs/webkit-gtk:3 |
94 | x11-libs/gdk-pixbuf |
95 | x11-libs/gtk+:3 |
96 | x11-libs/pango" |
97 | DEPEND="${RDEPEND} |
98 | dev-lang/perl |
99 | sys-apps/groff |
100 | dev-libs/atk |
101 | dev-libs/libxml2 |
102 | media-libs/fontconfig |
103 | media-libs/freetype |
104 | media-libs/libpng:0 |
105 | x11-libs/cairo |
106 | x11-libs/libdrm |
107 | x11-libs/pixman" |
108 | |
109 | S="${WORKDIR}/${P}/linux" |
110 | |
111 | src_prepare() { |
112 | sed -i \ |
113 | -e 's/-O2//' \ |
114 | -e 's/-ggdb3//' \ |
115 | Makefile || die 'sed Makefile failed.' |
116 | sed -i \ |
117 | -e 's#https://www\.cyphertite\.com#http://www.gentoo.org/#' \ |
118 | -e "s#/usr/local#/usr#" \ |
119 | ../xombrero.h || die 'sed ../xombrero.c failed.' |
120 | sed -i \ |
121 | "s#Icon=#Icon=/usr/share/${PN}/#" \ |
122 | ../xombrero.desktop || die 'sed ../xombrero.desktop failed.' |
123 | } |
124 | |
125 | src_compile() { |
126 | CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDADD="${LDFLAGS}" emake |
127 | } |
128 | |
129 | src_install() { |
130 | emake \ |
131 | DESTDIR="${D}" \ |
132 | PREFIX=/usr \ |
133 | install |
134 | |
135 | if use examples;then |
136 | insinto "/usr/share/doc/${PF}/examples" |
137 | doins \ |
138 | ../${PN}.conf \ |
139 | ../playflash.sh \ |
140 | ../favorites |
141 | fi |
142 | } |
143 | |
144 | pkg_postinst() { |
145 | fdo-mime_desktop_database_update |
146 | fdo-mime_mime_database_update |
147 | } |
148 | |
149 | pkg_postrm() { |
150 | fdo-mime_desktop_database_update |
151 | fdo-mime_mime_database_update |
152 | } |
153 | |
154 | |
155 | |
156 | 1.1 www-client/xombrero/xombrero-1.4.0.ebuild |
157 | |
158 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/xombrero/xombrero-1.4.0.ebuild?rev=1.1&view=markup |
159 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/xombrero/xombrero-1.4.0.ebuild?rev=1.1&content-type=text/plain |
160 | |
161 | Index: xombrero-1.4.0.ebuild |
162 | =================================================================== |
163 | # Copyright 1999-2013 Gentoo Foundation |
164 | # Distributed under the terms of the GNU General Public License v2 |
165 | # $Header: /var/cvsroot/gentoo-x86/www-client/xombrero/xombrero-1.4.0.ebuild,v 1.1 2013/01/31 00:25:39 rafaelmartins Exp $ |
166 | |
167 | EAPI="4" |
168 | |
169 | GIT_ECLASS= |
170 | if [[ ${PV} = *9999* ]]; then |
171 | GIT_ECLASS=git-2 |
172 | fi |
173 | |
174 | inherit eutils fdo-mime toolchain-funcs ${GIT_ECLASS} |
175 | |
176 | DESCRIPTION="A minimalist web browser with sophisticated security features designed-in" |
177 | HOMEPAGE="http://opensource.conformal.com/wiki/xombrero" |
178 | |
179 | KEYWORDS="" |
180 | if [[ ${PV} = *9999* ]]; then |
181 | EGIT_REPO_URI="git://opensource.conformal.com/${PN}.git |
182 | https://opensource.conformal.com/git/${PN}.git" |
183 | EGIT_SOURCEDIR="${WORKDIR}/${P}" |
184 | else |
185 | SRC_URI="http://opensource.conformal.com/snapshots/${PN}/${P}.tgz" |
186 | KEYWORDS="~amd64 ~x86" |
187 | fi |
188 | |
189 | LICENSE="ISC" |
190 | SLOT="0" |
191 | IUSE="examples" |
192 | |
193 | RDEPEND="dev-libs/glib:2 |
194 | dev-libs/libbsd |
195 | dev-libs/libgcrypt |
196 | net-libs/libsoup |
197 | net-libs/gnutls |
198 | net-libs/webkit-gtk:3 |
199 | x11-libs/gdk-pixbuf |
200 | x11-libs/gtk+:3 |
201 | x11-libs/pango" |
202 | DEPEND="${RDEPEND} |
203 | dev-lang/perl |
204 | sys-apps/groff |
205 | dev-libs/atk |
206 | dev-libs/libxml2 |
207 | media-libs/fontconfig |
208 | media-libs/freetype |
209 | media-libs/libpng:0 |
210 | x11-libs/cairo |
211 | x11-libs/libdrm |
212 | x11-libs/pixman" |
213 | |
214 | S="${WORKDIR}/${P}/linux" |
215 | |
216 | src_prepare() { |
217 | sed -i \ |
218 | -e 's/-O2//' \ |
219 | -e 's/-ggdb3//' \ |
220 | Makefile || die 'sed Makefile failed.' |
221 | sed -i \ |
222 | -e 's#https://www\.cyphertite\.com#http://www.gentoo.org/#' \ |
223 | -e "s#/usr/local#/usr#" \ |
224 | ../xombrero.h || die 'sed ../xombrero.c failed.' |
225 | sed -i \ |
226 | "s#Icon=#Icon=/usr/share/${PN}/#" \ |
227 | ../xombrero.desktop || die 'sed ../xombrero.desktop failed.' |
228 | } |
229 | |
230 | src_compile() { |
231 | CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDADD="${LDFLAGS}" emake |
232 | } |
233 | |
234 | src_install() { |
235 | emake \ |
236 | DESTDIR="${D}" \ |
237 | PREFIX=/usr \ |
238 | install |
239 | |
240 | if use examples;then |
241 | insinto "/usr/share/doc/${PF}/examples" |
242 | doins \ |
243 | ../${PN}.conf \ |
244 | ../playflash.sh \ |
245 | ../favorites |
246 | fi |
247 | } |
248 | |
249 | pkg_postinst() { |
250 | fdo-mime_desktop_database_update |
251 | fdo-mime_mime_database_update |
252 | } |
253 | |
254 | pkg_postrm() { |
255 | fdo-mime_desktop_database_update |
256 | fdo-mime_mime_database_update |
257 | } |