diff options
author | Alex Alexander <wired@gentoo.org> | 2011-03-05 14:29:02 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2011-03-05 14:29:02 +0000 |
commit | c56a973d373f3fb978f8745b2a203986fdadb341 (patch) | |
tree | 0a0b6815e460ffe9433c70953cab307409023b72 /www-client | |
parent | Marking claws-mail-3.7.8 ppc for bug 350513 (diff) | |
download | gentoo-2-c56a973d373f3fb978f8745b2a203986fdadb341.tar.gz gentoo-2-c56a973d373f3fb978f8745b2a203986fdadb341.tar.bz2 gentoo-2-c56a973d373f3fb978f8745b2a203986fdadb341.zip |
added support for luajit w/ a USE flag
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/luakit/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/luakit/luakit-9999.ebuild | 18 | ||||
-rw-r--r-- | www-client/luakit/metadata.xml | 3 |
3 files changed, 19 insertions, 8 deletions
diff --git a/www-client/luakit/ChangeLog b/www-client/luakit/ChangeLog index 77f8e919207a..26dc0c092b42 100644 --- a/www-client/luakit/ChangeLog +++ b/www-client/luakit/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/luakit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.17 2011/02/25 15:35:22 wired Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.18 2011/03/05 14:29:02 wired Exp $ + + 05 Mar 2011; Alex Alexander <wired@gentoo.org> luakit-9999.ebuild, + metadata.xml: + added support for luajit w/ a USE flag 25 Feb 2011; Alex Alexander <wired@gentoo.org> luakit-9999.ebuild: removed dmenu from RDEPEND, helpers USE, not needed anymore diff --git a/www-client/luakit/luakit-9999.ebuild b/www-client/luakit/luakit-9999.ebuild index cb71d4f233f7..ba06f797e94a 100644 --- a/www-client/luakit/luakit-9999.ebuild +++ b/www-client/luakit/luakit-9999.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-9999.ebuild,v 1.14 2011/02/25 15:35:22 wired Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-9999.ebuild,v 1.15 2011/03/05 14:29:02 wired Exp $ EAPI=3 -IUSE="vim-syntax" +IUSE="luajit vim-syntax" if [[ ${PV} == *9999* ]]; then inherit git @@ -27,8 +27,9 @@ LICENSE="GPL-3" SLOT="0" COMMON_DEPEND=" + luajit? ( dev-lang/luajit:2 ) + !luajit? ( >=dev-lang/lua-5.1 ) dev-db/sqlite:3 - >=dev-lang/lua-5.1 dev-libs/glib:2 net-libs/libsoup net-libs/webkit-gtk @@ -58,11 +59,14 @@ src_prepare() { } src_compile() { - if [[ ${PV} == *9999* ]]; then - emake PREFIX="/usr" DEVELOPMENT_PATHS=0 - else - emake PREFIX="/usr" VERSION="${PV}" DEVELOPMENT_PATHS=0 + myconf="PREFIX=/usr DEVELOPMENT_PATHS=0" + use luajit && myconf+=" USE_LUAJIT=1" + + if [[ ${PV} != *9999* ]]; then + myconf+=" VERSION=${PV}" fi + + emake ${myconf} || die "emake failed" } src_install() { diff --git a/www-client/luakit/metadata.xml b/www-client/luakit/metadata.xml index f2458f663beb..f10b9b29d9f9 100644 --- a/www-client/luakit/metadata.xml +++ b/www-client/luakit/metadata.xml @@ -8,5 +8,8 @@ </maintainer> <use> <flag name="helpers">Optional tools used by luakit</flag> + <flag name="luajit">Use the lua just-in-time compiler + <pkg>dev-lang/luajit</pkg> instead of <pkg>dev-lang/lua</pkg>, which + should make luakit faster.</flag> </use> </pkgmetadata> |