]> git.armaanb.net Git - asd-repo.git/blob - desktop/gstreamer/build
3602ee727557c55806c7910430562915545291c9
[asd-repo.git] / desktop / gstreamer / build
1 #!/bin/sh -e
2
3 export DESTDIR="$1"
4
5 sed -i \
6     -e 's/win_bison/byacc/g' \
7     -e 's/--version/-V/g' \
8     -e 's/2.4/0/g' \
9     -e 's/-1/-2/g' \
10     gst/parse/meson.build
11
12 sed -i 's/yfile, '\''-o'\'', cfile/'\''-o'\'', cfile, yfile/g' \
13                 gst/parse/gen_grammar.py.in
14
15 meson \
16     --prefix=/usr \
17     --libexecdir=/usr/lib \
18     -Dbuildtype=release \
19     -Ddbghelp=disabled \
20     -Dintrospection=disabled \
21     -Dexamples=disabled \
22     -Dgtk_doc=disabled \
23     . output
24
25 ninja -C output
26 ninja -C output install