diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-embedded/squareline-studio | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-embedded/squareline-studio')
4 files changed, 122 insertions, 0 deletions
diff --git a/dev-embedded/squareline-studio/Manifest b/dev-embedded/squareline-studio/Manifest new file mode 100644 index 000000000000..c0d738f3c9d3 --- /dev/null +++ b/dev-embedded/squareline-studio/Manifest @@ -0,0 +1,2 @@ +DIST squareline-studio-1.6.0.zip 178390461 BLAKE2B 9b6f16bfba7a0f0b12884208842306e84c5ae873fde91c65624c975a29f2166cb7aa4e2f774e266f7ebde593c9bd5c549e3717cf6903bd72a2eb74652ed34a28 SHA512 1c442bd1d92935b0154089196b7f7069c5aacce055c9e2b121a4cee55483b0567146d97d932fdd7e9b993212881f72f80e29754585e14acdb4f2429593105e2d +DIST squareline-studio-1.6.1.zip 180438276 BLAKE2B 65d8362ca4b4496489702b63e5157237a0aa5b61f15be784d9ccd4647b78340f8f9693828219f5e101a33d65c859b658a348bef81c268aa0e1a104e04b4cafb8 SHA512 de09dfcecee3a4f9a00cc2507fc6faab9d8cb0c6e439fd8186adaff2fbf72c4f591d520dee1e0204552addb6454c694f6e74b1d30e88d8b88c4f0fe5ff0170a0 diff --git a/dev-embedded/squareline-studio/metadata.xml b/dev-embedded/squareline-studio/metadata.xml new file mode 100644 index 000000000000..572adf1125b5 --- /dev/null +++ b/dev-embedded/squareline-studio/metadata.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vowstar@gmail.com</email> + <name>Huang Rui</name> + </maintainer> + <longdescription lang="en"> + Next generation UI editor for individuals and professionals to design + and develop beautiful UIs for your embedded devices quickly and easily. + SquareLine Studio is specially developed for designers so as to + implement their plans in the most efficient way and to take the most off + the programmers' shoulders. SquareLine Studio uses the fully open source + LVGL UI library which makes it possible to control the whole project + because there is no Lib file generated code set. Meanwhile, it gives + great performance on low performance devices. + SquareLine Studio supports exporting C and MicroPyton source code. + If you don't need the low level C programming, you can create your + project in the simplyfied version of the well-known and commonly used + Python scripting language, MicroPython. The advantage of MicroPython + compared to C programming is that it can process commands in real time. + For instance if we would like to add a button to the screen of a project + running on a device, we should send the Add button command to the system + so as to make the button appear immediately on the device. + </longdescription> + <longdescription lang="zh"> + 下一代的UI编辑器,适用于个人和专业人士,可以快速、轻松地为您的嵌入式设备 + 设计和开发美观的用户界面。SquareLine Studio是专门为设计师开发的,以便以 + 最高效的方式实现他们的计划,同时尽量减轻程序员的负担。SquareLine Studio + 使用完全开源的LVGL UI库,这使得可以控制整个项目,因为不会生成Lib文件 + 编码集。同时,它在低性能的设备上表现出色。 + SquareLine Studio支持导出C和MicroPython源代码。如果您不需要低级C编程, + 您可以使用众所周知且常用的Python脚本语言的简化版本MicroPython创建您的 + 项目。与C编程相比,MicroPython的优势是它可以实时处理命令。例如,如果我们 + 想在运行在设备上的项目的屏幕上添加一个按钮,我们应该向系统发送添加按钮的 + 命令,以便立即在设备上显示该按钮。 + </longdescription> +</pkgmetadata> diff --git a/dev-embedded/squareline-studio/squareline-studio-1.6.0.ebuild b/dev-embedded/squareline-studio/squareline-studio-1.6.0.ebuild new file mode 100644 index 000000000000..aeda59ccf31b --- /dev/null +++ b/dev-embedded/squareline-studio/squareline-studio-1.6.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +MY_PV="$(ver_rs 1- '_')" + +inherit desktop xdg + +DESCRIPTION="Visual drag-and-drop UI editor for LVGL" +HOMEPAGE="https://squareline.io" +SRC_URI=" + https://static.squareline.io/downloads/SquareLine_Studio_Linux_v${MY_PV}.zip -> ${P}.zip +" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0/${PV}" +KEYWORDS="-* ~amd64" + +BDEPEND=" + app-arch/unzip +" + +QA_PREBUILT="*" + +src_install() { + # desktop entry + sed "s|__folder__|/opt/${P}|g" squareline_studio.desktop.template > "${P}.desktop" || die + # install + insinto "/opt/${P}" + doins -r * + for x in $(find .) ; do + # Fix python script permissions + [[ "${x: -3}" == ".py" ]] && fperms 0755 "/opt/${P}/${x}" + # Use \x7fELF header to separate ELF executables and libraries + [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] && fperms 0755 "/opt/${P}/${x}" + done + domenu "${P}.desktop" + dosym ../../opt/"${P}"/"SquareLine_Studio.x86_64" /usr/bin/"${P}" +} diff --git a/dev-embedded/squareline-studio/squareline-studio-1.6.1.ebuild b/dev-embedded/squareline-studio/squareline-studio-1.6.1.ebuild new file mode 100644 index 000000000000..aeda59ccf31b --- /dev/null +++ b/dev-embedded/squareline-studio/squareline-studio-1.6.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +MY_PV="$(ver_rs 1- '_')" + +inherit desktop xdg + +DESCRIPTION="Visual drag-and-drop UI editor for LVGL" +HOMEPAGE="https://squareline.io" +SRC_URI=" + https://static.squareline.io/downloads/SquareLine_Studio_Linux_v${MY_PV}.zip -> ${P}.zip +" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0/${PV}" +KEYWORDS="-* ~amd64" + +BDEPEND=" + app-arch/unzip +" + +QA_PREBUILT="*" + +src_install() { + # desktop entry + sed "s|__folder__|/opt/${P}|g" squareline_studio.desktop.template > "${P}.desktop" || die + # install + insinto "/opt/${P}" + doins -r * + for x in $(find .) ; do + # Fix python script permissions + [[ "${x: -3}" == ".py" ]] && fperms 0755 "/opt/${P}/${x}" + # Use \x7fELF header to separate ELF executables and libraries + [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] && fperms 0755 "/opt/${P}/${x}" + done + domenu "${P}.desktop" + dosym ../../opt/"${P}"/"SquareLine_Studio.x86_64" /usr/bin/"${P}" +} |
