mirror of
https://github.com/bsedin/gentoo-repo.git
synced 2024-09-20 20:30:28 +00:00
Add vimb and trayion
This commit is contained in:
1
www-client/vimb/Manifest
Normal file
1
www-client/vimb/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST vimb-2.11.tar.gz 130722 SHA256 2ec583e6e425f8d620b54db6bcc56483770c7c5fd3f93b0429ddd6f7a7553935 SHA512 f61237f6c6bce18954e8a58fe2b25e9803b80b48f1de99cad00fb7e6581240490f1a2fcfe1a34a429b521a44dc0c99d3c7420c5a47ee591000b2868354843788 WHIRLPOOL f76a453f061ffa0c2d535d7fe2f668535488ca4810d050c3bcce2a7fd828e4668297c5209f714582f7e5da2eef47c33734b0f69d22da929337962bbba1a95415
|
||||
50
www-client/vimb/vimb-2.11.ebuild
Normal file
50
www-client/vimb/vimb-2.11.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="a fast, lightweight, vim-like browser based on webkit"
|
||||
HOMEPAGE="http://fanglingsu.github.io/vimb/"
|
||||
SRC_URI="https://github.com/fanglingsu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk3"
|
||||
|
||||
RDEPEND="
|
||||
>=net-libs/libsoup-2.38:2.4
|
||||
!gtk3? (
|
||||
>=net-libs/webkit-gtk-1.5.0:2
|
||||
x11-libs/gtk+:2
|
||||
)
|
||||
gtk3? (
|
||||
>=net-libs/webkit-gtk-1.5.0:3
|
||||
x11-libs/gtk+:3
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# force verbose build
|
||||
sed -e '/@echo "\($(CC)\|${CC}\) $@"/d' \
|
||||
-e 's/@$(CC)/$(CC)/' \
|
||||
-i Makefile || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
use gtk3 && myconf+=" GTK=3"
|
||||
|
||||
emake CC="$(tc-getCC)" ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX=/usr DESTDIR="${D}" install
|
||||
}
|
||||
Reference in New Issue
Block a user