Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/uzbl: ChangeLog uzbl-2010.02.02.ebuild
Date: Wed, 03 Feb 2010 09:35:18
Message-Id: E1Ncbdh-00049u-Tf@stork.gentoo.org
1 wired 10/02/03 09:35:13
2
3 Modified: ChangeLog
4 Added: uzbl-2010.02.02.ebuild
5 Log:
6 uzbl-2010.02.02 version bump
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.19 www-client/uzbl/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/uzbl/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 27 Jan 2010 15:33:08 -0000 1.18
23 +++ ChangeLog 3 Feb 2010 09:35:13 -0000 1.19
24 @@ -1,6 +1,12 @@
25 # ChangeLog for www-client/uzbl
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/ChangeLog,v 1.18 2010/01/27 15:33:08 wired Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/ChangeLog,v 1.19 2010/02/03 09:35:13 wired Exp $
29 +
30 +*uzbl-2010.02.02 (03 Feb 2010)
31 +
32 + 03 Feb 2010; Alex Alexander <wired@g.o> +uzbl-2010.02.02.ebuild,
33 + +files/uzbl-2010.02.02-makefile-cleanup.patch:
34 + uzbl-2010.02.02 version bump
35
36 27 Jan 2010; Alex Alexander <wired@g.o> uzbl-9999.ebuild,
37 files/uzbl-9999-makefile-cleanup.patch:
38
39
40
41 1.1 www-client/uzbl/uzbl-2010.02.02.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/uzbl-2010.02.02.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/uzbl-2010.02.02.ebuild?rev=1.1&content-type=text/plain
45
46 Index: uzbl-2010.02.02.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/uzbl-2010.02.02.ebuild,v 1.1 2010/02/03 09:35:13 wired Exp $
51
52 EAPI="2"
53
54 inherit base
55
56 DESCRIPTION="A keyboard controlled (modal vim-like bindings, or with modifierkeys) browser based on Webkit."
57 HOMEPAGE="http://www.uzbl.org"
58 SRC_URI="http://github.com/Dieterbe/${PN}/tarball/${PV} -> ${P}.tar.gz"
59
60 LICENSE="LGPL-2.1 MPL-1.1"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="+browser helpers +tabbed"
64
65 COMMON_DEPEND="
66 >=dev-libs/icu-4.0.1
67 >=net-libs/libsoup-2.24
68 >=net-libs/webkit-gtk-1.1.15
69 >=x11-libs/gtk+-2.14
70 "
71
72 DEPEND="
73 >=dev-util/pkgconfig-0.19
74 ${COMMON_DEPEND}
75 "
76
77 RDEPEND="
78 ${COMMON_DEPEND}
79 x11-misc/xdg-utils
80 browser? (
81 x11-misc/xclip
82 )
83 helpers? (
84 dev-lang/perl
85 dev-perl/gtk2-perl
86 dev-python/pygtk
87 dev-python/pygobject
88 gnome-extra/zenity
89 net-misc/socat
90 x11-libs/pango
91 x11-misc/dmenu
92 x11-misc/xclip
93 )
94 "
95
96 pkg_setup() {
97 if ! use helpers; then
98 elog "uzbl's extra scripts use various optional applications:"
99 elog
100 elog " dev-lang/perl"
101 elog " dev-perl/gtk2-perl"
102 elog " dev-python/pygtk"
103 elog " dev-python/pygobject"
104 elog " gnome-extra/zenity"
105 elog " net-misc/socat"
106 elog " x11-libs/pango"
107 elog " x11-misc/dmenu"
108 elog " x11-misc/xclip"
109 elog
110 elog "Make sure you emerge the ones you need manually."
111 elog "You may also activate the *helpers* USE flag to"
112 elog "install all of them automatically."
113 else
114 einfo "You have enabled the *helpers* USE flag that installs"
115 einfo "various optional applications used by uzbl's extra scripts."
116 fi
117
118 if use tabbed && ! use browser; then
119 ewarn
120 ewarn "You enabled the *tabbed* USE flag but not *browser*."
121 ewarn "*tabbed* depends on *browser*, so it will be disabled."
122 ewarn
123 ebeep 3
124 fi
125 }
126
127 src_prepare() {
128 cd "${WORKDIR}"/Dieterbe-uzbl-*
129 S=$(pwd)
130
131 # patch Makefile to make it more sane
132 epatch "${FILESDIR}"/"${P}"-makefile-cleanup.patch
133
134 # adjust path in default config file to /usr/share
135 sed -i "s:/usr/local/share/uzbl:/usr/share/uzbl:g" \
136 examples/config/config ||
137 die "config path sed failed"
138 }
139
140 src_compile() {
141 emake || die "compile failed"
142 }
143
144 src_install() {
145 local targets="install-uzbl-core"
146 use browser && targets="${targets} install-uzbl-browser"
147 use browser && use tabbed && targets="${targets} install-uzbl-tabbed"
148
149 emake DESTDIR="${D}" PREFIX="/usr" ${targets} || die "Installation failed"
150
151 # Install the docs in /usr/share/doc.
152 dodoc AUTHORS README docs/* || die "docs install failed"
153 }