8000 try pkgsrc · iLaus/opencv-python@5ba83ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 5ba83ec

Browse files
committed
try pkgsrc
1 parent 842fd98 commit 5ba83ec

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

travis/build-wheels-osx.sh

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,26 @@ echo 'PYTHON_VERSION: '$PYTHON_VERSION
99
echo 'PIP and brew installs'
1010

1111
pip install -r requirements.txt
12-
brew install ffmpeg
12+
13+
# Use the 32-bit 10.6+ built with gcc 4.2.1 set if you are running an older
14+
# release on hardware that lacks 64-bit support.
15+
BOOTSTRAP_TAR="bootstrap-trunk-i386-20160509.tar.gz"
16+
BOOTSTRAP_SHA="e900f05c9f3aa8e2fb7ccee370467acf95f5df21"
17+
18+
# Download the selected bootstrap kit.
19+
curl -O https://pkgsrc.joyent.com/packages/Darwin/bootstrap/${BOOTSTRAP_TAR}
20+
21+
# Verify SHA1 checksum.
22+
echo "${BOOTSTRAP_SHA} ${BOOTSTRAP_TAR}" >check-shasum
23+
shasum -c check-shasum
24+
25+
# Install bootstrap kit to /opt/pkg.
26+
sudo tar -zxpf ${BOOTSTRAP_TAR} -C /
27+
28+
# Reload PATH/MANPATH (pkgsrc installs /etc/paths.d/10-pkgsrc for new sessions)
29+
eval $(/usr/libexec/path_helper)
30+
31+
sudo pkgin -y install ffmpeg3
1332
ffmpeg -L
1433

1534
echo 'Config make'

0 commit comments

Comments
 (0)
0