diff options
author | Alex Alexander <wired@gentoo.org> | 2010-09-24 10:04:31 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2010-09-24 10:04:31 +0000 |
commit | 3fad21a09425652c40e961e5be3c5f1be0299e80 (patch) | |
tree | 56a1a799fad47baf1cdecf0e40d2274403e572f9 /www-client | |
parent | fixed #336101, thanks Diego P.; eapi=2 (diff) | |
download | gentoo-2-3fad21a09425652c40e961e5be3c5f1be0299e80.tar.gz gentoo-2-3fad21a09425652c40e961e5be3c5f1be0299e80.tar.bz2 gentoo-2-3fad21a09425652c40e961e5be3c5f1be0299e80.zip |
version bump
(Portage version: 2.2_rc86/cvs/Linux x86_64)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/luakit/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/luakit/luakit-2010.09.24.ebuild | 78 |
2 files changed, 84 insertions, 1 deletions
diff --git a/www-client/luakit/ChangeLog b/www-client/luakit/ChangeLog index 0997ba6ed017..0b5e8c9f4e74 100644 --- a/www-client/luakit/ChangeLog +++ b/www-client/luakit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/luakit # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.10 2010/09/23 13:52:33 wired Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.11 2010/09/24 10:04:31 wired Exp $ + +*luakit-2010.09.24 (24 Sep 2010) + + 24 Sep 2010; Alex Alexander <wired@gentoo.org> +luakit-2010.09.24.ebuild: + version bump 23 Sep 2010; Alex Alexander <wired@gentoo.org> luakit-9999.ebuild: gperf is no longer a dependency diff --git a/www-client/luakit/luakit-2010.09.24.ebuild b/www-client/luakit/luakit-2010.09.24.ebuild new file mode 100644 index 000000000000..5973b109ca1e --- /dev/null +++ b/www-client/luakit/luakit-2010.09.24.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-2010.09.24.ebuild,v 1.1 2010/09/24 10:04:31 wired Exp $ + +EAPI=3 + +IUSE="helpers vim-syntax" + +if [[ ${PV} == *9999* ]]; then + inherit git + EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/mason-larobina/luakit.git"} + [[ ${EGIT_BRANCH} == "master" ]] && EGIT_BRANCH="develop" + [[ ${EGIT_COMMIT} == "master" ]] && EGIT_COMMIT=${EGIT_BRANCH} + KEYWORDS="" + SRC_URI="" +else + inherit base + KEYWORDS="~amd64 ~x86" + SRC_URI="http://github.com/mason-larobina/${PN}/tarball/${PV} -> ${P}.tar.gz" +fi + +DESCRIPTION="fast, small, webkit-gtk based micro-browser extensible by lua" +HOMEPAGE="http://www.luakit.org" + +LICENSE="GPL-3" +SLOT="0" + +COMMON_DEPEND=" + >=dev-lang/lua-5.1 + dev-libs/glib:2 + net-libs/libsoup + net-libs/webkit-gtk + x11-libs/gtk+:2 +" + +DEPEND=" + sys-apps/help2man + ${COMMON_DEPEND} +" + +RDEPEND=" + ${COMMON_DEPEND} + helpers? ( + x11-misc/dmenu + ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) +" + +src_prepare() { + if [[ ${PV} == *9999* ]]; then + git_src_prepare + else + cd "${WORKDIR}"/mason-larobina-luakit-* + S=$(pwd) + fi +} + +src_compile() { + if [[ ${PV} == *9999* ]]; then + emake PREFIX="/usr" + else + emake PREFIX="/usr" VERSION="${PV}" + fi +} + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" DOCDIR="${D}/usr/share/doc/${PF}" install || + die "Installation failed" + + if use vim-syntax; then + local t + for t in $(ls "${S}"/extras/vim/); do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/extras/vim/"${t}"/luakit.vim || + die "vim-${t} doins failed" + done + fi +} |