public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-client/nyxt/
Date: Mon, 10 Jul 2023 23:46:16 +0000 (UTC)	[thread overview]
Message-ID: <1689032674.5d6a6feee6b19b8a85bae4f0468d10fac844729f.julien@gentoo> (raw)

commit:     5d6a6feee6b19b8a85bae4f0468d10fac844729f
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Jul 10 23:44:34 2023 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Jul 10 23:44:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5d6a6fee

www-client/nyxt: add 3.4.0

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

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

diff --git a/www-client/nyxt/Manifest b/www-client/nyxt/Manifest
index be41fc7da..c549137f5 100644
--- a/www-client/nyxt/Manifest
+++ b/www-client/nyxt/Manifest
@@ -1,2 +1,3 @@
 DIST nyxt-3.2.1.gh.tar.xz 16740188 BLAKE2B 324f4d0b6b5e7242cc3a9d5ff95fc26f2bde11d77afc309e167da009d4dc39d552b341caa811a7d5cd0bcc61794885f4f4bf81170179a9fcc321e586b068ca14 SHA512 01ecd1cc1b07c12a4e25fb803f53dcb8542a0e8c60217ee629652e47dbaaaa63d6f39c6835c71cc733bf9a001b0791af72a111a06cc67e5bea1ae4d387f8a30f
 DIST nyxt-3.3.0.gh.tar.xz 16742852 BLAKE2B 7c3b35cd8129dbe67da68595e31466965677235904dc9b924dcf5a8299b89b683b51b80abf1c52eac109837d5c299e3b27c74016965b04f0b5195566a6a937d4 SHA512 9dbd5808a4563f91920a4bdaaef24d5e9bd254979b8e962cae1508f7686fad8957aec7da0540b4abbcdfda7dd5c1e3f205dbf9b7141de5a4df4a9521c0af3815
+DIST nyxt-3.4.0.gh.tar.xz 16745700 BLAKE2B 7a611f594d1267101a1e0083092da58db48e167045b94dc063c23bb95e837e568388154dfd78d7f52876a41b16863a6c14d2e6c654f5ee61a91eaf1acf863fd1 SHA512 e104219f6e7f69e8fd51a5a07280924d9ba1703a9c1661acf80f6158b0c4262f32b80d760cf08b269e2e18ae9727fed0d59451a53bb1f175042a68fd686807ed

diff --git a/www-client/nyxt/nyxt-3.4.0.ebuild b/www-client/nyxt/nyxt-3.4.0.ebuild
new file mode 100644
index 000000000..5ef18c896
--- /dev/null
+++ b/www-client/nyxt/nyxt-3.4.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-07-10 23:46 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10 23:46 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-20 18:30 [gentoo-commits] repo/proj/guru:dev commit in: www-client/nyxt/ Dale Showers
2024-10-20 18:27 Dale Showers
2024-08-30 19:41 Dale Showers
2024-08-30 19:38 Dale Showers
2024-08-18 14:24 Dale Showers
2024-08-01 23:01 Dale Showers
2024-05-31 23:25 Dale Showers
2024-05-31 23:13 Dale Showers
2024-05-31 22:59 Dale Showers
2024-05-31  8:55 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-31  8:45 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-31  8:55 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-31  8:45 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-30 19:55 Dale Showers
2024-04-29 16:26 Dale Showers
2024-04-14 16:43 Dale Showers
2024-03-19 23:50 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-19 23:50 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-19 23:50 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-19 23:50 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-19 23:09 Dale Showers
2024-03-04 14:43 Dale Showers
2024-02-20 15:32 Dale Showers
2024-02-06 18:10 Dale Showers
2024-02-06 18:06 Dale Showers
2023-10-14 19:33 Julien Roy
2023-10-14 19:33 Julien Roy
2023-10-14 19:33 Julien Roy
2023-09-28 19:37 Julien Roy
2023-09-12 19:09 Julien Roy
2023-09-12 19:09 Julien Roy
2023-09-12 19:09 Julien Roy
2023-09-12 19:09 Julien Roy
2023-08-30 21:49 Julien Roy
2023-08-30 21:49 Julien Roy
2023-08-17 16:49 Julien Roy
2023-08-17 16:49 Julien Roy
2023-07-10 23:46 Julien Roy
2023-07-01 21:39 Julien Roy
2023-07-01 21:39 Julien Roy
2023-06-19 16:51 Julien Roy
2023-06-19 16:51 Julien Roy
2023-06-12 16:23 Julien Roy
2023-06-12 16:23 Julien Roy
2023-05-29 13:09 Julien Roy
2023-05-29 13:09 Julien Roy
2023-05-24  1:49 Julien Roy
2023-04-20 16:31 Julien Roy
2023-04-20 16:30 Julien Roy
2023-04-20 16:30 Julien Roy
2023-03-28 23:47 Julien Roy
2023-03-26  4:48 Julien Roy
2023-03-26  4:48 Julien Roy
2023-03-07 15:06 Julien Roy
2023-02-07  1:10 Julien Roy
2023-02-07  1:10 Julien Roy
2023-01-31 15:21 Julien Roy
2023-01-29 23:28 Julien Roy
2023-01-29 23:28 Julien Roy
2023-01-14  4:34 Julien Roy
2022-05-19 20:59 Tony Olagbaiye
2022-05-18 19:35 Tony Olagbaiye
2022-05-18 16:40 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=1689032674.5d6a6feee6b19b8a85bae4f0468d10fac844729f.julien@gentoo \
    --to=julien@jroy.ca \
    --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