summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-09-15 07:43:41 +0000
committerTim Harder <radhermit@gentoo.org>2012-09-15 07:43:41 +0000
commit204be329d20ba623376f041f4d59796e0c8d5f87 (patch)
treedd66943301fae2529c569addcf6d25a4d6d5c9e0 /www-client/luakit
parentFast upstream version bump (fixes two critical bugs in previous version). (diff)
downloadgentoo-2-204be329d20ba623376f041f4d59796e0c8d5f87.tar.gz
gentoo-2-204be329d20ba623376f041f4d59796e0c8d5f87.tar.bz2
gentoo-2-204be329d20ba623376f041f4d59796e0c8d5f87.zip
Version bump.
(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)
Diffstat (limited to 'www-client/luakit')
-rw-r--r--www-client/luakit/ChangeLog7
-rw-r--r--www-client/luakit/luakit-2012.09.13_p1.ebuild79
2 files changed, 85 insertions, 1 deletions
diff --git a/www-client/luakit/ChangeLog b/www-client/luakit/ChangeLog
index 6cd54fca878e..46d6183e0e82 100644
--- a/www-client/luakit/ChangeLog
+++ b/www-client/luakit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/luakit
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.29 2012/06/30 13:05:47 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/ChangeLog,v 1.30 2012/09/15 07:43:41 radhermit Exp $
+
+*luakit-2012.09.13_p1 (15 Sep 2012)
+
+ 15 Sep 2012; Tim Harder <radhermit@gentoo.org> +luakit-2012.09.13_p1.ebuild:
+ Version bump.
*luakit-2012.03.25 (30 Jun 2012)
diff --git a/www-client/luakit/luakit-2012.09.13_p1.ebuild b/www-client/luakit/luakit-2012.09.13_p1.ebuild
new file mode 100644
index 000000000000..bfc0c0f90055
--- /dev/null
+++ b/www-client/luakit/luakit-2012.09.13_p1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/luakit/luakit-2012.09.13_p1.ebuild,v 1.1 2012/09/15 07:43:41 radhermit Exp $
+
+EAPI=4
+
+inherit toolchain-funcs
+IUSE="luajit vim-syntax"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://github.com/mason-larobina/${PN}.git
+ https://github.com/mason-larobina/${PN}.git"
+ EGIT_BRANCH="develop"
+ KEYWORDS=""
+ SRC_URI=""
+else
+ inherit vcs-snapshot
+ MY_PV="${PV/_p/-r}"
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://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="
+ virtual/pkgconfig
+ sys-apps/help2man
+ ${COMMON_DEPEND}
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ dev-lua/luafilesystem
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
+"
+
+src_prepare() {
+ sed -i -e "/^CFLAGS/s/-ggdb//" config.mk || die
+}
+
+src_compile() {
+ myconf="PREFIX=/usr DEVELOPMENT_PATHS=0"
+ use luajit && myconf+=" USE_LUAJIT=1"
+
+ if [[ ${PV} != *9999* ]]; then
+ myconf+=" VERSION=${PV}"
+ fi
+
+ tc-export CC
+ emake ${myconf}
+}
+
+src_install() {
+ emake PREFIX="/usr" DESTDIR="${D}" DOCDIR="${D}/usr/share/doc/${PF}" install
+
+ 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
+ done
+ fi
+}