Skip to content

Commit

Permalink
AviSynthPlusのヘッダをインストールするように
Browse files Browse the repository at this point in the history
  • Loading branch information
f11894 committed Jul 30, 2020
1 parent dd12325 commit 528144a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions lsw-build-HolyWu.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ if not exist .\msys64 (
.\msys64\usr\bin\bash -lc "pacman -Su --noconfirm"
.\msys64\usr\bin\bash -lc "pacman -S --needed mingw-w64-i686-cmake mingw-w64-i686-gcc mingw-w64-i686-nasm mingw-w64-i686-yasm mingw-w64-i686-ninja mingw-w64-i686-pkg-config mingw-w64-i686-meson git base-devel --noconfirm"
copy /y .\sh\*sh ".\msys64\home\%USERNAME%"
.\msys64\usr\bin\bash -lc "sh -x AviSynthPlus.sh"
.\msys64\usr\bin\bash -lc "sh -x mfx_dispatch.sh"
.\msys64\usr\bin\bash -lc "sh -x nv-codec-headers.sh"
.\msys64\usr\bin\bash -lc "sh -x libvpx.sh"
Expand Down
1 change: 1 addition & 0 deletions lsw-build-VFR-maniac.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ if not exist .\msys64 (
.\msys64\usr\bin\bash -lc "pacman -Su --noconfirm"
.\msys64\usr\bin\bash -lc "pacman -S --needed mingw-w64-i686-cmake mingw-w64-i686-gcc mingw-w64-i686-nasm mingw-w64-i686-yasm mingw-w64-i686-ninja mingw-w64-i686-pkg-config mingw-w64-i686-meson git base-devel --noconfirm"
copy /y .\sh\*sh ".\msys64\home\%USERNAME%"
.\msys64\usr\bin\bash -lc "sh -x AviSynthPlus.sh"
.\msys64\usr\bin\bash -lc "sh -x mfx_dispatch.sh"
.\msys64\usr\bin\bash -lc "sh -x nv-codec-headers.sh"
.\msys64\usr\bin\bash -lc "sh -x libaom.sh"
Expand Down
14 changes: 14 additions & 0 deletions sh/AviSynthPlus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
if [ ! -d AviSynthPlus ]; then
git clone https://github.com/AviSynth/AviSynthPlus
else
git -C AviSynthPlus pull | grep 'Already up to date.' && exit
fi
cd AviSynthPlus
if [ -d avisynthplus_build ]; then
rm -rf avisynthplus_build
fi
mkdir avisynthplus_build
cd avisynthplus_build
cmake ../ -G 'MSYS Makefiles' -DCMAKE_INSTALL_PREFIX=/mingw32/ -DHEADERS_ONLY:bool=on
make uninstall
make install

0 comments on commit 528144a

Please sign in to comment.