aboutsummaryrefslogtreecommitdiffstats
path: root/etc/install_macos_gstreamer.sh
blob: 874b94852c1ff693cc894e92e81ce790e6d60460 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

set -o errexit
set -o nounset
set -o pipefail

VERSION=1.22.2
URL_BASE=https://github.com/servo/servo-build-deps/releases/download/macOS

cd /tmp
curl -L "${URL_BASE}/gstreamer-1.0-${VERSION}-universal.pkg" -o gstreamer.pkg
curl -L "${URL_BASE}/gstreamer-1.0-devel-${VERSION}-universal.pkg" \
    -o gstreamer-dev.pkg
sudo installer -pkg 'gstreamer.pkg' -target /
sudo installer -pkg 'gstreamer-dev.pkg' -target /