public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: www-client/nyxt/
Date: Mon, 12 Jun 2023 19:27:30 +0000 (UTC)	[thread overview]
Message-ID: <1686586974.df3c64e3f85629423afe13bbd8327824c9824b6b.flow@gentoo> (raw)

commit:     df3c64e3f85629423afe13bbd8327824c9824b6b
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Jun 12 16:22:54 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 16:22:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df3c64e3

www-client/nyxt: add 3.2.0

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 www-client/nyxt/Manifest          |   1 +
 www-client/nyxt/nyxt-3.2.0.ebuild | 100 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/www-client/nyxt/Manifest b/www-client/nyxt/Manifest
index 666d7c4b7..205db5b79 100644
--- a/www-client/nyxt/Manifest
+++ b/www-client/nyxt/Manifest
@@ -1,2 +1,3 @@
 DIST nyxt-3.0.0.gh.tar.xz 16738792 BLAKE2B 04fcaffa852c3035142a6b48c853083e9b9516d3e7682988806a19b2dab54d0ac288a8e4464da779f8facefca2eec63f31be7f0906567540c5e3754a91642f15 SHA512 1411f9b18eb65de8efdf46e850d4d78c67c2b5ee3ffbf7e9b1c67f6fda2ed7ad154414dc9d842a1fd4cf78a3619d9da560327e658bb0735a117be50aca87f4e8
 DIST nyxt-3.1.0.gh.tar.xz 16737888 BLAKE2B 32377aefda43a9ba23d0fed27a02d22ebbdd59212d05d990aba2bfa24faf8561d3ce1111ca236da24036b33f52d40de8e569a878490ab79dbce37b5d923d6da2 SHA512 a111374aba9e081e7da741cea552943be1a925cf1973467a091ebc0f60cf292a400fd85e332a66682bf4167887abf33bd254ee2a1e20e665161d0d9824fc3d34
+DIST nyxt-3.2.0.gh.tar.xz 16737336 BLAKE2B 5af5844294c087c376e48e06e842a381a6d83246a326a55c5dcc7a5c57f59bd009aeb6fe0e1b52e134542d49baeee60f81eb6ee83303de840e03b2b3c6fe8c96 SHA512 9c565fdcc9d331584f31d201c6386046ac5c945a3f174619c9a0ca635fe5eb40713eb94bebb2c28ef77f7107d9d6e5bbfb4ba191bf2344649bb3a27d760884b6

diff --git a/www-client/nyxt/nyxt-3.2.0.ebuild b/www-client/nyxt/nyxt-3.2.0.ebuild
new file mode 100644
index 000000000..5ef18c896
--- /dev/null
+++ b/www-client/nyxt/nyxt-3.2.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature xdg-utils
+
+DESCRIPTION="Nyxt - the hacker's power-browser"
+HOMEPAGE="https://nyxt.atlas.engineer/"
+
+if [[ "${PV}" = *9999* ]]
+then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/atlas-engineer/${PN}.git"
+else
+	KEYWORDS="~amd64"
+	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
+RESTRICT="mirror strip"
+
+LICENSE="BSD CC-BY-SA-3.0"
+SLOT="0"
+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
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+	>=dev-lisp/sbcl-2.0.0
+"
+
+src_unpack() {
+	default
+
+	# nyxt-3-source-with-submodules.tar.xz doesn't unpack in a subdirectory
+	# so we create it instead of working directly in ${WORKDIR}
+	if [[ "${PV}" != *9999* ]]
+	then
+		mkdir "${WORKDIR}/${P}" || die
+		mv "${WORKDIR}/assets" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/_build" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/build-scripts" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/documents" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/engineer.atlas.Nyxt.yaml" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/examples" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/INSTALL" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/libraries" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/licenses" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/makefile" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/nyxt.asd" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/README.org" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/source" "${WORKDIR}/${P}/" || die
+		mv "${WORKDIR}/tests" "${WORKDIR}/${P}/" || die
+	fi
+}
+
+src_compile() {
+	emake all
+	use doc && emake doc
+}
+
+src_install(){
+	dobin "${S}/nyxt"
+
+	if [ "$(use doc)" ]
+	then
+		docinto "/usr/share/doc/${P}"
+		dodoc "${S}/manual.html"
+	fi
+
+	newicon -s 512 "${S}/assets/nyxt_512x512.png" nyxt.png
+	domenu "${S}/assets/nyxt.desktop"
+}
+
+pkg_postinst() {
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+	optfeature "for X11 clipboard support" "x11-misc/xclip"
+	optfeature "for spellchecking" "app-text/enchant"
+}
+
+pkg_postrm() {
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}


             reply	other threads:[~2023-06-12 19:27 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12 19:27 Florian Schmaus [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
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-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=1686586974.df3c64e3f85629423afe13bbd8327824c9824b6b.flow@gentoo \
    --to=flow@gentoo.org \
    --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