Giter VIP home page Giter VIP logo

vlc-android-macbuild's Introduction

# Deprecated
 * Welcome to my new project https://github.com/bbcallen/ijkplayer
 * Or fork official repo http://git.videolan.org/?p=vlc-ports/android.git;a=summary

# HOWTO
 0. Requirements (AFAIK)
  * MacOS or Linux (tested on CentOS)
  * ADK
  * NDK-r7c ~ r8b

  * MacPorts (for MacOS to upgrade tools)
   * sudo port -vd install wget
   * sudo port -vd install xz
   * sudo port -vd install git-core
   * sudo port -vd install cmake
   * sudo port -vd install grep
   * sudo port -vd install autoconf
   * sudo port -vd install libtool
   * sudo port -vd install pkgconfig
   * sudo port -vd install yasm

  * Install automake 1.11.x (for MacOS)
   # contrib can not be built with automake 1.10 or 1.12
   * cd /tmp
   * # @89623 for automake 1.11.3
   * # @91506 for automake 1.11.4
   * # @91935 for automake 1.11.5
   * svn co -r 89623 http://svn.macports.org/repository/macports/trunk/dports/devel/automake
   * cd automake
   * sudo port -vd install

  * Upgrade config.sub (for Linux)
   * upgrade config.sub of automake (to recognize `arm-linux-androideabi`)

 1. If you meet any trouble, this article may help you.
    Read this article http://www.doitscared.com/?p=649

 2. Fetch build scripts for mac
    git clone [email protected]:bbcallen/vlc-android-macbuild.git vlc-android-macbuild

 3. Build VLC app
    cd vlc-android-macbuild
    sh _pull-app.sh
    cd vlc-app/vlc-app-armv7a
    sh _reset_vlc.sh
    sh compile.sh
 
 4. Build customized VlcDemo (FOR MY OWN TEST ONLY)
    cd vlc-android-macbuild
    sh _pull-lite-armv7a.sh
    cd vlc-lite-armv7a
    sh _reset_vlc.sh
    sh compile.sh

# NOTICE
 0. This build is only for cross-compiling on MacOS, as I don't have setup any other *nix OS for now. You should follow the offical build if you need build on other *nix OS.

 1. Patches under /patches/vlc is OK for other build OS. They are licensed under LGPLv2.1, hmmm, supposed.

 2. This build is used in my own app. Some jni interfaces have been modified. You should modify or ignore patches under /patches/ports-android and /patches/vlc. Mail me if you have any problem about these patches.

# TROUBLESHOOT
 * Invalid configuration `arm-linux-androideabi'
   upgrade config.sub of automake, see _install_libs_on_centos.sh for more information

# Extra, not necessary
 * for git send-email
  * sudo port -vd install msmtp
  * pear-Net_SMTP
  * sudo port -vd install p5-net-ssh-perl
  * sudo wget -O /certificates/EquifaxSecureCertificateAuthority.crt http://msmtp.sourceforge.net/

vlc-android-macbuild's People

Contributors

bbcallen avatar tewilove avatar ctiao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.