This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): Bump youtube-dl and add as a submodule (#140)
- Loading branch information
1 parent
848f8f4
commit 29deb15
Showing
8 changed files
with
45 additions
and
38 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: PlexyGlass.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: PlexyGlass.bundle/third-party | ||
run: | | ||
patch_dir=${{ github.workspace }}/PlexyGlass.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: PlexyGlass.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: PlexyGlass.bundle/Contents/Libraries/Shared | ||
run: | | ||
patch_dir=${{ github.workspace }}/PlexyGlass.bundle/patches | ||
patch -p1 < "${patch_dir}/youtube_dl-compat.patch" | ||
patch -p1 < "${patch_dir}/youtube_dl-extractor.patch" | ||
- name: Build plist | ||
working-directory: PlexyGlass.bundle | ||
env: | ||
|
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 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