# $Id$

PortSystem 1.0

name                libquicktime-devel
set my_name         libquicktime
conflicts           libquicktime
version             1.2.4
revision            20130128
categories          multimedia
platforms           darwin
maintainers         jeremyhu
license             LGPL-2.1
description         library for reading and writing quicktime files
long_description    ${description}

homepage            http://libquicktime.sourceforge.net/

depends_lib         port:gettext port:jpeg port:libiconv port:libpng port:zlib \
                    path:lib/libavcodec.dylib:ffmpeg port:faac port:faad2 \
                    port:libvorbis port:libogg port:lame port:xorg-libXv \
                    port:xorg-libXaw port:x264

configure.args      --without-gtk --without-alsa \
                    --with-libjpeg --with-libpng --with-ffmpeg \
                    --with-vorbis=${prefix} \
                    --with-libiconv-prefix=${prefix} \
                    --with-libintl-prefix=${prefix} \
                    --without-doxygen \
                    --enable-gpl

patchfiles newer-automake.patch

post-patch {
	system "cd ${worksrcpath} && ./make_potfiles"
}

use_autoreconf      yes
autoreconf.args     -fvi

fetch.type          cvs
cvs.root            :pserver:anonymous@libquicktime.cvs.sourceforge.net:/cvsroot/libquicktime 
cvs.date            2013-01-27
cvs.module          libquicktime
worksrcdir          libquicktime

livecheck.type      none