Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLCKit
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Son
VLCKit
Commits
7b47767d
Commit
7b47767d
authored
Jan 22, 2014
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVK: fix simulator compilation
parent
3ce5b3b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
7 deletions
+46
-7
MobileVLCKit/patches/0025-contrib-reverse-logic.patch
MobileVLCKit/patches/0025-contrib-reverse-logic.patch
+9
-6
MobileVLCKit/patches/0026-extras-ios-simulator-doesn-t-necessarily-mean-i386-a.patch
...xtras-ios-simulator-doesn-t-necessarily-mean-i386-a.patch
+36
-0
buildMobileVLCKit.sh
buildMobileVLCKit.sh
+1
-1
No files found.
MobileVLCKit/patches/0025-contrib-reverse-logic.patch
View file @
7b47767d
From 2
b064b5808344fa33c7983c20b43d77e47eafc50
Mon Sep 17 00:00:00 2001
From 2
673d3b7d1c79d76e780853e7e1e00e7d76ad9f8
Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
Date: Wed, 22 Jan 2014 02:32:01 +0100
Subject: [PATCH 25/25] contrib: reverse logic
---
contrib/src/main.mak |
8
++++----
1 file changed,
4
insertions(+), 4 deletions(-)
contrib/src/main.mak |
11 +++
++++----
1 file changed,
7
insertions(+), 4 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index ae76215..
5c24cf0
100644
index ae76215..
12976a9
100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -130,12 +130,1
2
@@
CCAS=$(CC) -c
@@ -130,12 +130,1
5
@@
CCAS=$(CC) -c
ifdef HAVE_IOS
CC=xcrun clang
CXX=xcrun clang++
...
...
@@ -19,7 +19,10 @@ index ae76215..5c24cf0 100644
-AS=perl $(abspath ../../extras/tools/build/bin/gas-preprocessor.pl) $(CC)
-CCAS=gas-preprocessor.pl $(CC) -c
-else
+ifeq ($(ARCH), i386)
+ifeq ($(ARCH),i386)
+CCAS=$(CC) -c
+AS=xcrun as
+else ifeq ($(ARCH),x86_64)
CCAS=$(CC) -c
AS=xcrun as
+else
...
...
MobileVLCKit/patches/0026-extras-ios-simulator-doesn-t-necessarily-mean-i386-a.patch
0 → 100644
View file @
7b47767d
From 49042e5effdf3e046636a2e7a204c0109535df88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
Date: Wed, 22 Jan 2014 03:05:48 +0100
Subject: [PATCH 26/26] extras/ios: simulator doesn't necessarily mean i386
anymore
---
extras/package/ios/build.sh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 6e42216..84e05f8 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -76,8 +76,7 @@
fi
info "Building libvlc for iOS"
if [ "$PLATFORM" = "Simulator" ]; then
- TARGET="i686-apple-darwin11"
- ARCH="i386"
+ TARGET="${ARCH}-apple-darwin11"
OPTIM="-O3 -g"
else
TARGET="arm-apple-darwin11"
@@ -189,7 +188,7 @@
else
export ASCPP="xcrun as"
fi
-../bootstrap --host=${TARGET} --build="i686-apple-darwin10" --prefix=${VLCROOT}/contrib/${TARGET}-${ARCH} --arch=${ARCH} --disable-gpl \
+../bootstrap --host=${TARGET} --build="${ARCH}-apple-darwin10" --prefix=${VLCROOT}/contrib/${TARGET}-${ARCH} --arch=${ARCH} --disable-gpl \
--disable-disc --disable-sout \
--disable-sdl \
--disable-SDL_image \
--
1.8.3.4 (Apple Git-47)
buildMobileVLCKit.sh
View file @
7b47767d
...
...
@@ -162,7 +162,7 @@ if [ "$VERBOSE" = "yes" ]; then
fi
if
[
"
$PLATFORM
"
=
"iphonesimulator"
]
;
then
args
=
"
${
args
}
-s"
./build.sh
${
args
}
-k
"
${
SDK
}
"
./build.sh
-a
i386
${
args
}
-k
"
${
SDK
}
"
&&
./build.sh
-a
x86_64
${
args
}
-k
"
${
SDK
}
"
else
./build.sh
-a
armv7
${
args
}
-k
"
${
SDK
}
"
&&
./build.sh
-a
armv7s
${
args
}
-k
"
${
SDK
}
"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment