3
0
Fork 0
forked from mirrors/nixpkgs

titaniumsdk: Bump to version 3.2.3

This commit is contained in:
Sander van der Burg 2014-07-15 16:05:25 +02:00
parent 7dce55d0fd
commit bce5f2cf56
4 changed files with 9 additions and 10 deletions

View file

@ -50,7 +50,7 @@ stdenv.mkDerivation {
${if release then
''titanium build --config-file $TMPDIR/config.json --no-colors --force --platform android --target dist-playstore --keystore ${androidKeyStore} --alias ${androidKeyAlias} --password ${androidKeyStorePassword} --output-dir $out''
else
''titanium build --config-file $TMPDIR/config.json --no-colors --force --platform android --target emulator --build-only --output $out''}
''titanium build --config-file $TMPDIR/config.json --no-colors --force --platform android --target emulator --build-only -B foo --output $out''}
''
else if target == "iphone" then
''

View file

@ -29,7 +29,7 @@ rec {
titaniumsdk = let
titaniumSdkFile = if tiVersion == "3.1.4.GA" then ./titaniumsdk-3.1.nix
else if tiVersion == "3.2.2.GA" then ./titaniumsdk-3.2.nix
else if tiVersion == "3.2.3.GA" then ./titaniumsdk-3.2.nix
else throw "Titanium version not supported: "+tiVersion;
in
import titaniumSdkFile {

View file

@ -1,7 +1,7 @@
{ nixpkgs ? <nixpkgs>
, systems ? [ "x86_64-linux" "x86_64-darwin" ]
, xcodeVersion ? "5.0"
, tiVersion ? "3.2.2.GA"
, tiVersion ? "3.2.3.GA"
, rename ? false
, newBundleId ? "com.example.kitchensink", iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? "Example", iosCertificatePassword ? ""
, allowUnfree ? false

View file

@ -1,14 +1,14 @@
{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
stdenv.mkDerivation {
name = "mobilesdk-3.2.2.v20140305122111";
name = "mobilesdk-3.2.3.GA";
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/3_2_X/mobilesdk-3.2.2.v20140305122111-linux.zip;
sha1 = "12dc1bfe8dd73db0650a235492f5f50c7b816d69";
url = http://builds.appcelerator.com/mobile/3.2.3/mobilesdk-3.2.3.GA-linux.zip;
sha1 = "303e6d19a0ca099d47f6862c00b261c6d0206cea";
}
else if stdenv.system == "x86_64-darwin" then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/3_2_X/mobilesdk-3.2.2.v20140305122111-osx.zip;
sha1 = "9875b59faf0ab92e8996b58476466405ed60f6e2";
url = http://builds.appcelerator.com/mobile/3.2.3/mobilesdk-3.2.3.GA-osx.zip;
sha1 = "8c358cbd8624ffe3dfbd0283738105157067e0fb";
}
else throw "Platform: ${stdenv.system} not supported!";
@ -28,8 +28,7 @@ stdenv.mkDerivation {
# Rename ugly version number
cd mobilesdk/*
mv 3.2.2.v20140305122111 3.2.2.GA
cd 3.2.2.GA
cd 3.2.3.GA
# Zip files do not support timestamps lower than 1980. We have to apply a few work-arounds to cope with that
# Yes, I know it's nasty :-)