-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwmake
executable file
·96 lines (70 loc) · 1.33 KB
/
wmake
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#./wmake
#make/copy to ./ovideo
#./wmake ../b
#copy
#./wmake 1 clean
#clean
#./wmake ../b all
#make/copy ("src/wmake all" will do debug)
if [ -z "$1" ] || [ -n "$2" ]
then
#make/clean
cd src
./wmake $2
if [ "$?" != 0 ]; then
exit
fi
cd ..
fi
if [ "$2" != "clean" ]; then
#copy
if [ -z "$1" ]; then
f=ovideo
else
f=$1
fi
mkdir $f
rsync -a src/ovideo.exe $f
rsync -a -r build/img $f
mkdir $f/html
rsync -a html/html/use.html $f/html
rsync -a version.txt $f
mkdir $f/sys
rsync -a build/sys/* $f/sys
mkdir $f/captures
fi
if [ -z "$1" ] || [ -n "$2" ]
then
cd soundrecorder
make $2
if [ "$?" != 0 ]; then
exit
fi
cd ..
fi
if [ "$2" != "clean" ]; then
rsync -a soundrecorder/src/soundrecorder.exe $f
rsync -a soundrecorder/options.txt $f
if [ -z "$1" ]
then
cd src
./wmake clean
cd ../soundrecorder
make clean
cd ..
zip -r ovideo.zip ovideo && \
rm -r ./ovideo && \
unzip -l ovideo.zip
fi
fi
#wine regedit
#HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
#PATH
#+=
#;C:\gstreamer-sdk\0.10\x86\bin
#file:///d:/some/path/to/repos/on/d/drive
#file:///var/www/html/s.webm
#0.10: /home/bc/u/download D:\b\Desktop\gstreamer
#gstreamer1.0-plugins-bad
#gst-launch-1.0 -v playbin uri=file:///home/bc/v/b/captures/1650430132.mxf
#./e && GST_DEBUG=2 ./a.out #7 is max