mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-14 14:26:45 -04:00
* Release: Flatpak x86_64/aarch64, AppImage zsync updates, README Downloads - AppImages embed gh-releases-zsync update information and ship a .zsync beside them. - New flatpak job repackages each Linux tarball into cadcraft-<ver>-linux-<arch>.flatpak (bundle manifest + flatpak-bundle.sh); the from-source Flathub manifest moves to runtime 26.08 with the same commented, minimal finish-args (packaging-lint checks they agree). - Jobs that sign nothing (version, linux, flatpak, freebsd, web) leave the release environment, so a branch dispatch is a dry run; the draft-release job runs only on release. - README: Downloads section listing every build. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Release: check AppImage update info without extract-and-run; fix the deb/rpm description APPIMAGE_EXTRACT_AND_RUN makes the runtime pass --appimage-updateinformation to the app. The package description was PhotoCraft's. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Brandon Thomas <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
71 lines
2.1 KiB
YAML
71 lines
2.1 KiB
YAML
# .deb and .rpm packages (nfpm: https://nfpm.goreleaser.com). Run by package.sh, which stages
|
|
# the file tree, substitutes its path for ${STAGE} (nfpm doesn't expand env vars in `src`) and
|
|
# exports VERSION and NFPM_ARCH.
|
|
#
|
|
# nfpm package -f packaging/linux/nfpm.yaml -p deb -t dist/release/
|
|
name: cadcraft
|
|
arch: ${NFPM_ARCH}
|
|
platform: linux
|
|
version: ${VERSION}
|
|
# semver: 0.2.0-rc.1 becomes 0.2.0~rc.1 in deb/rpm, so pre-releases sort before the release.
|
|
version_schema: semver
|
|
release: 1
|
|
section: graphics
|
|
priority: optional
|
|
maintainer: ${CADCRAFT_MAINTAINER}
|
|
vendor: Learning Machines LLC
|
|
homepage: https://getartcraft.com/apps/cadcraft
|
|
license: MIT OR Apache-2.0
|
|
description: |-
|
|
Open-source computer-aided design and drafting: draft, dimension and plot 2D
|
|
drawings with a familiar command line, object snaps, layers, dimensions, hatches
|
|
and blocks. Opens and saves DXF and DWG; exports SVG and PNG.
|
|
Includes cadcraft-cli, a headless converter and command runner.
|
|
|
|
# The binaries link only glibc and libgcc_s directly. Windowing (X11/Wayland, xkbcommon) and the
|
|
# GPU (Vulkan, EGL/GL) are loaded at runtime, so they are dependencies/recommendations here
|
|
# rather than ELF NEEDED entries.
|
|
overrides:
|
|
deb:
|
|
depends:
|
|
- libc6 (>= 2.35)
|
|
- libgcc-s1
|
|
- libxkbcommon0
|
|
- libvulkan1 | libegl1
|
|
recommends:
|
|
- libwayland-client0
|
|
- libx11-6
|
|
- libx11-xcb1
|
|
- libxcursor1
|
|
- libxi6
|
|
- libxrandr2
|
|
- mesa-vulkan-drivers
|
|
- xdg-desktop-portal
|
|
rpm:
|
|
depends:
|
|
- libxkbcommon
|
|
- (vulkan-loader or libglvnd-egl)
|
|
recommends:
|
|
- libwayland-client
|
|
- libX11
|
|
- libXcursor
|
|
- libXi
|
|
- libXrandr
|
|
- mesa-vulkan-drivers
|
|
- xdg-desktop-portal
|
|
|
|
contents:
|
|
- src: ${STAGE}/usr/bin/cadcraft
|
|
dst: /usr/bin/cadcraft
|
|
file_info: { mode: 0755 }
|
|
- src: ${STAGE}/usr/bin/cadcraft-cli
|
|
dst: /usr/bin/cadcraft-cli
|
|
file_info: { mode: 0755 }
|
|
- src: ${STAGE}/usr/share/
|
|
dst: /usr/share/
|
|
type: tree
|
|
|
|
scripts:
|
|
postinstall: packaging/linux/postinst.sh
|
|
postremove: packaging/linux/postinst.sh
|