# -*- 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

PortSystem          1.0

name                libquicktime
conflicts           libquicktime-devel
version             1.2.4
revision            15
categories          multimedia
maintainers         nomaintainer
license             LGPL-2.1
description         library for reading and writing quicktime files
long_description    ${description}

homepage            https://libquicktime.sourceforge.net
master_sites        sourceforge
checksums           rmd160  4daed02aa99903218af6844e879334cd1ae9e018 \
                    sha256  1c53359c33b31347b4d7b00d3611463fe5e942cae3ec0fefe0d2fd413fd47368 \
                    size    1028626

depends_build       path:bin/pkg-config:pkgconfig \
                    port:gettext

depends_lib         port:gettext-runtime \
                    path:include/turbojpeg.h:libjpeg-turbo \
                    port:libiconv \
                    port:libpng \
                    port:zlib \
                    port:faac \
                    port:faad2 \
                    port:libvorbis \
                    port:lame \
                    port:mesa \
                    port:xorg-libXv \
                    port:xorg-libXaw \
                    port:xorg-libice \
                    port:xorg-libsm \
                    port:xorg-libX11 \
                    port:xorg-libXext \
                    port:xorg-libXt \
                    port:x264

patchfiles          implicit.patch \
                    dynamic_lookup-11.patch \
                    patch-configure.diff

configure.args      --without-gtk \
                    --without-alsa \
                    --without-ffmpeg \
                    --without-doxygen \
                    --enable-gpl

# Fix configure tests
configure.cflags-append -Wno-implicit-int
