[PR #1909] ci(linux): Add workflow for system-libs builds #2704

Open
opened 2026-01-29 17:23:30 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


Summary

  • Add a new GitHub Actions workflow that builds CCExtractor using the -system-libs flag
  • Creates binaries that dynamically link against system libraries instead of bundling dependencies
  • Fix for -system-libs -hardsubx combination where FFmpeg libs were being lost

Use Cases

This is useful for:

  • Linux distribution packaging (Debian, Ubuntu, Fedora, etc.)
  • Homebrew/Linuxbrew packaging
  • Users who prefer smaller binaries with system library updates

Build Variants

Two variants are built:

  • basic: Standard OCR-enabled build
  • hardsubx: Build with HardSubX (burned-in subtitle extraction)

Workflow Triggers

  • Runs automatically on releases
  • Can be manually triggered via workflow_dispatch
  • Builds on pushes to the workflow file itself (for testing)

Test plan

  • Verify workflow runs successfully on manual trigger
  • Check that both basic and hardsubx variants build
  • Confirm binaries link against system libraries (ldd output)

Related to #1907

🤖 Generated with Claude Code

**Original Pull Request:** https://github.com/CCExtractor/ccextractor/pull/1909 **State:** closed **Merged:** Yes --- ## Summary - Add a new GitHub Actions workflow that builds CCExtractor using the `-system-libs` flag - Creates binaries that dynamically link against system libraries instead of bundling dependencies - Fix for `-system-libs -hardsubx` combination where FFmpeg libs were being lost ## Use Cases This is useful for: - Linux distribution packaging (Debian, Ubuntu, Fedora, etc.) - Homebrew/Linuxbrew packaging - Users who prefer smaller binaries with system library updates ## Build Variants Two variants are built: - **basic**: Standard OCR-enabled build - **hardsubx**: Build with HardSubX (burned-in subtitle extraction) ## Workflow Triggers - Runs automatically on releases - Can be manually triggered via workflow_dispatch - Builds on pushes to the workflow file itself (for testing) ## Test plan - [ ] Verify workflow runs successfully on manual trigger - [ ] Check that both basic and hardsubx variants build - [ ] Confirm binaries link against system libraries (ldd output) Related to #1907 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claunia added the pull-request label 2026-01-29 17:23:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2704