summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2011-07-27 10:36:29 +0000
committerAlex Alexander <wired@gentoo.org>2011-07-27 10:36:29 +0000
commit1ee8d21ab031fbd81d9aeacdf8315d25fc59d358 (patch)
treea03bea866c2ef28c4d1962f543ab94b60f25ae27 /www-client/luakit
parentFix installing with qmax. Bug #219976 (diff)
downloadgentoo-2-1ee8d21ab031fbd81d9aeacdf8315d25fc59d358.tar.gz
gentoo-2-1ee8d21ab031fbd81d9aeacdf8315d25fc59d358.tar.bz2
gentoo-2-1ee8d21ab031fbd81d9aeacdf8315d25fc59d358.zip
version bump
(Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
Diffstat (limited to 'www-client/luakit')
-rw-r--r--www-client/luakit/ChangeLog7
-rw-r--r--www-client/luakit/luakit-2011.07.22_p1.ebuild85
2 files changed, 91 insertions, 1 deletions
diff --git a/www-client/luakit/ChangeLog b/www-client/luakit/ChangeLog
index c91166534e34..3c96636d9e23 100644
--- a/www-client/luakit/ChangeLog
+++ b/www-client/luakit/ChangeLog
@@ -1,6 +1,11 @@
# 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.25 2011/07/22 14:13:08 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.26 2011/07/27 10:36:29 wired Exp $
+
+*luakit-2011.07.22_p1 (27 Jul 2011)
+
+ 27 Jul 2011; Alex Alexander <wired@gentoo.org> +luakit-2011.07.22_p1.ebuild:
+ version bump
*luakit-2011.07.22 (22 Jul 2011)
diff --git a/www-client/luakit/luakit-2011.07.22_p1.ebuild b/www-client/luakit/luakit-2011.07.22_p1.ebuild
new file mode 100644
index 000000000000..96a056aad4ad
--- /dev/null
+++ b/www-client/luakit/luakit-2011.07.22_p1.ebuild
@@ -0,0 +1,85 @@
+# 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-2011.07.22_p1.ebuild,v 1.1 2011/07/27 10:36:29 wired Exp $
+
+EAPI=3
+
+IUSE="luajit 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
+ MY_PV="${PV/_p/-r}"
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="http://github.com/mason-larobina/${PN}/tarball/${MY_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="
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( >=dev-lang/lua-5.1 )
+ dev-db/sqlite:3
+ dev-libs/glib:2
+ dev-libs/libunique:1
+ net-libs/libsoup:2.4
+ net-libs/webkit-gtk:2
+ x11-libs/gtk+:2
+"
+
+DEPEND="
+ dev-util/pkgconfig
+ sys-apps/help2man
+ ${COMMON_DEPEND}
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ dev-lua/luafilesystem
+ 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)
+ base_src_prepare
+ fi
+}
+
+src_compile() {
+ 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() {
+ 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
+}