mirror of
https://github.com/YTLitePlus/YTLitePlus.git
synced 2026-03-11 21:26:05 +00:00
Fix build: place YouTubeHeader and protobuf as sibling dirs
Source files use ../YouTubeHeader/ and ../protobuf/ relative imports, so these repos must be siblings to the checkout dir, not in $THEOS/include. https://claude.ai/code/session_01FD8kBzc7yv5Fdf9G7Z2ZkE
This commit is contained in:
parent
c10353ef31
commit
f58d4fcf02
1 changed files with 3 additions and 15 deletions
18
.github/workflows/build-ipa.yml
vendored
18
.github/workflows/build-ipa.yml
vendored
|
|
@ -67,25 +67,13 @@ jobs:
|
|||
|
||||
- name: Clone Dependencies
|
||||
run: |
|
||||
cd $THEOS/include
|
||||
git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git
|
||||
# Clone as siblings to main/ since source uses ../YouTubeHeader/ and ../protobuf/ relative paths
|
||||
git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git ${{ github.workspace }}/YouTubeHeader
|
||||
git clone --quiet --depth=1 --branch v3.21.12 https://github.com/protocolbuffers/protobuf.git ${{ github.workspace }}/protobuf
|
||||
env:
|
||||
THEOS: ${{ github.workspace }}/theos
|
||||
|
||||
- name: Create roothide stub
|
||||
run: |
|
||||
cat > $THEOS/include/roothide.h << 'STUBEOF'
|
||||
#ifndef ROOTHIDE_H
|
||||
#define ROOTHIDE_H
|
||||
#ifndef jbroot
|
||||
#define jbroot(path) path
|
||||
#endif
|
||||
#ifndef rootfs
|
||||
#define rootfs(path) path
|
||||
#endif
|
||||
#endif
|
||||
STUBEOF
|
||||
printf '#ifndef ROOTHIDE_H\n#define ROOTHIDE_H\n#ifndef jbroot\n#define jbroot(path) path\n#endif\n#ifndef rootfs\n#define rootfs(path) path\n#endif\n#endif\n' > $THEOS/include/roothide.h
|
||||
env:
|
||||
THEOS: ${{ github.workspace }}/theos
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue