feat(v3.3): DEB packaging + development plan
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Package: vde
|
||||
Version: 3.3.0
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Depends: libc6 (>= 2.35), libstdc++6 (>= 11), libeigen3-dev
|
||||
Maintainer: ViewDesignEngine <dev@hdtime.space>
|
||||
Description: High-performance C++ CAD geometry engine
|
||||
ViewDesignEngine is a full-stack computational geometry engine
|
||||
covering NURBS curves/surfaces, mesh processing, B-Rep modeling,
|
||||
SDF implicit modeling, differentiable geometry, and industrial
|
||||
format interoperability (STEP, IGES, glTF, STL, 3MF).
|
||||
.
|
||||
Modules: foundation, core, curves, mesh, spatial, boolean,
|
||||
collision, brep, sdf, sketch, capi.
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
ldconfig
|
||||
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
# Build DEB package for ViewDesignEngine
|
||||
set -e
|
||||
|
||||
VERSION=${1:-3.3.0}
|
||||
BUILD_DIR=build-deb
|
||||
DEB_DIR=packaging
|
||||
|
||||
# Build the project
|
||||
cmake -B $BUILD_DIR -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build $BUILD_DIR -j$(nproc)
|
||||
|
||||
# Install to staging area
|
||||
rm -rf $DEB_DIR/vde
|
||||
cmake --install $BUILD_DIR --prefix $DEB_DIR/vde/usr
|
||||
|
||||
# Copy headers
|
||||
mkdir -p $DEB_DIR/vde/usr/include
|
||||
cp -r include/vde $DEB_DIR/vde/usr/include/
|
||||
|
||||
# Copy DEBIAN control files
|
||||
cp -r $DEB_DIR/DEBIAN $DEB_DIR/vde/
|
||||
|
||||
# Set version
|
||||
sed -i "s/Version:.*/Version: $VERSION/" $DEB_DIR/vde/DEBIAN/control
|
||||
|
||||
# Build .deb
|
||||
dpkg-deb --build $DEB_DIR/vde vde-${VERSION}-amd64.deb
|
||||
|
||||
echo "Package built: vde-${VERSION}-amd64.deb"
|
||||
Reference in New Issue
Block a user