From 8cb8bcb3a69af0e8e3b7f98cfe43f10670d86d62 Mon Sep 17 00:00:00 2001 From: PulkoMandy Date: Sat, 22 Nov 2025 12:04:25 +0100 Subject: [PATCH] lasermagic: WIP new recipe --- app-misc/lasermagic/lasermagic-v0.1.36.recipe | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 app-misc/lasermagic/lasermagic-v0.1.36.recipe diff --git a/app-misc/lasermagic/lasermagic-v0.1.36.recipe b/app-misc/lasermagic/lasermagic-v0.1.36.recipe new file mode 100644 index 000000000..c81099e1a --- /dev/null +++ b/app-misc/lasermagic/lasermagic-v0.1.36.recipe @@ -0,0 +1,53 @@ +SUMMARY="Open-source tool designed for laser cutting and engraving" +DESCRIPTION="LaserMagic is a powerful, open-source tool designed for laser cutting and engraving, \ +written entirely in Rust. Compatible with both Windows and Linux operating systems, \ +LaserMagic provides a seamless experience for users seeking to generate GRBL files \ +interpretable by laser machines. + +Features: +- GRBL File Generation: The tool facilitates the creation of GRBL files, ensuring compatibility \ + with a wide range of laser machines. +- SVG File Support: One of LaserMagic's standout features is its ability to save all project \ + data within SVG files. This not only enhances portability but also ensures that designs are \ + easily shareable and editable across different platforms and software. +- Cross-Platform Compatibility: Whether you're running Windows or Linux, LaserCut delivers \ + consistent performance and reliability. +- User-Friendly Interface: With a clean and intuitive interface, LaserCut caters to users of all \ + skill levels, making the laser cutting and engraving process accessible to everyone." +HOMEPAGE="https://lasermagic.ci-yow.com/" +COPYRIGHT="2025 BenoƮt Forgette alias MadSquirrel" +LICENSE="AGPL-3.0" +SOURCE_URI="https://gitlab.com/MadSquirrels/lasermagic/laser_tool/-/archive/v0.1.36/laser_tool-v0.1.36.tar.bz2" +SOURCE_DIR="laser_tool-$portVersion" +CHECKSUM_SHA256="790a619c3c2b83442c7e25e72878a99e721d0997c1d03d63781b907be0402289" +REVISION="1" + +ARCHITECTURES="!all !x86_gcc2" +SECONDARY_ARCHITECTURES="!x86" + +PROVIDES=" + lasermagic$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libssl$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cargo$secondaryArchSuffix + cmd:cc$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + cargo build --release --verbose +} + +INSTALL() +{ + cargo install +}