public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Efe İzbudak" <efe.izbudak@metu.edu.tr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-client/vimb/
Date: Thu, 13 Jul 2023 13:22:47 +0000 (UTC)	[thread overview]
Message-ID: <1689254562.3ec1c1f6648002d9ccb48ec5a3778d8aa5ff8cc3.efe.izbudak@gentoo> (raw)

commit:     3ec1c1f6648002d9ccb48ec5a3778d8aa5ff8cc3
Author:     Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
AuthorDate: Thu Jul 13 12:59:51 2023 +0000
Commit:     Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
CommitDate: Thu Jul 13 13:22:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ec1c1f6

www-client/vimb: use same template for 9999

Signed-off-by: Efe İzbudak <efe.izbudak <AT> metu.edu.tr>

 www-client/vimb/vimb-3.6.0.ebuild | 16 ++++++++++------
 www-client/vimb/vimb-9999.ebuild  | 27 ++++++++++++++++++---------
 2 files changed, 28 insertions(+), 15 deletions(-)

diff --git a/www-client/vimb/vimb-3.6.0.ebuild b/www-client/vimb/vimb-3.6.0.ebuild
index 177a0dd03..6ef548506 100644
--- a/www-client/vimb/vimb-3.6.0.ebuild
+++ b/www-client/vimb/vimb-3.6.0.ebuild
@@ -5,11 +5,16 @@ EAPI=7
 
 inherit savedconfig optfeature
 
-DESCRIPTION="a fast, lightweight, vim-like browser based on webkit"
+DESCRIPTION="A fast, lightweight, vim-like browser based on webkit"
 HOMEPAGE="https://fanglingsu.github.io/vimb/"
 
-KEYWORDS="~amd64"
-SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz"
+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"
@@ -19,7 +24,6 @@ DEPEND="
 	virtual/pkgconfig
 	adblock? ( www-misc/wyebadblock )
 "
-
 RDEPEND="
 	x11-libs/gtk+:3
 	>=net-libs/webkit-gtk-2.20.0:4
@@ -31,11 +35,11 @@ src_prepare() {
 }
 
 src_compile() {
-	emake V=1 PREFIX="/usr"
+	emake PREFIX="/usr"
 }
 
 src_install() {
-	emake V=1 PREFIX="/usr" DESTDIR="${D}" install
+	emake PREFIX="/usr" DESTDIR="${D}" install
 	save_config src/config.def.h
 	use adblock && dosym /usr/lib/wyebrowser/adblock.so /usr/lib/vimb/adblock.so
 }

diff --git a/www-client/vimb/vimb-9999.ebuild b/www-client/vimb/vimb-9999.ebuild
index e0dd30cea..6ef548506 100644
--- a/www-client/vimb/vimb-9999.ebuild
+++ b/www-client/vimb/vimb-9999.ebuild
@@ -3,23 +3,27 @@
 
 EAPI=7
 
-inherit savedconfig
+inherit savedconfig optfeature
 
-DESCRIPTION="a fast, lightweight, vim-like browser based on webkit"
+DESCRIPTION="A fast, lightweight, vim-like browser based on webkit"
 HOMEPAGE="https://fanglingsu.github.io/vimb/"
 
-inherit git-r3
-KEYWORDS=""
-EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git"
+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"
+IUSE="savedconfig adblock"
 
 DEPEND="
 	virtual/pkgconfig
+	adblock? ( www-misc/wyebadblock )
 "
-
 RDEPEND="
 	x11-libs/gtk+:3
 	>=net-libs/webkit-gtk-2.20.0:4
@@ -31,10 +35,15 @@ src_prepare() {
 }
 
 src_compile() {
-	emake V=1 PREFIX="/usr"
+	emake PREFIX="/usr"
 }
 
 src_install() {
-	emake V=1 PREFIX="/usr" DESTDIR="${D}" install
+	emake PREFIX="/usr" DESTDIR="${D}" install
 	save_config src/config.def.h
+	use adblock && dosym /usr/lib/wyebrowser/adblock.so /usr/lib/vimb/adblock.so
+}
+
+pkg_postinst() {
+	optfeature "media decoding support"  media-plugins/gst-plugins-libav media-libs/gst-plugins-good
 }


             reply	other threads:[~2023-07-13 13:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-13 13:22 Efe İzbudak [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-23 23:06 [gentoo-commits] repo/proj/guru:dev commit in: www-client/vimb/ demize
2023-07-13 13:22 Efe İzbudak
2023-07-13 13:22 Efe İzbudak
2023-07-13 13:22 Efe İzbudak
2023-07-13 13:22 Efe İzbudak
2023-02-23 14:51 Efe İzbudak
2022-09-10 14:29 Efe İzbudak
2022-09-08 22:49 Efe İzbudak
2022-09-08 22:41 Efe İzbudak
2022-09-08 11:46 Efe İzbudak
2022-05-19 14:35 Tony Olagbaiye
2022-05-18 19:35 Tony Olagbaiye
2022-05-18 16:41 Tony Olagbaiye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1689254562.3ec1c1f6648002d9ccb48ec5a3778d8aa5ff8cc3.efe.izbudak@gentoo \
    --to=efe.izbudak@metu.edu.tr \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox