ci: add workflow to build .deb packages#2043
Merged
Conversation
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 This provides an unofficial .deb package for users who prefer that format over AppImage or snap. Relates to #1610 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update CMakeLists.txt version from 0.89 to 0.96 to match lib_ccx.h - Extract version from lib_ccx.h instead of CMakeLists.txt for accuracy - Add missing runtime dependencies: libtesseract, libleptonica - Add FFmpeg dependencies for hardsubx variant Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use ubuntu-24.04 runner instead of ubuntu-22.04 - Update dependencies to match Ubuntu 24.04 library versions (libtesseract5, libleptonica6, libavcodec60, etc.) - Update GPAC cache key for new Ubuntu version Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
apt install automatically resolves and installs dependencies, unlike dpkg -i which fails if dependencies are missing. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Ubuntu 24.04 uses liblept5, not libleptonica6 (which is Ubuntu 25.04). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
CCExtractor is linked against libcurl-gnutls which requires this runtime dependency on Ubuntu 24.04. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Creates .deb packages for Debian 13 using a Docker container. - Builds GPAC from source (abi-16.4 tag) - Creates basic and hardsubx variants - Uses Debian 13's library versions: - libtesseract5, libleptonica6 - libavcodec61, libavformat61, libavutil59, libswscale8 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add libavdevice, libswresample, and libavfilter dependencies for the hardsubx variant on both Ubuntu 24.04 and Debian 13 workflows. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Collaborator
CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results, when compared to test for commit f8981e8...:
Your PR breaks these cases:
Congratulations: Merging this PR would fix the following tests:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
Collaborator
CCExtractor CI platform finished running the test files on windows. Below is a summary of the test results, when compared to test for commit f8981e8...:
Your PR breaks these cases:
Congratulations: Merging this PR would fix the following tests:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add GitHub Actions workflow to build Debian packages (.deb) for Linux.
Features
abi-16.4tag) sincelibgpac-devis not available in newer Debian/Ubuntu releasesbasic(with OCR) andhardsubx(with FFmpeg)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
ccextractor --versionworks after installation🤖 Generated with Claude Code