# -*- 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
set branch [join [lrange [split ${version} .] 0 1] .]
description Decoder/renderer for Flash animations.
long_description ${description}
homepage https://swfdec.freedesktop.org/
master_sites ${homepage}download/${name}/${branch}/ \
http://de-mirror.org/distro/gentoo/distfiles/ \
http://mirror.datapipe.net/gentoo/distfiles/ \
http://mirror.mcs.anl.gov/pub/gentoo/distfiles/ \
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/distfiles \
ftp://mirror.iawnet.sandia.gov/pub/gentoo/distfiles
checksums md5 aece501d0e73f3e564200a44ec03c385 \
sha1 cf95930ccd0b66146c97d6e111b1e27ec0d802dc \
rmd160 1931b2c8b0ed54212e43fc8638b118c6bc559dda
depends_build port:pkgconfig
depends_lib port:gstreamer010-gst-plugins-base \
# liboil is not universal
reinplace "s|-Wl,-Bsymbolic||g" ${worksrcpath}/configure
configure.args --with-audio=none
livecheck.url [lindex ${master_sites} 0]
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"