fix(vapoursynth)

This commit is contained in:
Jacob Heider 2024-04-24 16:14:38 -04:00
parent fd92a527cd
commit 5a9c9906cd
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -15,8 +15,8 @@ runtime:
env: env:
# Fix: Could not find platform independent libraries # Fix: Could not find platform independent libraries
# PYTHONHOME = (not set) # PYTHONHOME = (not set)
PYTHONHOME: "{{deps.python.org.prefix}}" PYTHONHOME: '{{deps.python.org.prefix}}'
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH" PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH'
build: build:
dependencies: dependencies:
gnu.org/autoconf: '*' gnu.org/autoconf: '*'
@ -32,12 +32,17 @@ build:
- ./configure $ARGS - ./configure $ARGS
- make --jobs {{ hw.concurrency }} install - make --jobs {{ hw.concurrency }} install
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} || true - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} || true
working-directory: "{{prefix}}/lib" working-directory: '{{prefix}}/lib'
- run: | - run: |
sed -i.bak "s|$PKGX_DIR|\${prefix}/../..|g" *.pc sed -i.bak "s|$PKGX_DIR|\${prefix}/../..|g" *.pc
sed -i.bak "s|python.org/v{{deps.python.org.version}}|python.org/v{{deps.python.org.version.marketing}}|g" *.pc sed -i.bak "s|python.org/v{{deps.python.org.version}}|python.org/v{{deps.python.org.version.marketing}}|g" *.pc
rm *.bak rm *.bak
working-directory: "{{prefix}}/lib/pkgconfig" working-directory: '{{prefix}}/lib/pkgconfig'
- run: |
mv vapoursynth/* .
rmdir vapoursynth
ln -s . vapoursynth
working-directory: '{{prefix}}/include'
env: env:
ARGS: ARGS:
- --prefix={{prefix}} - --prefix={{prefix}}