diff options
author | Julien Roy <julien@jroy.ca> | 2023-06-19 12:51:18 -0400 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2023-06-19 12:51:18 -0400 |
commit | ea5d3540a44fdf4070bd4b448b9cdd31b6f79fa9 (patch) | |
tree | bab6649d6e31d8a8f0e3bfaf845d497df27d8bc2 /www-client | |
parent | gnome-extra/extension-manager: Add 0.4.2 (diff) | |
download | guru-ea5d3540a44fdf4070bd4b448b9cdd31b6f79fa9.tar.gz guru-ea5d3540a44fdf4070bd4b448b9cdd31b6f79fa9.tar.bz2 guru-ea5d3540a44fdf4070bd4b448b9cdd31b6f79fa9.zip |
www-client/nyxt: add 3.2.1
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/nyxt/Manifest | 1 | ||||
-rw-r--r-- | www-client/nyxt/nyxt-3.2.1.ebuild | 100 |
2 files changed, 101 insertions, 0 deletions
diff --git a/www-client/nyxt/Manifest b/www-client/nyxt/Manifest index 0390982fc..21697cea9 100644 --- a/www-client/nyxt/Manifest +++ b/www-client/nyxt/Manifest @@ -1,2 +1,3 @@ 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 +DIST nyxt-3.2.1.gh.tar.xz 16740188 BLAKE2B 324f4d0b6b5e7242cc3a9d5ff95fc26f2bde11d77afc309e167da009d4dc39d552b341caa811a7d5cd0bcc61794885f4f4bf81170179a9fcc321e586b068ca14 SHA512 01ecd1cc1b07c12a4e25fb803f53dcb8542a0e8c60217ee629652e47dbaaaa63d6f39c6835c71cc733bf9a001b0791af72a111a06cc67e5bea1ae4d387f8a30f diff --git a/www-client/nyxt/nyxt-3.2.1.ebuild b/www-client/nyxt/nyxt-3.2.1.ebuild new file mode 100644 index 000000000..5ef18c896 --- /dev/null +++ b/www-client/nyxt/nyxt-3.2.1.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 +} |