Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a23a2ea7
Commit
a23a2ea7
authored
Apr 15, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
file has moved to android repository
parent
c8030242
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
106 deletions
+0
-106
extras/package/android/configure.sh
extras/package/android/configure.sh
+0
-106
No files found.
extras/package/android/configure.sh
deleted
100755 → 0
View file @
c8030242
#!/bin/sh
if
[
-z
"
$ANDROID_NDK
"
]
;
then
echo
"Please set the ANDROID_NDK environment variable with its path."
exit
1
fi
ANDROID_API
=
android-9
VLC_SOURCEDIR
=
"
`
dirname
$0
`
/../../.."
CFLAGS
=
"-g -O2 -mlong-calls -fstrict-aliasing -mfloat-abi=softfp -funsafe-math-optimizations"
LDFLAGS
=
"-Wl,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined"
if
[
-z
"
$NO_NEON
"
]
;
then
CXX_TARGET
=
"armeabi-v7a"
CFLAGS
=
"
$CFLAGS
-mfpu=neon -mcpu=cortex-a8"
LDFLAGS
=
"
$LDFLAGS
-Wl,--fix-cortex-a8"
EXTRA_PARAMS
=
" --enable-neon"
elif
[
-n
"
$TEGRA2
"
]
;
then
CXX_TARGET
=
"armeabi-v7a"
CFLAGS
=
"
$CFLAGS
-mfpu=vfpv3-d16 -mcpu=cortex-a9"
EXTRA_PARAMS
=
" --disable-neon"
else
CXX_TARGET
=
"armeabi"
CFLAGS
=
"
$CFLAGS
-mcpu=arm1136jf-s -mfpu=vfp"
EXTRA_PARAMS
=
" --disable-neon"
fi
CPPFLAGS
=
"-I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/include -I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/libs/
${
CXX_TARGET
}
/include"
LDFLAGS
=
"
$LDFLAGS
-L
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/libs/
${
CXX_TARGET
}
"
SYSROOT
=
$ANDROID_NDK
/platforms/
$ANDROID_API
/arch-arm
ANDROID_BIN
=
$ANDROID_NDK
/toolchains/arm-linux-androideabi-4.4.3/prebuilt/
*
-x86
/bin/
CROSS_COMPILE
=
${
ANDROID_BIN
}
/arm-linux-androideabi-
CPPFLAGS
=
"
$CPPFLAGS
"
\
CFLAGS
=
"
$CFLAGS
"
\
CXXFLAGS
=
"
$CFLAGS
"
\
LDFLAGS
=
"
$LDFLAGS
"
\
CC
=
"
${
CROSS_COMPILE
}
gcc --sysroot=
${
SYSROOT
}
"
\
CXX
=
"
${
CROSS_COMPILE
}
g++ --sysroot=
${
SYSROOT
}
"
\
NM
=
"
${
CROSS_COMPILE
}
nm"
\
STRIP
=
"
${
CROSS_COMPILE
}
strip"
\
RANLIB
=
"
${
CROSS_COMPILE
}
ranlib"
\
AR
=
"
${
CROSS_COMPILE
}
ar"
\
sh
$VLC_SOURCEDIR
/configure
--host
=
arm-linux-androideabi
--build
=
x86_64-unknown-linux
$EXTRA_PARAMS
\
--enable-live555
--enable-realrtsp
\
--enable-avformat
\
--enable-swscale
\
--enable-avcodec
\
--enable-opensles
\
--enable-android-surface
\
--enable-debug
\
--enable-mkv
\
--enable-taglib
\
--disable-vlc
--disable-shared
\
--disable-vlm
--disable-sout
\
--disable-dbus
\
--disable-lua
\
--disable-vcd
\
--disable-v4l2
\
--disable-gnomevfs
\
--disable-dvdread
\
--disable-dvdnav
\
--disable-bluray
\
--disable-linsys
\
--disable-decklink
\
--disable-libva
\
--disable-dv
\
--disable-mod
\
--disable-sid
\
--disable-gme
\
--disable-tremor
--disable-vorbis
\
--disable-x264
\
--disable-mad
\
--disable-schroedinger
--disable-dirac
\
--disable-sdl-image
\
--disable-zvbi
\
--disable-fluidsynth
\
--disable-jack
\
--disable-pulse
\
--disable-alsa
\
--disable-samplerate
\
--disable-sdl
\
--disable-xcb
\
--disable-atmo
\
--disable-qt4
\
--disable-skins2
\
--disable-mtp
\
--enable-taglib
\
--disable-notify
\
--disable-freetype
\
--disable-libass
\
--disable-svg
\
--disable-sqlite
\
--disable-udev
\
--disable-libxml2
\
--disable-caca
\
--disable-glx
\
--disable-egl
\
--disable-goom
\
--disable-projectm
\
--enable-iomx
\
$*
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