Skip to content
This repository
tree: 994fa02b69
Fetching contributors…

Cannot retrieve contributors at this time

file 33 lines (26 sloc) 0.812 kb
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
#!/bin/bash
# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# nacl-regal.sh
#
# usage: nacl-regal.sh
#
# this script downloads, patches, and builds ffmpeg for Native Client
#

readonly PACKAGE_NAME=regal
export NACL_GLIBC=1
export NACL_PACKAGES_BITSIZE=64

source ./build/nacl/common.sh

export CC=${NACLCC}
export CXX=${NACLCXX}
export LD=${NACLLD}
export AR=${NACLAR}
export STRIP=${NACLSTRIP}
export RANLIB=${NACLRANLIB}
export PKG_CONFIG_PATH=${NACL_SDK_USR_LIB}/pkgconfig
export PKG_CONFIG_LIBDIR=${NACL_SDK_USR_LIB}
export FREETYPE_CONFIG=${NACL_SDK_USR_BIN}/freetype-config
export PATH=${NACL_BIN_PATH}:${PATH};


make -f Makefile SYSTEM=nacl-${NACL_PACKAGES_BITSIZE} $*

exit 0
Something went wrong with that request. Please try again.