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.77c610c807c3901eddc6ed65e08eefebaa58ddfd.efe.izbudak@gentoo> (raw)
commit: 77c610c807c3901eddc6ed65e08eefebaa58ddfd
Author: Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
AuthorDate: Thu Jul 13 13:07:05 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=77c610c8
www-client/vimb: fix compilation for gtk+[-X,wayland]
The XEMBED feature has to be disabled if gtk+ has been built with
wayland flag only (no X).
Also added missing einstalldocs function to src_install.
Signed-off-by: Efe İzbudak <efe.izbudak <AT> metu.edu.tr>
www-client/vimb/vimb-3.6.0.ebuild | 4 +++-
www-client/vimb/vimb-9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/www-client/vimb/vimb-3.6.0.ebuild b/www-client/vimb/vimb-3.6.0.ebuild
index f7ced56c8..2ffaa5924 100644
--- a/www-client/vimb/vimb-3.6.0.ebuild
+++ b/www-client/vimb/vimb-3.6.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit savedconfig optfeature
+inherit flag-o-matic optfeature savedconfig
DESCRIPTION="A fast, lightweight, vim-like browser based on webkit"
HOMEPAGE="https://fanglingsu.github.io/vimb/"
@@ -35,6 +35,7 @@ src_prepare() {
}
src_compile() {
+ has_version x11-libs/gtk+:3[-X,wayland] && append-cflags -DFEATURE_NO_XEMBED=1
emake PREFIX="/usr"
}
@@ -42,6 +43,7 @@ src_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
+ einstalldocs
}
pkg_postinst() {
diff --git a/www-client/vimb/vimb-9999.ebuild b/www-client/vimb/vimb-9999.ebuild
index f7ced56c8..2ffaa5924 100644
--- a/www-client/vimb/vimb-9999.ebuild
+++ b/www-client/vimb/vimb-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit savedconfig optfeature
+inherit flag-o-matic optfeature savedconfig
DESCRIPTION="A fast, lightweight, vim-like browser based on webkit"
HOMEPAGE="https://fanglingsu.github.io/vimb/"
@@ -35,6 +35,7 @@ src_prepare() {
}
src_compile() {
+ has_version x11-libs/gtk+:3[-X,wayland] && append-cflags -DFEATURE_NO_XEMBED=1
emake PREFIX="/usr"
}
@@ -42,6 +43,7 @@ src_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
+ einstalldocs
}
pkg_postinst() {
next reply other threads:[~2023-07-13 13:22 UTC|newest]
Thread overview: 13+ 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 --
2023-07-13 13:22 [gentoo-commits] repo/proj/guru:dev commit in: www-client/vimb/ 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.77c610c807c3901eddc6ed65e08eefebaa58ddfd.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