diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-13 21:50:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-13 21:50:07 +0300 |
commit | eefb212caca31d46f1d36ce272d4bc6842c039f0 (patch) | |
tree | a7736bff39c0920e0522ce00813602bde4710c22 /packaging/nacl/ports/jpeg8d | |
parent | 9406e61b5ee96e25b10fbf915725f69d6f6ceeb8 (diff) | |
download | mv-eefb212caca31d46f1d36ce272d4bc6842c039f0.tar.gz mv-eefb212caca31d46f1d36ce272d4bc6842c039f0.tar.bz2 mv-eefb212caca31d46f1d36ce272d4bc6842c039f0.tar.xz mv-eefb212caca31d46f1d36ce272d4bc6842c039f0.zip |
Add chrome ports patches for build manaplus on nacl.
Diffstat (limited to 'packaging/nacl/ports/jpeg8d')
-rw-r--r-- | packaging/nacl/ports/jpeg8d/build.sh | 36 | ||||
-rw-r--r-- | packaging/nacl/ports/jpeg8d/pkg_info | 6 |
2 files changed, 42 insertions, 0 deletions
diff --git a/packaging/nacl/ports/jpeg8d/build.sh b/packaging/nacl/ports/jpeg8d/build.sh new file mode 100644 index 000000000..f37218c8d --- /dev/null +++ b/packaging/nacl/ports/jpeg8d/build.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# Copyright (c) 2011 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. + + +if [ "${NACL_SHARED}" = "1" ]; then + EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \ + .libs/cjpeg${NACL_EXEEXT} .libs/djpeg${NACL_EXEEXT} \ + .libs/jpegtran${NACL_EXEEXT}" +else + EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \ + cjpeg${NACL_EXEEXT} djpeg${NACL_EXEEXT} jpegtran${NACL_EXEEXT}" +fi + +TestStep() { +# export SEL_LDR_LIB_PATH=$PWD/.libs +# if [ "${NACL_ARCH}" = "pnacl" ]; then +# for arch in x86-32 x86-64; do +# for exe in ${EXECUTABLES}; do +# local exe_noext=${exe%.*} +# WriteSelLdrScriptForPNaCl ${exe_noext} ${exe_noext}.${arch}.nexe ${arch} +# done +# make test +# done +# else +# if [ "${NACL_SHARED}" = "1" ]; then +# for exe in ${EXECUTABLES}; do +# local script=$(basename ${exe%.*}) +# WriteSelLdrScript ${script} ${exe} +# done +# fi +# make test +# fi + return 0 +} diff --git a/packaging/nacl/ports/jpeg8d/pkg_info b/packaging/nacl/ports/jpeg8d/pkg_info new file mode 100644 index 000000000..2a452b202 --- /dev/null +++ b/packaging/nacl/ports/jpeg8d/pkg_info @@ -0,0 +1,6 @@ +NAME=jpeg8d +VERSION=8d +ARCHIVE_ROOT=jpeg-8d +URL=http://www.ijg.org/files/jpegsrc.v8d.tar.gz +LICENSE=CUSTOM:README +SHA1=f080b2fffc7581f7d19b968092ba9ebc234556ff |