From a262b46c46099a227656b21734f353a49b080781 Mon Sep 17 00:00:00 2001 From: Lucio Sauer Date: Tue, 20 Feb 2024 13:20:52 +0100 Subject: [PATCH 1/6] dev-util/bruno-bin: add QA_PREBUILT Closes: https://bugs.gentoo.org/924982 Closes: https://bugs.gentoo.org/924983 Signed-off-by: Lucio Sauer --- dev-util/bruno-bin/bruno-bin-1.9.0.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dev-util/bruno-bin/bruno-bin-1.9.0.ebuild b/dev-util/bruno-bin/bruno-bin-1.9.0.ebuild index 40437c4da5..abde2b3035 100644 --- a/dev-util/bruno-bin/bruno-bin-1.9.0.ebuild +++ b/dev-util/bruno-bin/bruno-bin-1.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -46,6 +46,17 @@ RDEPEND=" accessibility? ( app-accessibility/at-spi2-core ) " +QA_PREBUILT=" + opt/Bruno/bruno + opt/Bruno/chrome-sandbox + opt/Bruno/chrome_crashpad_handler + opt/Bruno/libEGL.so + opt/Bruno/libGLESv2.so + opt/Bruno/libffmpeg.so + opt/Bruno/libvk_swiftshader.so + opt/Bruno/libvulkan.so.1 +" + S="$WORKDIR" src_install() { From dcee5c0bf94c2c178c53c82573920bff7231c3d1 Mon Sep 17 00:00:00 2001 From: Lucio Sauer Date: Tue, 20 Feb 2024 13:23:51 +0100 Subject: [PATCH 2/6] dev-util/bruno-bin: fix dependencies All dependencies must be unconditional Add missing deps: - dev-libs/wayland required by shipped libGLESv2.so Runs without it but throws errors at startup: [1006:0220/122917.086782:ERROR:egl_util.cc(44)] Failed to load GLES library: /opt/Bruno/libGLESv2.so: libwayland-client.so.0: cannot open shared object file: No such file or directory [1006:0220/122917.090308:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1039:0220/122917.122467:ERROR:gpu_init.cc(521)] Passthrough is not supported, GL is disabled, ANGLE is - x11-misc/xdg-utils required for opening documentation etc. Closes: https://bugs.gentoo.org/924984 Signed-off-by: Lucio Sauer --- dev-util/bruno-bin/bruno-bin-1.9.0-r1.ebuild | 81 ++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 dev-util/bruno-bin/bruno-bin-1.9.0-r1.ebuild diff --git a/dev-util/bruno-bin/bruno-bin-1.9.0-r1.ebuild b/dev-util/bruno-bin/bruno-bin-1.9.0-r1.ebuild new file mode 100644 index 0000000000..26a7952949 --- /dev/null +++ b/dev-util/bruno-bin/bruno-bin-1.9.0-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-bin/}" + +inherit desktop unpacker xdg + +DESCRIPTION="Opensource IDE For Exploring and Testing Api's" +HOMEPAGE=" + https://www.usebruno.com/ + https://github.com/usebruno/bruno +" +SRC_URI="https://github.com/usebruno/${PN%-*}/releases/download/v${PV}/${PN%-*}_${PV}_amd64_linux.deb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-libs/wayland + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-devel/gcc:= + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libdrm + x11-libs/libxcb:= + x11-libs/libxkbcommon + x11-libs/pango + x11-misc/xdg-utils +" + +QA_PREBUILT=" + opt/Bruno/bruno + opt/Bruno/chrome-sandbox + opt/Bruno/chrome_crashpad_handler + opt/Bruno/libEGL.so + opt/Bruno/libGLESv2.so + opt/Bruno/libffmpeg.so + opt/Bruno/libvk_swiftshader.so + opt/Bruno/libvulkan.so.1 +" + +S="$WORKDIR" + +src_prepare() { + default + rm opt/Bruno/LICENSE* || die +} + +src_install() { + for size in 16x16 32x32 48x48 128x128 256x256 512x512 1024x1024; do + doicon -s "${size}" usr/share/icons/hicolor/"${size}"/apps/bruno.png + done + dosym -r /usr/share/icons/hicolor/512x512/apps/bruno.png \ + /usr/share/pixmaps/bruno.png + + domenu usr/share/applications/bruno.desktop + + insinto /opt/Bruno + doins -r opt/Bruno/. + fperms +x /opt/Bruno/bruno + fperms +x /opt/Bruno/chrome-sandbox + fperms +x /opt/Bruno/chrome_crashpad_handler + dosym -r /opt/Bruno/bruno /usr/bin/bruno +} From 65dad0f0d98d06cf785016f783c15ea9773b4bc9 Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 20 Feb 2024 23:09:58 +0900 Subject: [PATCH 3/6] dev-python/jsonpath-rw: use PEP517 build Closes: https://bugs.gentoo.org/897454 Closes: https://bugs.gentoo.org/921811 Signed-off-by: Takuya Wakazono --- dev-python/jsonpath-rw/Manifest | 1 + .../jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild diff --git a/dev-python/jsonpath-rw/Manifest b/dev-python/jsonpath-rw/Manifest index d4a65943b7..1350c89365 100644 --- a/dev-python/jsonpath-rw/Manifest +++ b/dev-python/jsonpath-rw/Manifest @@ -1 +1,2 @@ DIST jsonpath-rw-1.4.0.tar.gz 19813 BLAKE2B 2ee89864f38a6671ad593b5f056a19a794fcf6dd8dd56af1fbc709e50336ee5613c1144ec7f557d7380bed4eedd4ee7cc39f99ccb61dbc3a34c2e36641b183dc SHA512 8308e950f8b397e3ddd4120aa7794ab198d9f1a233c5fe16c2f393f1ba7e7e3bf289063a8b28f2425bfe0906be028f9bc1830779d09a56c306f2f102d26e6259 +DIST jsonpath-rw-1.4.0.gh.tar.gz 19813 BLAKE2B 2ee89864f38a6671ad593b5f056a19a794fcf6dd8dd56af1fbc709e50336ee5613c1144ec7f557d7380bed4eedd4ee7cc39f99ccb61dbc3a34c2e36641b183dc SHA512 8308e950f8b397e3ddd4120aa7794ab198d9f1a233c5fe16c2f393f1ba7e7e3bf289063a8b28f2425bfe0906be028f9bc1830779d09a56c306f2f102d26e6259 diff --git a/dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild b/dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild new file mode 100644 index 0000000000..ba5376a1c3 --- /dev/null +++ b/dev-python/jsonpath-rw/jsonpath-rw-1.4.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A robust and significantly extended implementation of JSONPath for Python" +HOMEPAGE=" + https://github.com/kennknowles/python-jsonpath-rw + https://pypi.org/project/jsonpath-rw/ +" +SRC_URI="https://github.com/kennknowles/python-jsonpath-rw/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/python-${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest From 431f0697c8158921ba908b0ca9e8dc8bcbb5cc43 Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 20 Feb 2024 23:11:29 +0900 Subject: [PATCH 4/6] dev-python/jsonpath-rw: drop 1.4.0 Signed-off-by: Takuya Wakazono --- dev-python/jsonpath-rw/Manifest | 1 - .../jsonpath-rw/jsonpath-rw-1.4.0.ebuild | 42 ------------------- 2 files changed, 43 deletions(-) delete mode 100644 dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild diff --git a/dev-python/jsonpath-rw/Manifest b/dev-python/jsonpath-rw/Manifest index 1350c89365..41d2fa2411 100644 --- a/dev-python/jsonpath-rw/Manifest +++ b/dev-python/jsonpath-rw/Manifest @@ -1,2 +1 @@ -DIST jsonpath-rw-1.4.0.tar.gz 19813 BLAKE2B 2ee89864f38a6671ad593b5f056a19a794fcf6dd8dd56af1fbc709e50336ee5613c1144ec7f557d7380bed4eedd4ee7cc39f99ccb61dbc3a34c2e36641b183dc SHA512 8308e950f8b397e3ddd4120aa7794ab198d9f1a233c5fe16c2f393f1ba7e7e3bf289063a8b28f2425bfe0906be028f9bc1830779d09a56c306f2f102d26e6259 DIST jsonpath-rw-1.4.0.gh.tar.gz 19813 BLAKE2B 2ee89864f38a6671ad593b5f056a19a794fcf6dd8dd56af1fbc709e50336ee5613c1144ec7f557d7380bed4eedd4ee7cc39f99ccb61dbc3a34c2e36641b183dc SHA512 8308e950f8b397e3ddd4120aa7794ab198d9f1a233c5fe16c2f393f1ba7e7e3bf289063a8b28f2425bfe0906be028f9bc1830779d09a56c306f2f102d26e6259 diff --git a/dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild b/dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild deleted file mode 100644 index 8cd5392286..0000000000 --- a/dev-python/jsonpath-rw/jsonpath-rw-1.4.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MYPN="python-${PN}" -PYTHON_COMPAT=( python3_10 pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A robust and significantly extended implementation of JSONPath for Python" -HOMEPAGE=" - https://github.com/kennknowles/python-jsonpath-rw - https://pypi.org/project/jsonpath-rw/ -" -SRC_URI="https://github.com/kennknowles/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MYPN}-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -RDEPEND=" - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/ply[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND="${REDEPEND}" -BDEPEND=" - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -RESTRICT="!test? ( test )" - -python_test() { - nosetests --verbose || die - py.test -v -v || die -} From cf6944b50235804b4195c7e16b8cede7e069ff97 Mon Sep 17 00:00:00 2001 From: Lucio Sauer Date: Tue, 20 Feb 2024 16:00:47 +0100 Subject: [PATCH 5/6] games-puzzle/baba-is-you: add missing RDEPEND Signed-off-by: Lucio Sauer --- .../baba-is-you/baba-is-you-474-r1.ebuild | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 games-puzzle/baba-is-you/baba-is-you-474-r1.ebuild diff --git a/games-puzzle/baba-is-you/baba-is-you-474-r1.ebuild b/games-puzzle/baba-is-you/baba-is-you-474-r1.ebuild new file mode 100644 index 0000000000..8abbf0146e --- /dev/null +++ b/games-puzzle/baba-is-you/baba-is-you-474-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="Baba Is You" + +inherit desktop + +DESCRIPTION="Puzzle game where you can change the rules by which you play" +HOMEPAGE="https://www.hempuli.com/baba/" +SRC_URI="BIY_linux.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist fetch" + +S="${WORKDIR}/${MY_PN}" + +# Has bundled media-video/libsdl2 with at least +# [alsa,joystick,pulseaudio,sound] +# Needs alsa-lib to launch with dummy audio even if system has no audio +RDEPEND=" + media-libs/alsa-lib + media-libs/libglvnd + virtual/opengl +" + +QA_PREBUILT="opt/*" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " https://hempuli.itch.io/baba" + einfo "and move it to your distfiles directory." +} + +src_install() { + local arch=$(usex amd64 64 32) + insinto /opt/${PN} + doins -r Assets.dat gamecontrollerdb.txt Data/ + + exeinto /opt/${PN}/bin${arch} + doexe bin${arch}/Chowdren + + exeinto /opt/${PN} + doexe run.sh + + newicon icon.bmp ${PN}.bmp + dosym -r /usr/share/pixmaps/${PN}.bmp /opt/${PN}/icon.bmp + make_desktop_entry /usr/bin/${PN} "${MY_PN}" ${PN}.bmp LogicGame + dosym -r /opt/${PN}/run.sh /usr/bin/${PN} +} From cbcd62313c6dc4e402b2564f54594827bb4e6de5 Mon Sep 17 00:00:00 2001 From: Dale Showers Date: Tue, 20 Feb 2024 10:31:12 -0500 Subject: [PATCH 6/6] www-client/nyxt: Add 3.11.3 remove 3.8.0 Signed-off-by: Dale Showers --- www-client/nyxt/Manifest | 2 +- www-client/nyxt/nyxt-3.11.3.ebuild | 87 +++++++++++++++++++++++++ www-client/nyxt/nyxt-3.8.0.ebuild | 100 ----------------------------- 3 files changed, 88 insertions(+), 101 deletions(-) create mode 100644 www-client/nyxt/nyxt-3.11.3.ebuild delete mode 100644 www-client/nyxt/nyxt-3.8.0.ebuild diff --git a/www-client/nyxt/Manifest b/www-client/nyxt/Manifest index 49d499b749..35d13d6b73 100644 --- a/www-client/nyxt/Manifest +++ b/www-client/nyxt/Manifest @@ -1,4 +1,4 @@ DIST nyxt-3.10.0.gh.tar.xz 17692748 BLAKE2B 278fc2874194b26bf33359b5051c42844141ae2863dd06bfd4c732079de1cca15cb794304852725f2032b9d3820223b5e25cf6df63201cbba81a5917f4c70ac9 SHA512 79285e75eb896983dc4931d7802bb808f5c6f04f04a2f1c002bd72586562f35387c04416308964ce0ef6d630b0aacf21590c6625caa8cf6bf1a3396bf2e95794 DIST nyxt-3.11.2.gh.tar.xz 18094244 BLAKE2B d1d48e2f8dbfc156cca05ce9e51386a6c3ae96b0e4f956ac140eeca6deb551be54806f4a11a910d58c40b5191bc9e3eb4e476f397b8a78c8c30daba71e606172 SHA512 4011196895af57c273e101b0a48248d30ba4e5cded1eedf1366cdef87b6a5d70f18f7c522aad7ec7776255e040a699edec637d915f5faacd27113fd39011cc83 -DIST nyxt-3.8.0.gh.tar.xz 17482408 BLAKE2B 177efead60a27e3b537468afe30ce2889d6579260a5bf0b7413b0c51a8ac4c066e091418083aef702b345128b59d3f7e266d342509eaec1f45941048368466db SHA512 6898d1b4be25f9c123453816a15e2eab10b36c2a16156bae4ff3e48b02f3f4ba944a94c7b42e3221cecff572a943f7eb1b9ffd7e6c0b8f9bd7c6e95191809114 +DIST nyxt-3.11.3.gh.tar.xz 18094008 BLAKE2B 11d85728e0593d2aab0e89c860f47a142ee8db0a4c0bf7c7c6d3e409152735d5ab66c140d413fdadd842738d75a65d02fe402dea5e3b272ec9cd413a2b9d4160 SHA512 b9e99efb137c3abc83ba7ee459b3dea91616c88613a30d8ef701b3b6091c6ed088572b16f9152883e7a66393f80afa094b2b49000ee519cb9e3c0e432957a1d8 DIST nyxt-3.9.0.gh.tar.xz 17712004 BLAKE2B a799c874a4ca3ca4141a11d3211094e88f9ecd954f5220cb9a030a2d45546f841d532e087a7bdf1cb4d23532f8d0c37082eb82366c97dbc9a744b22afddea41a SHA512 f1669e02705052d5f22958b77d9489f008e90c0b5bbc216681843bb344c2b8d74753c485424a4be46a6f4ab4c12e6e6238ed663c1e5987fe5b31e3582126ebb8 diff --git a/www-client/nyxt/nyxt-3.11.3.ebuild b/www-client/nyxt/nyxt-3.11.3.ebuild new file mode 100644 index 0000000000..463f1d0ed6 --- /dev/null +++ b/www-client/nyxt/nyxt-3.11.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop optfeature xdg + +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" + EGIT_SUBMODULES=( '*' ) + EGIT_BRANCH="master" + EGIT_CHECKOUT_DIR="${S}" +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 + net-libs/glib-networking + net-libs/webkit-gtk:4.1 + sys-libs/libfixposix +" + +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-lisp/sbcl-2.0.0 +" +QA_FLAGS_IGNORED="usr/bin/${PN}" + +if [[ "${PV}" != 9999 ]]; then + src_unpack() { + mkdir "${WORKDIR}/${P}" || die + cd "${WORKDIR}/${P}" + default +} + +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 + + for icon in 16x16 32x32 128x128 256x256 512x512; do + newicon -s ${icon} "${S}/assets/nyxt_${icon}.png" ${PN}.png + done + + domenu "${S}/assets/nyxt.desktop" +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "for X11 clipboard support" "x11-misc/xclip" + optfeature "for spellchecking" "app-text/enchant" + optfeature "for HTML5 audio/video" "media-libs/gstreamer" + optfeature "for HTML5 audio/video" "media-libs/gst-plugins-bad" + optfeature "for HTML5 audio/video" "media-libs/gst-plugins-base" + optfeature "for HTML5 audio/video" "media-libs/gst-plugins-good" + optfeature "for HTML5 audio/video" "media-libs/gst-plugins-ugly" + optfeature "for HTML5 audio/video" "media-plugins/gst-plugins-libav" +} + +pkg_postrm() { + xdg_pkg_postrm +} diff --git a/www-client/nyxt/nyxt-3.8.0.ebuild b/www-client/nyxt/nyxt-3.8.0.ebuild deleted file mode 100644 index ba6a328f5e..0000000000 --- a/www-client/nyxt/nyxt-3.8.0.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# 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 -" -QA_FLAGS_IGNORED="usr/bin/${PN}" - -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}/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 -}