This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): add youtube-dl as submodule
- Loading branch information
1 parent
3cc4ad5
commit 43affe6
Showing
9 changed files
with
43 additions
and
49 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,12 +53,24 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
path: Themerr-plex.bundle | ||
submodules: recursive | ||
|
||
- name: Set up Python | ||
uses: LizardByte/[email protected] | ||
with: | ||
python-version: '2.7' | ||
|
||
- name: Patch third-party deps | ||
shell: bash | ||
working-directory: Themerr-plex.bundle/third-party | ||
run: | | ||
patch_dir=${{ github.workspace }}/Themerr-plex.bundle/patches | ||
# youtube-dl patches | ||
pushd youtube-dl | ||
git apply -v "${patch_dir}/youtube_dl-compat.patch" | ||
popd | ||
- name: Set up Python Dependencies | ||
shell: bash | ||
working-directory: Themerr-plex.bundle | ||
|
@@ -73,14 +85,6 @@ jobs: | |
python -m pip install --upgrade --target=./Contents/Libraries/Shared -r \ | ||
requirements.txt --no-warn-script-location | ||
- name: Patch python deps | ||
shell: bash | ||
working-directory: Themerr-plex.bundle/Contents/Libraries/Shared | ||
run: | | ||
patch_dir=${{ github.workspace }}/Themerr-plex.bundle/patches | ||
patch -p1 < "${patch_dir}/youtube_dl-compat.patch" | ||
patch -p1 < "${patch_dir}/youtube_dl-extractor.patch" | ||
- name: Install npm packages | ||
working-directory: Themerr-plex.bundle | ||
run: | | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "third-party/youtube-dl"] | ||
path = third-party/youtube-dl | ||
url = https://github.com/ytdl-org/youtube-dl.git | ||
branch = master |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Submodule youtube-dl
added at
be008e