Install this version:
emerge -a =www-client/vimb-3.7.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =www-client/vimb-3.7.0
Or alternatively:
emerge --autounmask-write -a =www-client/vimb-3.7.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.7.0 | 8 | ~amd64 | 0 |
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit savedconfig flag-o-matic optfeature
DESCRIPTION="A fast, lightweight, vim-like browser based on webkit"
HOMEPAGE="https://fanglingsu.github.io/vimb/"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git"
else
SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="savedconfig"
DEPEND="
net-libs/webkit-gtk:4.1
x11-libs/gtk+:3
"
BDEPEND="virtual/pkgconfig"
RDEPEND="${DEPEND}"
src_prepare() {
default
restore_config config.def.h
}
src_compile() {
has_version x11-libs/gtk+:3[-X,wayland] && append-cflags -DFEATURE_NO_XEMBED=1
emake PREFIX="/usr"
}
src_install() {
emake PREFIX="/usr" DESTDIR="${D}" install
einstalldocs
save_config src/config.def.h
}
pkg_postinst() {
optfeature "media decoding support" media-plugins/gst-plugins-libav media-libs/gst-plugins-good
}
Manage flags for this package:
euse -i <flag> -p www-client/vimb |
euse -E <flag> -p www-client/vimb |
euse -D <flag> -p www-client/vimb
net-libs/webkit-gtk:4.1 x11-libs/gtk+:3
net-libs/webkit-gtk:4.1 x11-libs/gtk+:3
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | vimb-3.7.0.tar.gz | 149769 bytes | https://github.com/fanglingsu/vimb/archive/3.7.0.tar.gz |