commit: 5ac79d7193e3d5d486666115356df086ac1dcbfb Author: Huang Rui <vowstar <AT> gmail <DOT> com> AuthorDate: Fri Dec 26 06:23:51 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Fri Dec 26 06:23:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5ac79d71
dev-embedded/nxp-gui-guider: add 1.10.1 Signed-off-by: Huang Rui <vowstar <AT> gmail.com> dev-embedded/nxp-gui-guider/Manifest | 1 + .../nxp-gui-guider/nxp-gui-guider-1.10.1.ebuild | 74 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-embedded/nxp-gui-guider/Manifest b/dev-embedded/nxp-gui-guider/Manifest index 531e49ce59..638cecfba6 100644 --- a/dev-embedded/nxp-gui-guider/Manifest +++ b/dev-embedded/nxp-gui-guider/Manifest @@ -1 +1,2 @@ +DIST Gui-Guider-Setup-1.10.1-GA.deb 215467198 BLAKE2B 6fb770d166d3477bb0c43a6532b9d1783307679809ad92f5ed173609b0fd60db3d5e0650bc04d76d1bd4745f690bdf67f8d2463de4ea7b456b02578db8b4a8f5 SHA512 b9625e42f6be0591d635bd7dcd9810069e431863fd9ecee6bb6db788f1234de4884f0ff8eeb4c7b5ce226200b24e2a27606429944ee9c3cc9cf161d076bef4e6 DIST Gui-Guider-Setup-1.7.2-GA.deb 162466906 BLAKE2B 55fdbbac820c8844ee7d7747d4c6bb4138667c369ce7a08e85fcdaa9989fb73a240b9b62c55373612a12335b6e2d6955e2c4f07558497d38a8bf1bce835b0884 SHA512 a873d9304a0b1d8687cff69956e6ff2d3eaa8111c5b5f038c5beefb8da1ca8c21e43ef17ccbb277c49fd212140a350dd4d70445968d1acf00b4a2d3535cb3458 diff --git a/dev-embedded/nxp-gui-guider/nxp-gui-guider-1.10.1.ebuild b/dev-embedded/nxp-gui-guider/nxp-gui-guider-1.10.1.ebuild new file mode 100644 index 0000000000..aabb6eab57 --- /dev/null +++ b/dev-embedded/nxp-gui-guider/nxp-gui-guider-1.10.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit desktop unpacker xdg + +DESCRIPTION="GUI Guider is a user-friendly GUI development tool for LVGL" +HOMEPAGE="https://www.nxp.com/design/design-center/software/development-software/gui-guider" +SRC_URI=" + Gui-Guider-Setup-${PV}-GA.deb +" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" + +RESTRICT="bindist fetch strip" + +RDEPEND=" + dev-libs/libayatana-appindicator + dev-libs/libffi + dev-libs/nss + media-libs/libsdl2 + media-libs/vips + x11-libs/libnotify + x11-libs/libXtst +" +DEPEND="${RDEPEND}" +BDEPEND="dev-util/patchelf" + +QA_PREBUILT="*" +DOCS=( "opt/Gui-Guider/EULA.txt" ) + +pkg_nofetch() { + einfo "${PN} requires you to accept their license agreement before downloading." + einfo "Download ${SRC_URI}" + einfo "with your browser and place it in DISTDIR (usually /var/cache/distfiles/)" + einfo "Please place the ${P} installation file ${SRC_URI}" + einfo "in your \$\{DISTDIR\}." +} + +src_install() { + insinto "/opt" + doins -r opt/Gui-Guider + # Fix RPATHs to ensure the libraries can be found + pushd "${D}/opt/Gui-Guider" || die + for f in $(find .) ; do + [[ -f "${f}" && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue + fperms 0755 "/opt/Gui-Guider/${f}" + [[ "${f: -4}" != ".cfx" ]] || continue + patchelf --set-rpath "/opt/Gui-Guider" "${f}" || die "patchelf failed on ${f}" + done + popd || die + for f in $(find "${D}/opt/Gui-Guider/environment/LinkServer/linux/binaries") ; do + [[ -f "${f}" && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue + [[ "${f: -4}" != ".cfx" ]] || continue + patchelf --set-rpath \ +"/opt/Gui-Guider/environment/LinkServer/linux/binaries:\ +/opt/Gui-Guider/environment/LinkServer/linux/dist:\ +/opt/Gui-Guider/environment/LinkServer/linux/MCU-LINK_installer/bin:\ +/opt/Gui-Guider/environment/LinkServer/linux/dist/lib-dynload" \ + "${f}" || die "patchelf failed on ${f}" + done + for i in 16 32 64 128 256 512; do + png_file="usr/share/icons/hicolor/${i}x${i}/apps/Gui-Guider.png" + if [ -e "${png_file}" ]; then + newicon -s "${i}" "${png_file}" "Gui-Guider.png" + fi + done + domenu "usr/share/applications/Gui-Guider.desktop" + einstalldocs +}
