fabricad

LOW
maintainer maxDTM 0 votes scanned 2026-10-23 15:37:50.087015
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: maxDTM <265972625+maxDTM at users dot noreply dot github dot com>
2# AUR release package. After tagging v${pkgver} on GitHub run `updpkgsums` and
3# `makepkg --printsrcinfo > .SRCINFO` (the checksum below is for the GitHub tarball).
4pkgname=fabricad
5pkgver=0.1.0
6pkgrel=1
7pkgdesc='Fast, lightweight parametric 3D CAD (parts, assemblies, drawings) on Qt 6 and OpenCASCADE'
8arch=('x86_64' 'aarch64')
9url='https://github.com/maxDTM/fabricad'
10license=('LGPL-2.1-or-later')
11depends=(
12 'gcc-libs'
13 'glibc'
14 'hicolor-icon-theme'
15 'opencascade'
16 'qt6-base'
17 'qt6-svg'
18)
19makedepends=(
20 'cmake'
21 'eigen'
22 'librsvg' # rsvg-convert renders the hicolor PNG icons from the app SVG
23)
24checkdepends=('python') # token / colour-lint checks
25# LTO roughly doubles the link-time RAM of the OCCT-heavy executables; build without it.
26options=('!lto')
27source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
28sha256sums=('48dfecb944ce8081725dc87815ee13412279642f9070fee2eb7045a630f4a1d4')
29
30build() {
31 cmake -S "${pkgname}-${pkgver}" -B build \
32 -DCMAKE_BUILD_TYPE=None \
33 -DCMAKE_INSTALL_PREFIX=/usr \
34 -DFABRICAD_BUILD_TESTS=OFF \
35 -Wno-dev
36 # parallelism comes from MAKEFLAGS (makepkg.conf); the build needs ~1 GB per job
37 cmake --build build
38}
39
40check() {
41 # the test executables are only built here, so `makepkg --nocheck` stays a plain app build
42 cmake -S "${pkgname}-${pkgver}" -B build -DFABRICAD_BUILD_TESTS=ON
43 cmake --build build
44 # headless; QSettings / recovery files go to a throw-away HOME. `timing` checks are skipped
45 # (a loaded build machine makes them flaky) and `gui` needs a real X display.
46 export HOME="${srcdir}/check-home" XDG_CONFIG_HOME="${srcdir}/check-home/.config" \
47 XDG_DATA_HOME="${srcdir}/check-home/.local/share" XDG_RUNTIME_DIR="${srcdir}/check-run"
48 mkdir -p "$HOME" "$XDG_RUNTIME_DIR" && chmod 700 "$XDG_RUNTIME_DIR"
49 QT_QPA_PLATFORM=offscreen ctest --test-dir build --output-on-failure -LE 'timing|gui' -j2
50}
51
52package() {
53 DESTDIR="${pkgdir}" cmake --install build
54 # LGPL-2.1 is a common licence on Arch; keep only the extra notices under licenses/
55 rm -f "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
56}
57

Scan history

Scanned at (UTC)SeverityRules
2026-10-23 15:37:50 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion