Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: ports/libav/build.sh

Issue 132343007: Add top level build script for building packages. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ports/leveldb/build.sh ('k') | ports/libhangul/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 source pkg_info
7 source ../../build_tools/common.sh
8 6
9 7
10 ConfigureStep() { 8 ConfigureStep() {
11 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig 9 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig
12 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR} 10 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR}
13 export PATH=${NACL_BIN_PATH}:${PATH}; 11 export PATH=${NACL_BIN_PATH}:${PATH};
14 MakeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR} 12 MakeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR}
15 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR} 13 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR}
16 local extra_args="" 14 local extra_args=""
17 if [ "${NACL_ARCH}" = pnacl ]; then 15 if [ "${NACL_ARCH}" = pnacl ]; then
(...skipping 19 matching lines...) Expand all
37 --disable-protocols \ 35 --disable-protocols \
38 --disable-network \ 36 --disable-network \
39 --enable-protocol=file \ 37 --enable-protocol=file \
40 --enable-libmp3lame \ 38 --enable-libmp3lame \
41 --enable-libvorbis \ 39 --enable-libvorbis \
42 --disable-demuxer=rtsp \ 40 --disable-demuxer=rtsp \
43 --disable-demuxer=image2 \ 41 --disable-demuxer=image2 \
44 --prefix=${NACLPORTS_PREFIX} \ 42 --prefix=${NACLPORTS_PREFIX} \
45 --libdir=${NACLPORTS_LIBDIR} 43 --libdir=${NACLPORTS_LIBDIR}
46 } 44 }
47
48
49 PackageInstall
50 exit 0
OLDNEW
« no previous file with comments | « ports/leveldb/build.sh ('k') | ports/libhangul/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698