dev-embedded/nxp-gui-guider: add 2.0.1

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui committed 2026-09-20 23:29:40 -07:00
1 parent d7483d8d4d
commit a0e89c6cf0
2 files changed
+69

No files matched your search

+1
View File
@@ -1,2 +1,3 @@
DIST GUIGuider-2.0.0-amd64.deb 209098816 BLAKE2B ef444233a2e6d92b81142f2df1f85be4778a6efe13f965cda15e750f42a6bcd7908e18f471cfffec20eaaea840a3294f7115c2999f3bc07e717f2ae5bb344987 SHA512 f4b5d9f06ce93bc6d7d826ca39b597d2b0a7f21be3fcade49a37a5f17fd0c4b1b8995f6f1ba10bf5882e2d3413f169a6d8dcfccc9c17403cc38974c62ca390c1
DIST GUIGuider-2.0.1-amd64.deb 210430200 BLAKE2B 817ba220f067b72eb3d3dca73e443f7c91cf9ee48f80e4a8a0ee33b5da313c123752e4f4992886c2543a25ed9e5b612912f09a39b756bc00508cd0331ebf42f6 SHA512 9e18950de42f9bf4d0e347a0a55e3c9c71e044883f122fc1c04fab94192b987bf390324a32bb6bc8677c3cebcd88834d9fcc6f4f64b2de0d2a24222a77b1d875
DIST Gui-Guider-Setup-1.10.1-GA.deb 215467198 BLAKE2B 6fb770d166d3477bb0c43a6532b9d1783307679809ad92f5ed173609b0fd60db3d5e0650bc04d76d1bd4745f690bdf67f8d2463de4ea7b456b02578db8b4a8f5 SHA512 b9625e42f6be0591d635bd7dcd9810069e431863fd9ecee6bb6db788f1234de4884f0ff8eeb4c7b5ce226200b24e2a27606429944ee9c3cc9cf161d076bef4e6
@@ -0,0 +1,68 @@
# Copyright 1999-2026 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="
GUIGuider-${PV}-amd64.deb
"
S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist fetch strip"
RDEPEND="
app-accessibility/at-spi2-core
dev-libs/libayatana-appindicator
dev-libs/libffi
dev-libs/nss
media-libs/libsdl2
virtual/libusb:1
x11-libs/libnotify
x11-libs/libXScrnSaver
x11-libs/libXtst
"
DEPEND="${RDEPEND}"
BDEPEND="dev-util/patchelf"
QA_PREBUILT="*"
DOCS=( "opt/GUIGuider/EULA.html" )
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/GUIGuider
# Fix RPATHs to ensure the libraries can be found
pushd "${D}/opt/GUIGuider" || die
for f in $(find .) ; do
[[ -f "${f}" && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue
fperms 0755 "/opt/GUIGuider/${f}"
done
popd || die
local linkserver="/opt/GUIGuider/resources/assets/LinkServer/linux/binaries"
pushd "${D}${linkserver}" || die
for f in $(find .) ; do
[[ -f "${f}" && $(od -t x1 -N 4 "${f}") == *"7f 45 4c 46"* ]] || continue
# .cfx are statically linked ARM flash algorithms
[[ "${f: -4}" != ".cfx" ]] || continue
patchelf --set-rpath "${linkserver}" "${f}" || die "patchelf failed on ${f}"
done
popd || die
newicon -s 512 "usr/share/icons/hicolor/512x512/apps/guiguider.png" "guiguider.png"
domenu "usr/share/applications/guiguider.desktop"
einstalldocs
}