aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2023-07-10 19:44:34 -0400
committerJulien Roy <julien@jroy.ca>2023-07-10 19:44:34 -0400
commit5d6a6feee6b19b8a85bae4f0468d10fac844729f (patch)
tree07d2b93b750eaaa45b082e463b41a185600f249a /www-client
parentapp-misc/*: simple name change and update (diff)
downloadguru-5d6a6feee6b19b8a85bae4f0468d10fac844729f.tar.gz
guru-5d6a6feee6b19b8a85bae4f0468d10fac844729f.tar.bz2
guru-5d6a6feee6b19b8a85bae4f0468d10fac844729f.zip
www-client/nyxt: add 3.4.0
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/nyxt/Manifest1
-rw-r--r--www-client/nyxt/nyxt-3.4.0.ebuild100
2 files changed, 101 insertions, 0 deletions
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
+}