Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
aae2eb94
Commit
aae2eb94
authored
Jan 09, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Android: add a configure script.
parent
fb67b049
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
extras/package/android/configure.sh
extras/package/android/configure.sh
+47
-0
No files found.
extras/package/android/configure.sh
0 → 100755
View file @
aae2eb94
#!/bin/sh
if
[
-z
"
$ANDROID_NDK
"
]
;
then
echo
"Please set the ANDROID_NDK environment variable with its path."
exit
1
fi
ANDROID_BIN
=
$ANDROID_NDK
/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/
ANDROID_INCLUDE
=
$ANDROID_NDK
/platforms/android-9/arch-arm/usr/include
ANDROID_LIB
=
$ANDROID_NDK
/platforms/android-9/arch-arm/usr/lib
VLC_SOURCEDIR
=
"
`
pwd
`
/.."
# needed for old ndk: change all the arm-linux-androideabi to arm-eabi
# the --host is kept on purpose because otherwise libtool complains..
PATH
=
"
$ANDROID_BIN
"
:
$PATH
\
CPPFLAGS
=
"-I
$ANDROID_INCLUDE
"
\
LDFLAGS
=
"-Wl,-rpath-link=
$ANDROID_LIB
,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined -Wl,-shared -L
$ANDROID_LIB
"
\
CFLAGS
=
""
\
LIBS
=
"-lc -ldl -lgcc"
\
CC
=
"arm-linux-androideabi-gcc -nostdlib"
CXX
=
"arm-linux-androideabi-g++ -nostdlib"
\
NM
=
"arm-linux-androideabi-nm"
STRIP
=
"arm-linux-androideabi-strip"
\
PKG_CONFIG_LIBDIR
=
"
$VLC_SOURCEDIR
/extras/contrib/hosts/arm-eabi/lib/pkgconfig"
\
sh ../configure
--host
=
arm-eabi-linux
--build
=
x86_64-unknown-linux
\
--enable-static-modules
\
--enable-debug
\
--disable-qt4
\
--disable-skins2
\
--disable-mad
\
--disable-mkv
\
--disable-live555
\
--disable-libgcrypt
\
--disable-remoteosd
\
--disable-lua
\
--enable-swscale
\
--enable-avcodec
\
--enable-avformat
\
--disable-xcb
\
--disable-dbus
\
--disable-vcd
\
--disable-v4l2
\
--disable-atmo
\
--disable-vlc
\
--enable-opensles
\
--enable-android
\
--enable-egl-android
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