[PR #2043] ci: add workflow to build .deb packages #2855

Closed
opened 2026-01-29 17:24:16 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/2043

State: closed
Merged: Yes


Summary

Add GitHub Actions workflow to build Debian packages (.deb) for Linux.

Features

  • Builds GPAC from source (abi-16.4 tag) since libgpac-dev is not available in newer Debian/Ubuntu releases
  • Creates two variants: basic (with OCR) and hardsubx (with FFmpeg)
  • Bundles GPAC library with the package using patchelf for rpath
  • Includes proper Debian package structure with control, postinst, postrm
  • Runs on releases, manual trigger, or workflow file changes
  • Uploads packages as artifacts and attaches to releases

Why

This addresses #1610 by providing an unofficial .deb package for users who prefer that format over AppImage or snap. Since GPAC was removed from Debian due to security concerns, we bundle it with the package (similar to our snap and AppImage builds).

Test plan

  • Workflow runs successfully on push
  • .deb packages install correctly on Ubuntu/Debian
  • ccextractor --version works after installation

🤖 Generated with Claude Code

**Original Pull Request:** https://github.com/CCExtractor/ccextractor/pull/2043 **State:** closed **Merged:** Yes --- ## Summary Add GitHub Actions workflow to build Debian packages (.deb) for Linux. ## Features - Builds GPAC from source (`abi-16.4` tag) since `libgpac-dev` is not available in newer Debian/Ubuntu releases - Creates two variants: `basic` (with OCR) and `hardsubx` (with FFmpeg) - Bundles GPAC library with the package using patchelf for rpath - Includes proper Debian package structure with control, postinst, postrm - Runs on releases, manual trigger, or workflow file changes - Uploads packages as artifacts and attaches to releases ## Why This addresses #1610 by providing an unofficial .deb package for users who prefer that format over AppImage or snap. Since GPAC was removed from Debian due to security concerns, we bundle it with the package (similar to our snap and AppImage builds). ## Test plan - [ ] Workflow runs successfully on push - [ ] .deb packages install correctly on Ubuntu/Debian - [ ] `ccextractor --version` works after installation 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claunia added the pull-request label 2026-01-29 17:24:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2855