Merge pull request #18946 from erkanisik1/master

new package opencadstudio
This commit is contained in:
Kamil ATLI
2026-07-02 16:15:50 +03:00
committed by GitHub
4 changed files with 155 additions and 0 deletions
@@ -0,0 +1,22 @@
#!/usr/bin/python3
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
import os
def setup():
shelltools.export("CARGO_HOME", os.path.join(get.workDIR(), ".cargo"))
def build():
shelltools.system("cargo build --release --bin OpenCADStudio")
def install():
if not os.path.exists(get.installDIR() + "/usr/bin"):
os.makedirs(get.installDIR() + "/usr/bin")
if not os.path.exists(get.installDIR() + "/usr/share/doc/opencadstudio"):
os.makedirs(get.installDIR() + "/usr/share/doc/opencadstudio")
shelltools.system("cp target/release/OpenCADStudio " + get.installDIR() + "/usr/bin/opencadstudio")
shelltools.system("cp README.md " + get.installDIR() + "/usr/share/doc/opencadstudio/README.md")
shelltools.system("cp LICENSE " + get.installDIR() + "/usr/share/doc/opencadstudio/LICENSE")
@@ -0,0 +1,15 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=OpenCADStudio
Name[tr]=OpenCADStudio
GenericName=2D/3D CAD Application
GenericName[tr]=2D/3D CAD Uygulaması
Comment=2D drafting and 3D modeling CAD application built with Rust
Comment[tr]=Rust ile yazılmış yerel DWG/DXF destekli 2D/3D CAD uygulaması
Exec=opencadstudio
Icon=opencadstudio
Terminal=false
Categories=Graphics;VectorGraphics;Engineering;
Keywords=cad;dwg;dxf;3d;2d;drawing;design;çizim;tasarım;
StartupNotify=true
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 48 48"
version="1.1"
id="svg8"
sodipodi:docname="logo.svg"
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs8" />
<sodipodi:namedview
id="namedview8"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:zoom="15.020833"
inkscape:cx="23.966713"
inkscape:cy="24"
inkscape:window-width="1920"
inkscape:window-height="939"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
<!-- Background -->
<rect
width="48"
height="48"
rx="6"
fill="#B03020"
id="rect1" />
<!-- O -->
<line x1="5" y1="10" x2="13" y2="10" stroke="white" stroke-width="3" stroke-linecap="round" id="o-top" />
<line x1="5" y1="38" x2="13" y2="38" stroke="white" stroke-width="3" stroke-linecap="round" id="o-bot" />
<line x1="5" y1="10" x2="5" y2="38" stroke="white" stroke-width="3" stroke-linecap="round" id="o-left" />
<line x1="13" y1="10" x2="13" y2="38" stroke="white" stroke-width="3" stroke-linecap="round" id="o-right" />
<!-- C -->
<line x1="18" y1="10" x2="26" y2="10" stroke="white" stroke-width="3" stroke-linecap="round" id="c-top" />
<line x1="18" y1="38" x2="26" y2="38" stroke="white" stroke-width="3" stroke-linecap="round" id="c-bot" />
<line x1="18" y1="10" x2="18" y2="38" stroke="white" stroke-width="3" stroke-linecap="round" id="c-left" />
<!-- S -->
<line x1="31" y1="10" x2="39" y2="10" stroke="white" stroke-width="3" stroke-linecap="round" id="s-top" />
<line x1="31" y1="10" x2="31" y2="24" stroke="white" stroke-width="3" stroke-linecap="round" id="s-tl" />
<line x1="31" y1="24" x2="39" y2="24" stroke="white" stroke-width="3" stroke-linecap="round" id="s-mid" />
<line x1="39" y1="24" x2="39" y2="38" stroke="white" stroke-width="3" stroke-linecap="round" id="s-br" />
<line x1="31" y1="38" x2="39" y2="38" stroke="white" stroke-width="3" stroke-linecap="round" id="s-bot" />
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

@@ -0,0 +1,64 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>opencadstudio</Name>
<Homepage>https://github.com/HakanSeven12/OpenCADStudio</Homepage>
<Packager>
<Name>Erkan Işık</Name>
<Email>erkanisik@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>app:gui</IsA>
<Summary xml:lang="tr">Rust ile yazılmış 2D/3D CAD uygulaması</Summary>
<Summary xml:lang="en">2D/3D CAD application built with Rust</Summary>
<Description xml:lang="tr">OpenCADStudio, Rust ve WebGPU (wgpu) kullanılarak geliştirilmiş, yerel DWG/DXF desteğine ve GPU hızlandırmalı render motoruna sahip gelişmiş bir 2D çizim ve 3D modelleme CAD uygulamasıdır.</Description>
<Description xml:lang="en">OpenCADStudio is a 2D drafting and 3D modeling CAD application built with Rust and WebGPU (wgpu), featuring native DWG/DXF support and a GPU-accelerated rendering engine.</Description>
<Archive sha1sum="d8f0c802826090f68e8d1299e5cbbe7e6a5d7dfe" type="targz">https://github.com/HakanSeven12/OpenCADStudio/archive/refs/tags/v0.7.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>rust</Dependency>
<Dependency>pkgconfig</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libXcursor-devel</Dependency>
<Dependency>libXrandr-devel</Dependency>
<Dependency>libXi-devel</Dependency>
<Dependency>vulkan-headers</Dependency>
<Dependency>wayland-devel</Dependency>
<Dependency>libxkbcommon-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>opencadstudio</Name>
<RuntimeDependencies>
<Dependency>fontconfig</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libXcursor</Dependency>
<Dependency>libXrandr</Dependency>
<Dependency>libXi</Dependency>
<Dependency>libxkbcommon</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc/opencadstudio</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/applications/</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/share/applications/opencadstudio.desktop">opencadstudio.desktop</AdditionalFile>
<AdditionalFile target="/usr/share/icons/opencadstudio.svg">opencadstudio.svg</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2026-07-02</Date>
<Version>0.7.2</Version>
<Comment>OpenCADStudio v0.7.2 sürümüne güncellendi.</Comment>
<Name>Erkan Işık</Name>
<Email>erkanisik@pisilinux.org</Email>
</Update>
</History>
</PISI>