diff options
author | Julien Roy <julien@jroy.ca> | 2023-03-28 19:47:38 -0400 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2023-03-28 19:47:38 -0400 |
commit | f89830e7aaff33b4f81469c530758ce297c45a1a (patch) | |
tree | 9b89ca88dccfdc9d2d27662cdb6525304672b719 /www-client | |
parent | app-office/nixnote-bin: year fix (diff) | |
download | guru-f89830e7aaff33b4f81469c530758ce297c45a1a.tar.gz guru-f89830e7aaff33b4f81469c530758ce297c45a1a.tar.bz2 guru-f89830e7aaff33b4f81469c530758ce297c45a1a.zip |
www-client/nyxt: add 3_pre5
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_pre5.ebuild | 107 |
2 files changed, 108 insertions, 0 deletions
diff --git a/www-client/nyxt/Manifest b/www-client/nyxt/Manifest index b8096c9d6..e023cc19e 100644 --- a/www-client/nyxt/Manifest +++ b/www-client/nyxt/Manifest @@ -104,6 +104,7 @@ DIST nkeymaps-d43267a56f0ac264e4bdb3c75bbfc426f5ac5b2e.gh.tar.gz 19615 BLAKE2B 0 DIST nsymbols-873d855c2d86501341ab0eca1572a64aac7585a3.gh.tar.gz 10282 BLAKE2B 6f3a8af36d9ca84303571289f2d727e06dca92e5af8be3b005832b783c89b54111900d0d95015e0789c2132c19fd21fcf1ec0460895eb0ca122dba7fd75a5987 SHA512 8f24b92ba0b6483abcafa685e926887a89fe82a2dea23d132967937dc343c2b33c630ddbedd1b7753fc46978ea66da6ec2243beae60f6509fa8c13092414fd5f DIST nyxt-3_pre3.gh.tar.gz 568871 BLAKE2B 6bc5dd4fbcef5aac0969372791691e4bc97eb0fa1954787c29be3c1fd5eddc85f37a47c64727682a48cd90b1370612028833f861a99e9fbf63354e52e35357d7 SHA512 22ae66b624857f159eb41c1b067252203cb951fe62302cd4037d7be6b70214f82b95dfb6bb216fce670097c4a4247b4cdd903df641959e07ca43a655a4a9ab28 DIST nyxt-3_pre4-r1.gh.tar.gz 574775 BLAKE2B f7c158ff291cd109ed009e3c864140f2b840c0e5e519b1e0dde87a737feec1c54aec077e934608855faef9943a75eef7ba2b8e153aa216e96bdb26fc0869c00d SHA512 71774928dbbdecc702dc1718c2583565efd3422131d024c297cab4b58d0d02d27ee8f846afc598647d0bc85a4ce18f552dffe7efcbad2e00c9918b612f4f4e6e +DIST nyxt-3_pre5.gh.tar.xz 16609248 BLAKE2B 0a91ae24f5c1ae90abaaf7dd1de14171269a83716b30f8117d5fd24ba7bbb373fab5dfe53788b1640d1e3ffe69c6288c451f76bf5f30f738f9a61c237bb3d84f SHA512 19caf7a3937e26cb46015316f14d716d428c7427a330ab74f8c5533ec72000bb0800f99bc5fe6334542422950bbf4195f3f54f846bfab060ece334527ca9c1ae DIST optima-373b245b928c1a5cce91a6cb5bfe5dd77eb36195.gh.tar.gz 20577 BLAKE2B 946ef0692dddf55d79498e3c6a4ea6f64f614ded6e920f342b33e2bf62db9e1410e7e1cfe01b8f899b5ccb677b07e16128366b612743371c1e5aa8b00a75dc95 SHA512 312587ff0acb570bf7140d07e6bb52bd4209a498a78e29a422854b47af4a083d9d799fde11eb9d57e5eecea4422669d7879503557aa76d15d57d36b41a89da15 DIST osicat-eab6b8cabd71b59e894b51dc555e171683ec3387.gh.tar.gz 57228 BLAKE2B 526980bc31524bd7f7fdb554d2a9cc01e886540ef4b4d26f28ea6237122bf26939fdecc0c25a3635e823bdf118b02041b7ebf00bd86a71932b8b40ea6dcb302d SHA512 7ffc914e2885cc6c1975f16fe88b985a9dcb6cc85f55ed2ae9e888d121b6cfd49017cf707e679d60e9f194055a18800c88c84d5463192a13f4f4688022d15c52 DIST ospm-df261dedaa2e98f00b4b9ef6c41c08d231558682.gh.tar.gz 12228 BLAKE2B bdf98953edad214ae13d092669442048f6472ff7812b87b1e0f254ac6bb42d85b7d25d4148c3b25182c00d833d784c46071297ef851fd70e836d508d9a32c857 SHA512 4692d7e565758fe378fb919b07f4ae47c1291c99d8446083b0ba3a82f2e470bbd0b4114c182f2a4ca0013e2d2c606bc306f0015346c4276ceed30fb6afade056 diff --git a/www-client/nyxt/nyxt-3_pre5.ebuild b/www-client/nyxt/nyxt-3_pre5.ebuild new file mode 100644 index 000000000..5ef9b5099 --- /dev/null +++ b/www-client/nyxt/nyxt-3_pre5.ebuild @@ -0,0 +1,107 @@ +# 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" + MY_PV="${PV/_pre/-pre-release-}" + #S="${WORKDIR}/${P}" + + SRC_URI="https://github.com/atlas-engineer/${PN}/releases/download/${MY_PV}/nyxt-3-source-with-submodules.tar.xz -> ${PF}.gh.tar.xz" + # https://github.com/atlas-engineer/nyxt/releases/download/3-pre-release-5/nyxt-3-source-with-submodules.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 + !!net-libs/webkit-gtk:5 +" +# If net-libs/webkit-gtk:5 is installed, nyxt won't compile +# https://github.com/atlas-engineer/nyxt/issues/2743 + +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 +} |