forked from Anime4000/IFME
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure
executable file
·41 lines (33 loc) · 2.22 KB
/
configure
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh
cd "$(dirname $(readlink -f $0))"
echo "This will download all required files to make IFME working fine..."
echo " "
echo "Required:"
echo " 1. 7za"
echo " 2. wget"
sleep 5
echo "Creating folder"
mkdir "prerequisite/linux"
mkdir "prerequisite/linux/64bit"
mkdir "prerequisite/linux/64bit/plugins"
mkdir "prerequisite/allos/"
mkdir "prerequisite/allos/extension"
wget --no-check-certificate https://github.com/x265/x265.github.io/raw/master/supporter.txt -O "sources/metauser.if"
echo "Downloading library"
wget --no-check-certificate https://github.com/x265/Preparation/releases/download/v0.0.1/libmediainfo.so.0-x64.zip -O "prerequisite/linux/64bit/libmediainfo.so.0-x64.ifx"
echo "Downloading extension"
wget --no-check-certificate https://github.com/x265/HFRGen/releases/download/v0.0.2/hfrgen.zip -O "prerequisite/allos/extension/hfrgen.ifx"
wget --no-check-certificate https://github.com/x265/HoloBenchmark/releases/download/v0.0.4/holobenchmark.7z -O "prerequisite/allos/extension/holobenchmark.ifx"
wget --no-check-certificate https://github.com/x265/Nemupad/releases/download/v0.0.3/nemupad.dll.zip -O "prerequisite/allos/extension/nemupad.dll.ifx"
echo "Downloading plugins"
wget http://sourceforge.net/projects/ifme/files/plugins/linux/64bit/faac.ifx -O "prerequisite/linux/64bit/plugins/faac.ifx"
wget http://sourceforge.net/projects/ifme/files/plugins/linux/64bit/ffmpeg.ifx -O "prerequisite/linux/64bit/plugins/ffmpeg.ifx"
wget http://sourceforge.net/projects/ifme/files/plugins/linux/64bit/ffmsindex.ifx -O "prerequisite/linux/64bit/plugins/ffmsindex.ifx"
wget http://sourceforge.net/projects/ifme/files/plugins/linux/64bit/mkvtoolnix.ifx -O "prerequisite/linux/64bit/plugins/mkvtoolnix.ifx"
wget http://sourceforge.net/projects/ifme/files/plugins/linux/64bit/mp4box.ifx -O "prerequisite/linux/64bit/plugins/mp4box.ifx"
wget http://sourceforge.net/projects/ifme/files/plugins/linux/64bit/mp4fpsmod.ifx -O "prerequisite/linux/64bit/plugins/mp4fpsmod.ifx"
wget http://sourceforge.net/projects/ifme/files/plugins/linux/64bit/x265gcc.ifx -O "prerequisite/linux/64bit/plugins/x265gcc.ifx"
echo "Unpacking"
find . -name "*.ifx" | while read filename; do 7za x "$filename" -y -o"`dirname "$filename"`"; rm -f "$filename"; done;
echo "Done!!!"
sleep 3