aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Olagbaiye <bqv@fron.io>2022-05-18 20:32:18 +0100
committerTony Olagbaiye <bqv@fron.io>2022-05-18 20:32:18 +0100
commit62d433875423935b367021e940adfef1e0e482f5 (patch)
tree9900bbb9ec65f3794a69e7beab39fa4911e42b5b /www-client/vimb
parentmedia-fonts/noto: drop (diff)
downloadguru-62d433875423935b367021e940adfef1e0e482f5.tar.gz
guru-62d433875423935b367021e940adfef1e0e482f5.tar.bz2
guru-62d433875423935b367021e940adfef1e0e482f5.zip
www-client/vimb: ebuild fixes
Signed-off-by: Tony Olagbaiye <bqv@fron.io>
Diffstat (limited to 'www-client/vimb')
-rw-r--r--www-client/vimb/Manifest3
-rw-r--r--[l---------]www-client/vimb/vimb-3.6.0.ebuild40
-rw-r--r--www-client/vimb/vimb-9999.ebuild13
3 files changed, 43 insertions, 13 deletions
diff --git a/www-client/vimb/Manifest b/www-client/vimb/Manifest
index 096639e36..a28a34d19 100644
--- a/www-client/vimb/Manifest
+++ b/www-client/vimb/Manifest
@@ -1,4 +1 @@
DIST vimb-3.6.0.tar.gz 144750 BLAKE2B bb5b3244198e657af6a2591f75bb44598d1fa384843aa948f15eb186cea526776a2f2ae00d20ae9a81bd634df1c980cf2017f22f99e062d22231dd2cb1c9f3b2 SHA512 0c1a131641c47ec0dd7a5346d5e7260f85293ecc105e04e6265680c53bbbdc8d98acc4f4e11443efc4e4148aa0b77c496cf7e5f59d44857e6e612c3d4a643c8f
-EBUILD vimb-3.6.0.ebuild 837 BLAKE2B 864fe3fda9f7c8f87bbb9b7a27fdcbb4b28b4a503b5a3abd643e66eb9688b4346524c680fb0b4934a9e61e788fbdc2d578826478f525f0384cc178fc91a0da52 SHA512 183759b682364f37d38bc607b3e1cec3eb99d407edb797d48ccab82935d00c24542a44ddbc351e04c6624e6dec447614acff03776475669f19497a69e09fedbf
-EBUILD vimb-9999.ebuild 837 BLAKE2B 864fe3fda9f7c8f87bbb9b7a27fdcbb4b28b4a503b5a3abd643e66eb9688b4346524c680fb0b4934a9e61e788fbdc2d578826478f525f0384cc178fc91a0da52 SHA512 183759b682364f37d38bc607b3e1cec3eb99d407edb797d48ccab82935d00c24542a44ddbc351e04c6624e6dec447614acff03776475669f19497a69e09fedbf
-MISC metadata.xml 254 BLAKE2B b29784dda645fac45b9c94f74b562df65c32ed7fe390e1b0a1f6f9021a32de7cfc80bac9b0af653e1cf7907a1eabe2e8e3bc923e1a374bae41d1bc71bbab1a40 SHA512 e6a56381b90d0e89195d5054f5a730f71b49d70b2166e92011b33408386438c53b0af5a95169c7c44b440cb12e3b725f4667afa62af3f02fee2e268e807e4770
diff --git a/www-client/vimb/vimb-3.6.0.ebuild b/www-client/vimb/vimb-3.6.0.ebuild
index 459c40e8d..1567f4808 120000..100644
--- a/www-client/vimb/vimb-3.6.0.ebuild
+++ b/www-client/vimb/vimb-3.6.0.ebuild
@@ -1 +1,39 @@
-vimb-9999.ebuild \ No newline at end of file
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit savedconfig
+
+DESCRIPTION="a fast, lightweight, vim-like browser based on webkit"
+HOMEPAGE="https://fanglingsu.github.io/vimb/"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 "
+SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND="
+ virtual/pkgconfig
+"
+
+RDEPEND="
+ x11-libs/gtk+:3
+ >=net-libs/webkit-gtk-2.20.0:4
+"
+
+src_prepare() {
+ default
+ restore_config config.def.h
+}
+
+src_compile() {
+ emake V=1 PREFIX="/usr"
+}
+
+src_install() {
+ emake V=1 PREFIX="/usr" DESTDIR="${D}" install
+ save_config src/config.def.h
+}
diff --git a/www-client/vimb/vimb-9999.ebuild b/www-client/vimb/vimb-9999.ebuild
index 6b7d5f647..1fbd5e5f8 100644
--- a/www-client/vimb/vimb-9999.ebuild
+++ b/www-client/vimb/vimb-9999.ebuild
@@ -3,19 +3,14 @@
EAPI=7
-inherit savedconfig toolchain-funcs
+inherit savedconfig
DESCRIPTION="a fast, lightweight, vim-like browser based on webkit"
HOMEPAGE="https://fanglingsu.github.io/vimb/"
-if ver_test -eq "9999"; then
- inherit git-r3
- KEYWORDS=""
- EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git"
-else
- KEYWORDS="~amd64 ~arm ~arm64 ~x86 "
- SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz"
-fi
+inherit git-r3
+KEYWORDS=""
+EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git"
LICENSE="GPL-3"
SLOT="0"