Libtheora version 1.1.1 - How to Download and Install on Mac OS X
Saturday the 21st of November, 2009

    libtheora  most recent diff


    version 1.1.1

      View the most recent changes for the libtheora port at: libtheora.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for libtheora.
      The raw portfile for libtheora 1.1.1 is located here:
      http://libtheora.darwinports.com/dports/multimedia/libtheora/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/libtheora


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The libtheora Portfile 58623 2009-10-02 03:50:07Z rmsfisher macports.org $

      PortSystem 1.0

      Name: libtheora
      epoch 1
      Version: 1.1.1
      Category: multimedia
      Platform: darwin
      Maintainers: rmsfisher openmaintainer
      Description: Xiph.org Foundation's open video codec

      Long Description: Theora is an open video codec being developed by the Xiph.org Foundation as part of their Ogg project (It is a project that aims to integrate On2's VP3 video codec, Ogg Vorbis audio codec and Ogg multimedia container formats into a multimedia solution that can compete with MPEG-4 format).

      Homepage: http://www.theora.org/
      Master Sites: http://downloads.xiph.org/releases/theora/
      use_bzip2 yes

      Checksums: md5 292ab65cedd5021d6b7ddd117e07cd8e sha1 8dcaa8e61cd86eb1244467c0b64b9ddac04ae262 rmd160 1d07234bd7e2296c61d6e30fe9816415aa7fd8e5

      post-patch {
      if {! [variant_isset doc]} {
      reinplace -E "s/^(all|install):.*/\\1:/" ${worksrcpath}/doc/Makefile.in
      }
      }

      depends_build port:pkgconfig
      depends_lib port:libvorbis port:libogg

      configure.env SDL_CONFIG=/dev/null
      configure.args --disable-oggtest --disable-vorbistest --disable-examples --disable-asm

      pre-extract {
      if {"darwin" == ${os.platform} && 8 == ${os.major}} {
      set minimum_xcodeversion 2.5
      set current_xcodeversion [exec defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
      if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} {
      ui_error "On Mac OS X ${macosx_version}, ${name} ${version} requires Xcode ${minimum_xcodeversion} or later but you have Xcode ${current_xcodeversion}."
      return -code error "incompatible Xcode version"
      }
      }
      }

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      if {! [variant_isset doc]} {
      xinstall -d ${destroot}${docdir}
      }
      xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING LICENSE README ${destroot}${docdir}
      }

      test.run yes
      test.target check

      Variant: doc description {Install extra documentation} {}

      platform darwin powerpc {
      # http://trac.macports.org/ticket/13033
      # http://trac.macports.org/ticket/20141
      configure.args-delete --disable-asm
      }

      livecheck.type regex
      livecheck.url ${master_sites}?C=M&O=D
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*(?:\\w+\\d*)?)


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/libtheora
      % sudo port install libtheora
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching libtheora
      ---> Verifying checksum for libtheora
      ---> Extracting libtheora
      ---> Configuring libtheora
      ---> Building libtheora with target all
      ---> Staging libtheora into destroot
      ---> Installing libtheora
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using libtheora with these commands:
      %  man libtheora
      % apropos libtheora
      % which libtheora
      % locate libtheora

     Where to find more information:

    Darwin Ports



    Lightbox this page.