1 |
radhermit 12/06/30 13:05:47 |
2 |
|
3 |
Modified: ChangeLog luakit-9999.ebuild |
4 |
Added: luakit-2012.03.25.ebuild |
5 |
Log: |
6 |
Version bump (bug #410729) and update live ebuild. Update to EAPI 4, respect CFLAGS, respect CC, and use vcs-snapshot eclass to unpack release tarballs. |
7 |
|
8 |
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.29 www-client/luakit/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/ChangeLog?rev=1.29&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/ChangeLog?rev=1.29&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/ChangeLog?r1=1.28&r2=1.29 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v |
20 |
retrieving revision 1.28 |
21 |
retrieving revision 1.29 |
22 |
diff -u -r1.28 -r1.29 |
23 |
--- ChangeLog 3 May 2012 06:01:02 -0000 1.28 |
24 |
+++ ChangeLog 30 Jun 2012 13:05:47 -0000 1.29 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for www-client/luakit |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.28 2012/05/03 06:01:02 jdhore Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.29 2012/06/30 13:05:47 radhermit Exp $ |
30 |
+ |
31 |
+*luakit-2012.03.25 (30 Jun 2012) |
32 |
+ |
33 |
+ 30 Jun 2012; Tim Harder <radhermit@g.o> +luakit-2012.03.25.ebuild, |
34 |
+ luakit-9999.ebuild: |
35 |
+ Version bump (bug #410729) and update live ebuild. Update to EAPI 4, respect |
36 |
+ CFLAGS, respect CC, and use vcs-snapshot eclass to unpack release tarballs. |
37 |
|
38 |
03 May 2012; Jeff Horelick <jdhore@g.o> luakit-2010.12.25_p2.ebuild, |
39 |
luakit-2011.04.13.ebuild, luakit-2011.04.13_p1.ebuild, |
40 |
|
41 |
|
42 |
|
43 |
1.20 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.20&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/luakit-9999.ebuild?rev=1.20&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/luakit-9999.ebuild?r1=1.19&r2=1.20 |
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.19 |
53 |
retrieving revision 1.20 |
54 |
diff -u -r1.19 -r1.20 |
55 |
--- luakit-9999.ebuild 3 May 2012 06:01:02 -0000 1.19 |
56 |
+++ luakit-9999.ebuild 30 Jun 2012 13:05:47 -0000 1.20 |
57 |
@@ -1,9 +1,10 @@ |
58 |
# Copyright 1999-2012 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.19 2012/05/03 06:01:02 jdhore Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-9999.ebuild,v 1.20 2012/06/30 13:05:47 radhermit Exp $ |
62 |
|
63 |
-EAPI=3 |
64 |
+EAPI=4 |
65 |
|
66 |
+inherit toolchain-funcs |
67 |
IUSE="luajit vim-syntax" |
68 |
|
69 |
if [[ ${PV} == *9999* ]]; then |
70 |
@@ -14,7 +15,7 @@ |
71 |
KEYWORDS="" |
72 |
SRC_URI="" |
73 |
else |
74 |
- inherit base |
75 |
+ inherit vcs-snapshot |
76 |
MY_PV="${PV/_p/-r}" |
77 |
KEYWORDS="~amd64 ~x86" |
78 |
SRC_URI="https://github.com/mason-larobina/${PN}/tarball/${MY_PV} -> ${P}.tar.gz" |
79 |
@@ -49,13 +50,8 @@ |
80 |
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) |
81 |
" |
82 |
|
83 |
-src_unpack() { |
84 |
- if [[ ${PV} == *9999* ]]; then |
85 |
- git-2_src_unpack |
86 |
- else |
87 |
- base_src_unpack |
88 |
- mv mason-larobina-luakit-* "${S}" |
89 |
- fi |
90 |
+src_prepare() { |
91 |
+ sed -i -e "/^CFLAGS/s/-ggdb//" config.mk || die |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
@@ -66,19 +62,18 @@ |
96 |
myconf+=" VERSION=${PV}" |
97 |
fi |
98 |
|
99 |
- emake ${myconf} || die "emake failed" |
100 |
+ tc-export CC |
101 |
+ emake ${myconf} |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
- emake PREFIX="/usr" DESTDIR="${D}" DOCDIR="${D}/usr/share/doc/${PF}" install || |
106 |
- die "Installation failed" |
107 |
+ emake PREFIX="/usr" DESTDIR="${D}" DOCDIR="${D}/usr/share/doc/${PF}" install |
108 |
|
109 |
if use vim-syntax; then |
110 |
local t |
111 |
for t in $(ls "${S}"/extras/vim/); do |
112 |
insinto /usr/share/vim/vimfiles/"${t}" |
113 |
- doins "${S}"/extras/vim/"${t}"/luakit.vim || |
114 |
- die "vim-${t} doins failed" |
115 |
+ doins "${S}"/extras/vim/"${t}"/luakit.vim |
116 |
done |
117 |
fi |
118 |
} |
119 |
|
120 |
|
121 |
|
122 |
1.1 www-client/luakit/luakit-2012.03.25.ebuild |
123 |
|
124 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/luakit-2012.03.25.ebuild?rev=1.1&view=markup |
125 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/luakit/luakit-2012.03.25.ebuild?rev=1.1&content-type=text/plain |
126 |
|
127 |
Index: luakit-2012.03.25.ebuild |
128 |
=================================================================== |
129 |
# Copyright 1999-2012 Gentoo Foundation |
130 |
# Distributed under the terms of the GNU General Public License v2 |
131 |
# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-2012.03.25.ebuild,v 1.1 2012/06/30 13:05:47 radhermit Exp $ |
132 |
|
133 |
EAPI=4 |
134 |
|
135 |
inherit toolchain-funcs |
136 |
IUSE="luajit vim-syntax" |
137 |
|
138 |
if [[ ${PV} == *9999* ]]; then |
139 |
inherit git-2 |
140 |
EGIT_REPO_URI="git://github.com/mason-larobina/${PN}.git |
141 |
https://github.com/mason-larobina/${PN}.git" |
142 |
EGIT_BRANCH="develop" |
143 |
KEYWORDS="" |
144 |
SRC_URI="" |
145 |
else |
146 |
inherit vcs-snapshot |
147 |
MY_PV="${PV/_p/-r}" |
148 |
KEYWORDS="~amd64 ~x86" |
149 |
SRC_URI="https://github.com/mason-larobina/${PN}/tarball/${MY_PV} -> ${P}.tar.gz" |
150 |
fi |
151 |
|
152 |
DESCRIPTION="fast, small, webkit-gtk based micro-browser extensible by lua" |
153 |
HOMEPAGE="http://www.luakit.org" |
154 |
|
155 |
LICENSE="GPL-3" |
156 |
SLOT="0" |
157 |
|
158 |
COMMON_DEPEND=" |
159 |
luajit? ( dev-lang/luajit:2 ) |
160 |
!luajit? ( >=dev-lang/lua-5.1 ) |
161 |
dev-db/sqlite:3 |
162 |
dev-libs/glib:2 |
163 |
dev-libs/libunique:1 |
164 |
net-libs/libsoup:2.4 |
165 |
net-libs/webkit-gtk:2 |
166 |
x11-libs/gtk+:2 |
167 |
" |
168 |
|
169 |
DEPEND=" |
170 |
virtual/pkgconfig |
171 |
sys-apps/help2man |
172 |
${COMMON_DEPEND} |
173 |
" |
174 |
|
175 |
RDEPEND=" |
176 |
${COMMON_DEPEND} |
177 |
dev-lua/luafilesystem |
178 |
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) |
179 |
" |
180 |
|
181 |
src_prepare() { |
182 |
sed -i -e "/^CFLAGS/s/-ggdb//" config.mk || die |
183 |
} |
184 |
|
185 |
src_compile() { |
186 |
myconf="PREFIX=/usr DEVELOPMENT_PATHS=0" |
187 |
use luajit && myconf+=" USE_LUAJIT=1" |
188 |
|
189 |
if [[ ${PV} != *9999* ]]; then |
190 |
myconf+=" VERSION=${PV}" |
191 |
fi |
192 |
|
193 |
tc-export CC |
194 |
emake ${myconf} |
195 |
} |
196 |
|
197 |
src_install() { |
198 |
emake PREFIX="/usr" DESTDIR="${D}" DOCDIR="${D}/usr/share/doc/${PF}" install |
199 |
|
200 |
if use vim-syntax; then |
201 |
local t |
202 |
for t in $(ls "${S}"/extras/vim/); do |
203 |
insinto /usr/share/vim/vimfiles/"${t}" |
204 |
doins "${S}"/extras/vim/"${t}"/luakit.vim |
205 |
done |
206 |
fi |
207 |
} |