Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vieb?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
sumati
Apprentice
Apprentice


Joined: 10 Nov 2019
Posts: 184

PostPosted: Sun Mar 03, 2024 9:08 am    Post subject: vieb? Reply with quote

Is there any way to install the vim-key browser called Vieb through eselect repository (former layman)?
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1392
Location: Germany

PostPosted: Sun Mar 03, 2024 9:18 am    Post subject: Reply with quote

It looks like https://github.com/Jelmerro/Vieb is not available https://gpo.zugaina.org/Search?search=vieb in any of the overlays https://overlays.gentoo.org/
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
sumati
Apprentice
Apprentice


Joined: 10 Nov 2019
Posts: 184

PostPosted: Sun Mar 03, 2024 10:11 am    Post subject: Reply with quote

Banana wrote:
It looks like https://github.com/Jelmerro/Vieb is not available https://gpo.zugaina.org/Search?search=vieb in any of the overlays https://overlays.gentoo.org/

What a pity. Hope it will be available soon. Thank you for your reply.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30918
Location: here

PostPosted: Sun Mar 03, 2024 11:00 am    Post subject: Reply with quote

An early draft of the vieb-bin-11.0.0.ebuild.
vieb-bin-11.0.0.ebuild:
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="${PN/-bin}"

DESCRIPTION="Vim Inspired Electron Browser - Vim bindings for the web by design"
HOMEPAGE="https://vieb.dev"
SRC_URI="https://github.com/Jelmerro/Vieb/releases/download/${PV}/${MY_PN}-${PV}.pacman -> ${P}.tar.xz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="-* ~amd64"

RDEPEND="app-arch/snappy
   dev-libs/libevent
   dev-libs/libpcre2
   dev-libs/nss
   media-libs/libvpx
   net-dns/c-ares
   dev-libs/libxslt
   x11-libs/gtk+:3
   x11-libs/libnotify
   x11-libs/libXScrnSaver
"

S="${WORKDIR}"

QA_PREBUILT="
   opt/${MY_PN}/*.so*
   opt/${MY_PN}/vieb
   opt/${MY_PN}/chrome-sandbox
   opt/${MY_PN}/chrome_crashpad_handler
"

src_install() {
   insinto /opt/Vieb
   doins -r opt/Vieb/.

   exeinto /opt/Vieb
   doexe opt/Vieb/*.so*
   doexe opt/Vieb/{chrome-sandbox,chrome_crashpad_handler,vieb}

   insinto /usr/share/applications/
   doins usr/share/applications/vieb.desktop

   insinto /usr/share/icons/hicolor/
   doins -r usr/share/icons/hicolor/.

   dosym -r /opt/Vieb/vieb /usr/bin/vieb
}

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sumati
Apprentice
Apprentice


Joined: 10 Nov 2019
Posts: 184

PostPosted: Mon Mar 04, 2024 7:37 pm    Post subject: Reply with quote

fedeliallalinea, many thanks for your offering your ebuild! Wonderful, following the guide in https://wiki.gentoo.org/wiki/Creating_an_ebuild_repository I have successfully emerged vieb.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum