summaryrefslogtreecommitdiff
path: root/tools/gstreamer/build_win64.cmd
blob: 29749ec95eb021063bb03c8ad2678d7a8e12c59b (plain)
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
@echo off

cd /d "%TEMP%"
rd /s /q gstreamer
mkdir gstreamer

call %VS141COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvars64.bat 10.0.17763.0

cd /d "%GSTREAMER_ROOT%"
mkdir builddir
meson setup --prefix="%TEMP%\gstreamer" builddir
IF ERRORLEVEL 1 EXIT

meson compile -C builddir
IF ERRORLEVEL 1 EXIT

cd builddir
meson install
cd ..
rd /s /q builddir
                	
cd /d "%TEMP%\gstreamer\bin"
copy ffi-7.dll            %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gio-2.0-0.dll        %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy glib-2.0-0.dll       %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gmodule-2.0-0.dll    %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gobject-2.0-0.dll    %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstapp-1.0-0.dll     %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstaudio-1.0-0.dll   %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstbase-1.0-0.dll    %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstnet-1.0-0.dll     %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstpbutils-1.0-0.dll %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstreamer-1.0-0.dll  %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstrtp-1.0-0.dll     %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstsctp-1.0-0.dll    %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstsdp-1.0-0.dll     %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gsttag-1.0-0.dll     %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstvideo-1.0-0.dll   %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstwebrtc-1.0-0.dll  %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy gstwinrt-1.0-0.dll   %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy intl-8.dll           %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy nice-10.dll          %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy opus-0.dll           %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy orc-0.4-0.dll        %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy srtp2-1.dll          %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer
copy z.dll                %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer

cd /d "%TEMP%\gstreamer\lib\gstreamer-1.0"
copy gstaudioconvert.dll  %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstaudioresample.dll %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstaudiotestsrc.dll  %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstautodetect.dll    %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstcoreelements.dll  %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstdtls.dll          %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstnice.dll          %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstopus.dll          %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstplayback.dll      %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstrtp.dll           %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstrtpmanager.dll    %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstsrtp.dll          %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstwasapi.dll        %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins
copy gstwebrtc.dll        %MIRANDA_BUILD_ROOT%\redist\x64\gstreamer\gst_plugins