# -*- 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 # $Id$ PortSystem 1.0 PortGroup muniversal 1.0 PortGroup cmake 1.0 name x265 version 1.9 checksums rmd160 1d5e0661fd609f909ffb3e2bd78ed819d6e8a4c8 \ sha256 3e4654133ed957a98708fdb4cb9a154d9e80922b84e26e43fc462a101c5b15c8 categories multimedia platforms darwin license GPL-2+ maintainers gmail.com:ays388 openmaintainer description H.265 encoder long_description x265 is a free software library and application for \ encoding video streams into the H.265/MPEG-H HEVC \ compression format, and is released under the terms of the \ GNU GPL. homepage https://www.videolan.org/developers/x265.html master_sites ftp://ftp.videolan.org/pub/videolan/x265/ distname ${name}_${version} worksrcdir ${distname}/source depends_build-append \ port:yasm cmake.out_of_source yes compiler.blacklist *llvm-gcc-4.2 # error: illegal text-relocation to '_x265_pw_1' # report: https://mailman.videolan.org/pipermail/x265-devel/2014-May/004476.html # solution: http://lists.apple.com/archives/unix-porting/2008/Jan/msg00027.html if {[variant_exists universal] && [variant_isset universal]} { lappend merger_configure_ldflags(i386) -Wl,-read_only_relocs,suppress } else { if {${build_arch} eq "i386"} { configure.ldflags-append -Wl,-read_only_relocs,suppress } } livecheck.regex "${name}_(\\d+(?:\\.\\d+)*)${extract.suffix}"