mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #966] [MERGED] [FEATURE] Allow build with hardsubx using cmake #1785
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/966
Author: @thealphadollar
Created: 3/13/2018
Status: ✅ Merged
Merged: 3/13/2018
Merged by: @cfsmp3
Base:
master← Head:cmake-hardsubx📝 Commits (1)
ebfdecdallow build with hardsubx using cmake📊 Changes
1 file changed (+29 additions, -0 deletions)
View changed files
📝
src/CMakeLists.txt(+29 -0)📄 Description
Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Fixes #964
To allow building with hardsubx, option has been added along with checking for the libraries it requires which have been cross-checked with Makefile.am
3d6a9f4d57/linux/Makefile.am (L330)Below is the build result after implementing the changes and using cmake.
make -j8was successful in compiling the source code. Below is the command used on a file to test.The required library for building with FFMPEG, "avfilter", was not listed in the required libraries and hence has been added to it. This was done in response to an error caused at the time of testing (due to absence of libavfilter-dev in my system), below is the error. Parameters used:
cd ./buildcmake -DWITH_FFMPEG=ON ../src/make -j8The tests were also done on a remote Digital Ocean droplet by forking the branch and hence are system independent and are working.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.