source: trunk/dports/multimedia/xine-lib/Portfile @ 84624

Last change on this file since 84624 was 84624, checked in by ryandesign@…, 6 years ago

xine-lib: new reason why universal is disabled

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 84624 2011-09-29 04:39:50Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            xine-lib
6version         1.1.19
7description     xine-lib is a free multimedia engine, released under the GPL.
8long_description        ${description}
9maintainers     nomaintainer
10categories      multimedia
11platforms       darwin
12homepage        http://www.xine-project.org
13master_sites    sourceforge:xine
14use_xz      yes
15checksums   md5     d0969c067dc32f33c5ea431e5e2106ce \
16            sha1    f65f762d2e16adf04b9d715c91ee0bc02c322a7d \
17            rmd160  7b8c2a4e5bcd0984414360d8d589aa533a9040f3
18depends_build port:libtool \
19            port:pkgconfig
20depends_lib port:aalib  \
21            port:esound \
22            port:faad2 \
23            path:lib/libavcodec.dylib:ffmpeg \
24            port:flac \
25            port:libogg \
26            port:libvorbis \
27            port:zlib \
28            port:xorg-libXinerama \
29            port:xorg-libXt \
30            port:xorg-libXvMC \
31            port:fontconfig \
32            port:libpng \
33            port:xorg-xcb-util
34
35# bad register name `%rax'
36universal_variant       no
37
38configure.env-append    LIBTOOL=glibtool
39configure.args  --with-external-libfaad \
40                --with-external-ffmpeg
41if {${os.platform} == "darwin" && [string match *64 $build_arch]} {
42    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
43}
44
45livecheck.distname      ${name} (xine core)
46
47platform macosx {
48    patchfiles-append       audio_coreaudio_out.c.diff
49    configure.args-append   --enable-macosx-video \
50                            --enable-coreaudio
51    if {${os.major} >= 9} {
52        patchfiles-append   _cdio_osx.c.diff
53    }
54    if {${os.major} == 10} {
55        # ld: codegen problem, can't use rel32 to external symbol UVMask in _tomsmocomp_filter_sse from .libs/xineplug_post_tvtime.lax/libdeinterlaceplugins.a/libdeinterlaceplugins_la-kdetv_tomsmocomp.o
56        # possibly rdar://problem/7511396
57        patchfiles-append disable_deinterlace_kdetv_tomsmocomp.diff
58    }
59}
Note: See TracBrowser for help on using the repository browser.