From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 03BB715806E for ; Mon, 29 May 2023 20:57:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9D2FE09A6; Mon, 29 May 2023 20:57:30 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0E00E09A6 for ; Mon, 29 May 2023 20:57:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05D1C341111 for ; Mon, 29 May 2023 20:57:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F236A81 for ; Mon, 29 May 2023 20:57:27 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1685364448.6ae9c2bcd95ed1a264bb6a306d4f09e8529c80a8.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: www-client/nyxt/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-client/nyxt/Manifest www-client/nyxt/nyxt-3.1.0.ebuild X-VCS-Directories: www-client/nyxt/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 6ae9c2bcd95ed1a264bb6a306d4f09e8529c80a8 X-VCS-Branch: master Date: Mon, 29 May 2023 20:57:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1799c46c-d89d-4261-a9a9-aab765fd63ef X-Archives-Hash: 6c7f6592ed5180e4aa4e88194229b7e1 commit: 6ae9c2bcd95ed1a264bb6a306d4f09e8529c80a8 Author: Julien Roy jroy ca> AuthorDate: Mon May 29 12:47:28 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Mon May 29 12:47:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ae9c2bc www-client/nyxt: add 3.1.0 Signed-off-by: Julien Roy jroy.ca> www-client/nyxt/Manifest | 1 + www-client/nyxt/nyxt-3.1.0.ebuild | 100 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/www-client/nyxt/Manifest b/www-client/nyxt/Manifest index a61064836..4c1f6ae8d 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_pre6.gh.tar.xz 16636300 BLAKE2B 06d4b480b4b898d1e66b77f154913c212893c859b221a2e99c26c719bfe93ef8c502ad7341f6b7b73c5fb09dfbb204c64545d14dc081f01a87b4c56dd3f468ec SHA512 1598c78eb61bc4af2a6145f16ae9d9b073d2dcecf3a0f300cdd98a3227cd49a887bdb270fb161f605c0d95aa59f2967b2462285a09841b8b0acbd34a3909f50a diff --git a/www-client/nyxt/nyxt-3.1.0.ebuild b/www-client/nyxt/nyxt-3.1.0.ebuild new file mode 100644 index 000000000..5ef18c896 --- /dev/null +++ b/www-client/nyxt/nyxt-3.1.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 +}