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

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

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/2043
Author: @cfsmp3
Created: 1/19/2026
Status: Merged
Merged: 1/19/2026
Merged by: @cfsmp3

Base: masterHead: ci/build-deb-package


📝 Commits (9)

  • 8632ecd ci: add workflow to build .deb packages
  • 8786b4c fix(ci): correct LICENSE filename to LICENSE.txt
  • 20b3773 fix(ci): correct version and add missing dependencies in .deb workflow
  • a1871ab fix(ci): switch .deb build to Ubuntu 24.04
  • bb53859 fix(ci): use apt install to handle .deb dependencies in test step
  • 1413c94 fix(ci): correct leptonica package name for Ubuntu 24.04
  • 7a810d7 fix(ci): add libcurl3t64-gnutls dependency to .deb package
  • 197069d ci: add Debian 13 (Trixie) .deb build workflow
  • 259e881 fix(ci): add missing FFmpeg dependencies to hardsubx .deb packages

📊 Changes

3 files changed (+559 additions, -1 deletions)

View changed files

.github/workflows/build_deb.yml (+283 -0)
.github/workflows/build_deb_debian13.yml (+275 -0)
📝 src/CMakeLists.txt (+1 -1)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/2043 **Author:** [@cfsmp3](https://github.com/cfsmp3) **Created:** 1/19/2026 **Status:** ✅ Merged **Merged:** 1/19/2026 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `ci/build-deb-package` --- ### 📝 Commits (9) - [`8632ecd`](https://github.com/CCExtractor/ccextractor/commit/8632ecda5b099fd8e40de9429e7b07d28321de80) ci: add workflow to build .deb packages - [`8786b4c`](https://github.com/CCExtractor/ccextractor/commit/8786b4cf751938a6716f8cc53ebec1de9451f35b) fix(ci): correct LICENSE filename to LICENSE.txt - [`20b3773`](https://github.com/CCExtractor/ccextractor/commit/20b3773bb9e061bc733b62b8b68e4036531c10d2) fix(ci): correct version and add missing dependencies in .deb workflow - [`a1871ab`](https://github.com/CCExtractor/ccextractor/commit/a1871abf042fad227b6885d7f807ede182759432) fix(ci): switch .deb build to Ubuntu 24.04 - [`bb53859`](https://github.com/CCExtractor/ccextractor/commit/bb5385913bf52f68ef0871c1288c1ce37e7dfa8b) fix(ci): use apt install to handle .deb dependencies in test step - [`1413c94`](https://github.com/CCExtractor/ccextractor/commit/1413c948c4ef408c989affbc58fd5c7ff847abc2) fix(ci): correct leptonica package name for Ubuntu 24.04 - [`7a810d7`](https://github.com/CCExtractor/ccextractor/commit/7a810d736d47a2e5301b8eb6607dcf480fe12675) fix(ci): add libcurl3t64-gnutls dependency to .deb package - [`197069d`](https://github.com/CCExtractor/ccextractor/commit/197069d3b822b962ecfee5f2b2161c4cf64ed7e6) ci: add Debian 13 (Trixie) .deb build workflow - [`259e881`](https://github.com/CCExtractor/ccextractor/commit/259e8814832e066213ce6dc107eeb892646e3732) fix(ci): add missing FFmpeg dependencies to hardsubx .deb packages ### 📊 Changes **3 files changed** (+559 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/build_deb.yml` (+283 -0) ➕ `.github/workflows/build_deb_debian13.yml` (+275 -0) 📝 `src/CMakeLists.txt` (+1 -1) </details> ### 📄 Description ## 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) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#2852