Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
build(deps): bump youtube-dl (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Mar 10, 2024
1 parent cf9fe27 commit ab26f1e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 55 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
python-version: '2.7'

- name: Patch third-party deps
if: false # disabled
shell: bash
working-directory: PlexyGlass.bundle/third-party
run: |
Expand Down
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ python2 -m pip --no-python-version-warning --disable-pip-version-check install -
python2 ./scripts/build_plist.py
_BUILD

# patch youtube-dl, cannot use git apply because we don't pass in any git files
WORKDIR /build/Contents/Libraries/Shared
RUN <<_PATCH
#!/bin/bash
set -e
patch_dir=/build/patches
patch -p1 < "${patch_dir}/youtube_dl-compat.patch"
_PATCH
## patch youtube-dl, cannot use git apply because we don't pass in any git files
#WORKDIR /build/Contents/Libraries/Shared
#RUN <<_PATCH
##!/bin/bash
#set -e
#patch_dir=/build/patches
#patch -p1 < "${patch_dir}/youtube_dl-compat.patch"
#_PATCH

WORKDIR /build

Expand Down
16 changes: 8 additions & 8 deletions docs/source/contributing/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ Setup venv
----------
It is recommended to setup and activate a `venv`_.

Apply Patches
-------------
Patch YouTube-DL
.. code-block:: bash
pushd ./third-party/youtube-dl
git apply -v ../../patches/youtube_dl-compat.patch
popd
.. Apply Patches
.. -------------
.. Patch YouTube-DL
.. .. code-block:: bash
..
.. pushd ./third-party/youtube-dl
.. git apply -v ../../patches/youtube_dl-compat.patch
.. popd
Install Requirements
--------------------
Expand Down
38 changes: 0 additions & 38 deletions patches/youtube_dl-compat.patch

This file was deleted.

0 comments on commit ab26f1e

Please sign in to comment.