mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(vapoursynth)
This commit is contained in:
parent
fd92a527cd
commit
5a9c9906cd
1 changed files with 9 additions and 4 deletions
|
@ -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}}
|
||||||
|
|
Loading…
Reference in a new issue