vimb-3.7.0_p20250922-r1jjakob
download
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit savedconfig xdg
DESCRIPTION='a fast, lightweight, vim-like browser based on webkit'
HOMEPAGE='http://fanglingsu.github.io/vimb/'
MY_COMMIT="c54f4c607e85a37da6150d382622a022c972070c"
SRC_URI="https://github.com/fanglingsu/vimb/archive/${MY_COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
LICENSE='GPL-3'
SLOT='0'
KEYWORDS='~amd64'
IUSE='savedconfig'
RDEPEND='
x11-libs/gtk+:3
net-libs/webkit-gtk:4.1
net-libs/libsoup:3.0
virtual/libc
dev-libs/glib:2
'
DEPEND="
${RDEPEND}
"
BDEPEND="
virtual/pkgconfig
"
src_prepare() {
default
restore_config src/config.h
sed -i -e "/^version = /c\\version = ${PVR}${MY_COMMIT:+"+git${MY_COMMIT:0:8}"}" Makefile
}
src_compile() {
emake PREFIX="/usr"
}
src_install() {
emake PREFIX="/usr" DESTDIR="${D}" install
save_config src/config.h
}