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/luakit: ChangeLog luakit-2010.08.30-r1.ebuild luakit-9999.ebuild luakit-2010.08.30.ebuild
Date: Tue, 31 Aug 2010 06:31:05
Message-Id: 20100831063101.A220B20051@flycatcher.gentoo.org
1 wired 10/08/31 06:31:01
2
3 Modified: ChangeLog luakit-9999.ebuild
4 Added: luakit-2010.08.30-r1.ebuild
5 Removed: luakit-2010.08.30.ebuild
6 Log:
7 added missing dmenu dependency. pass VERSION to emake if <9999.
8
9 (Portage version: 2.2_rc71_p3/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.8 www-client/luakit/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/ChangeLog?rev=1.8&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/ChangeLog?rev=1.8&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/ChangeLog?r1=1.7&r2=1.8
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v
21 retrieving revision 1.7
22 retrieving revision 1.8
23 diff -u -r1.7 -r1.8
24 --- ChangeLog 30 Aug 2010 13:37:23 -0000 1.7
25 +++ ChangeLog 31 Aug 2010 06:31:01 -0000 1.8
26 @@ -1,6 +1,12 @@
27 # ChangeLog for www-client/luakit
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.7 2010/08/30 13:37:23 wired Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.8 2010/08/31 06:31:01 wired Exp $
31 +
32 +*luakit-2010.08.30-r1 (31 Aug 2010)
33 +
34 + 31 Aug 2010; Alex Alexander <wired@g.o> -luakit-2010.08.30.ebuild,
35 + +luakit-2010.08.30-r1.ebuild, luakit-9999.ebuild:
36 + added missing dmenu dependency. pass VERSION to emake if <9999.
37
38 *luakit-2010.08.30 (30 Aug 2010)
39
40
41
42
43 1.7 www-client/luakit/luakit-9999.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/luakit-9999.ebuild?rev=1.7&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/luakit-9999.ebuild?rev=1.7&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/luakit-9999.ebuild?r1=1.6&r2=1.7
48
49 Index: luakit-9999.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-9999.ebuild,v
52 retrieving revision 1.6
53 retrieving revision 1.7
54 diff -u -r1.6 -r1.7
55 --- luakit-9999.ebuild 28 Aug 2010 10:24:37 -0000 1.6
56 +++ luakit-9999.ebuild 31 Aug 2010 06:31:01 -0000 1.7
57 @@ -1,6 +1,6 @@
58 # Copyright 1999-2010 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-9999.ebuild,v 1.6 2010/08/28 10:24:37 wired Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-9999.ebuild,v 1.7 2010/08/31 06:31:01 wired Exp $
62
63 EAPI=3
64
65 @@ -41,6 +41,7 @@
66
67 RDEPEND="
68 ${COMMON_DEPEND}
69 + x11-misc/dmenu
70 vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
71 "
72
73 @@ -54,7 +55,11 @@
74 }
75
76 src_compile() {
77 - emake PREFIX="/usr"
78 + if [[ ${PV} == *9999* ]]; then
79 + emake PREFIX="/usr"
80 + else
81 + emake PREFIX="/usr" VERSION="${PV}"
82 + fi
83 }
84
85 src_install() {
86
87
88
89 1.1 www-client/luakit/luakit-2010.08.30-r1.ebuild
90
91 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/luakit-2010.08.30-r1.ebuild?rev=1.1&view=markup
92 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/luakit-2010.08.30-r1.ebuild?rev=1.1&content-type=text/plain
93
94 Index: luakit-2010.08.30-r1.ebuild
95 ===================================================================
96 # Copyright 1999-2010 Gentoo Foundation
97 # Distributed under the terms of the GNU General Public License v2
98 # $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-2010.08.30-r1.ebuild,v 1.1 2010/08/31 06:31:01 wired Exp $
99
100 EAPI=3
101
102 IUSE="vim-syntax"
103
104 if [[ ${PV} == *9999* ]]; then
105 inherit git
106 EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/mason-larobina/luakit.git"}
107 [[ ${EGIT_BRANCH} == "master" ]] && EGIT_BRANCH="develop"
108 [[ ${EGIT_COMMIT} == "master" ]] && EGIT_COMMIT=${EGIT_BRANCH}
109 KEYWORDS=""
110 SRC_URI=""
111 else
112 inherit base
113 KEYWORDS="~amd64 ~x86"
114 SRC_URI="http://github.com/mason-larobina/${PN}/tarball/${PV} -> ${P}.tar.gz"
115 fi
116
117 DESCRIPTION="fast, small, webkit-gtk based micro-browser extensible by lua"
118 HOMEPAGE="http://www.luakit.org"
119
120 LICENSE="GPL-3"
121 SLOT="0"
122
123 COMMON_DEPEND="
124 >=dev-lang/lua-5.1
125 dev-libs/glib:2
126 net-libs/libsoup
127 net-libs/webkit-gtk
128 x11-libs/gtk+:2
129 "
130
131 DEPEND="
132 dev-util/gperf
133 sys-apps/help2man
134 ${COMMON_DEPEND}
135 "
136
137 RDEPEND="
138 ${COMMON_DEPEND}
139 x11-misc/dmenu
140 vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
141 "
142
143 src_prepare() {
144 if [[ ${PV} == *9999* ]]; then
145 git_src_prepare
146 else
147 cd "${WORKDIR}"/mason-larobina-luakit-*
148 S=$(pwd)
149 fi
150 }
151
152 src_compile() {
153 if [[ ${PV} == *9999* ]]; then
154 emake PREFIX="/usr"
155 else
156 emake PREFIX="/usr" VERSION="${PV}"
157 fi
158 }
159
160 src_install() {
161 emake PREFIX="/usr" DESTDIR="${D}" DOCDIR="${D}/usr/share/doc/${PF}" install ||
162 die "Installation failed"
163
164 if use vim-syntax; then
165 local t
166 for t in $(ls "${S}"/extras/vim/); do
167 insinto /usr/share/vim/vimfiles/"${t}"
168 doins "${S}"/extras/vim/"${t}"/luakit.vim ||
169 die "vim-${t} doins failed"
170 done
171 fi
172 }