From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: www-client/nyxt/
Date: Wed, 7 Feb 2024 10:10:09 +0000 (UTC) [thread overview]
Message-ID: <1707242707.8f59f523c31c16840c758d82e001fd958c5e0b3a.davidroman@gentoo> (raw)
commit: 8f59f523c31c16840c758d82e001fd958c5e0b3a
Author: Dale Showers <gentoo <AT> fictx <DOT> com>
AuthorDate: Tue Feb 6 18:05:07 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Feb 6 18:05:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f59f523
www-client/nyxt: fix 9999 build
Signed-off-by: Dale Showers <gentoo <AT> fictx.com>
www-client/nyxt/nyxt-9999.ebuild | 62 +++++++++++++++++-----------------------
1 file changed, 26 insertions(+), 36 deletions(-)
diff --git a/www-client/nyxt/nyxt-9999.ebuild b/www-client/nyxt/nyxt-9999.ebuild
index 59fd299396..463f1d0ed6 100644
--- a/www-client/nyxt/nyxt-9999.ebuild
+++ b/www-client/nyxt/nyxt-9999.ebuild
@@ -1,30 +1,22 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit desktop optfeature xdg-utils
+inherit desktop optfeature xdg
DESCRIPTION="Nyxt - the hacker's power-browser"
HOMEPAGE="https://nyxt.atlas.engineer/"
-if [[ "${PV}" = *9999* ]]
-then
+if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/atlas-engineer/${PN}.git"
+ EGIT_SUBMODULES=( '*' )
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${S}"
else
KEYWORDS="~amd64"
- NYXTCOMMIT="27612fee394f80dee6480c045ec7da5cd1f82196"
- S="${WORKDIR}/${PN}-${NYXTCOMMIT}"
-
- # Specify commits for each submodules
- # Some regex substitutions allows to automate this process...
- # Commit hashes are obtained from -9999 version on ${NYXTCOMMIT}
- # Full list can be found here: https://github.com/atlas-engineer/nyxt/tree/master/_build
- # Removed the commits to reduce useless lines in -9999 version
-
- SRC_URI="https://github.com/atlas-engineer/${PN}/archive/${NYXTCOMMIT}.tar.gz -> ${P}.gh.tar.gz"
- # Removed the submodules SRC_URIs to reduce useless lines in -9999 version
+ SRC_URI="https://github.com/atlas-engineer/${PN}/releases/download/${PV}/nyxt-${PV}-source-with-submodules.tar.xz -> ${PF}.gh.tar.xz"
fi
# Portage replaces the nyxt binary with scbl when stripping
@@ -37,11 +29,6 @@ IUSE="doc"
RDEPEND="
dev-libs/gobject-introspection
gnome-base/gsettings-desktop-schemas
- media-libs/gst-plugins-bad
- media-libs/gst-plugins-base
- media-libs/gst-plugins-good
- media-libs/gst-plugins-ugly
- media-plugins/gst-plugins-libav
net-libs/glib-networking
net-libs/webkit-gtk:4.1
sys-libs/libfixposix
@@ -53,17 +40,15 @@ BDEPEND="
"
QA_FLAGS_IGNORED="usr/bin/${PN}"
-src_unpack() {
- default
-
- # Unpack the submodules in the _build directory
- if [[ "${PV}" != *9999* ]]
- then
- # Removed src_unpack to reduce useless lines in -9999
- true
- fi
+if [[ "${PV}" != 9999 ]]; then
+ src_unpack() {
+ mkdir "${WORKDIR}/${P}" || die
+ cd "${WORKDIR}/${P}"
+ default
}
+fi
+
src_compile() {
emake all
use doc && emake doc
@@ -78,20 +63,25 @@ src_install(){
dodoc "${S}/manual.html"
fi
- doicon "${S}/assets/icon_512x512.png.ico"
+ for icon in 16x16 32x32 128x128 256x256 512x512; do
+ newicon -s ${icon} "${S}/assets/nyxt_${icon}.png" ${PN}.png
+ done
+
domenu "${S}/assets/nyxt.desktop"
}
pkg_postinst() {
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
- xdg_icon_cache_update
+ xdg_pkg_postinst
optfeature "for X11 clipboard support" "x11-misc/xclip"
optfeature "for spellchecking" "app-text/enchant"
+ optfeature "for HTML5 audio/video" "media-libs/gstreamer"
+ optfeature "for HTML5 audio/video" "media-libs/gst-plugins-bad"
+ optfeature "for HTML5 audio/video" "media-libs/gst-plugins-base"
+ optfeature "for HTML5 audio/video" "media-libs/gst-plugins-good"
+ optfeature "for HTML5 audio/video" "media-libs/gst-plugins-ugly"
+ optfeature "for HTML5 audio/video" "media-plugins/gst-plugins-libav"
}
pkg_postrm() {
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
- xdg_icon_cache_update
+ xdg_pkg_postrm
}
next reply other threads:[~2024-02-07 10:10 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-07 10:10 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-21 9:51 [gentoo-commits] repo/proj/guru:master commit in: www-client/nyxt/ David Roman
2024-10-21 9:51 David Roman
2024-08-31 13:06 David Roman
2024-08-31 13:06 David Roman
2024-08-02 9:31 David Roman
2024-06-01 22:03 Julien Roy
2024-06-01 22:03 Julien Roy
2024-06-01 22:03 Julien Roy
2024-05-31 8:55 Julien Roy
2024-05-31 8:55 Julien Roy
2024-05-31 8:55 Julien Roy
2024-04-29 21:27 David Roman
2024-04-14 17:03 Julien Roy
2024-03-19 23:50 Julien Roy
2024-03-19 23:50 Julien Roy
2024-03-19 23:50 Julien Roy
2024-03-04 21:09 Julien Roy
2024-02-20 18:23 Julien Roy
2024-02-07 10:10 David Roman
2023-10-15 22:23 Haelwenn Monnier
2023-10-15 22:23 Haelwenn Monnier
2023-10-15 22:23 Haelwenn Monnier
2023-09-29 11:30 David Roman
2023-09-14 13:22 David Roman
2023-09-14 13:22 David Roman
2023-08-18 6:21 Viorel Munteanu
2023-08-18 6:21 Viorel Munteanu
2023-07-02 13:06 Florian Schmaus
2023-07-02 13:06 Florian Schmaus
2023-06-12 19:27 Florian Schmaus
2023-06-12 19:27 Florian Schmaus
2023-05-29 20:57 Florian Schmaus
2023-05-29 20:57 Florian Schmaus
2023-05-25 2:21 Haelwenn Monnier
2023-04-20 19:40 Florian Schmaus
2023-04-20 19:40 Florian Schmaus
2023-04-20 19:40 Florian Schmaus
2023-03-29 6:56 Florian Schmaus
2023-03-08 9:08 Florian Schmaus
2023-02-08 12:09 Florian Schmaus
2023-02-08 12:09 Florian Schmaus
2023-02-01 21:36 Viorel Munteanu
2023-01-30 10:29 Viorel Munteanu
2023-01-30 10:29 Viorel Munteanu
2023-01-14 18:43 Andrew Ammerlaan
2022-05-23 17:15 Haelwenn Monnier
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=1707242707.8f59f523c31c16840c758d82e001fd958c5e0b3a.davidroman@gentoo \
--to=davidroman96@gmail.com \
--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