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

Last change on this file was 148825, checked in by devans@…, 16 months ago

dependents of ffmpeg: increment revision to rebuild with ffmpeg version 3.0.2. (#50694).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 148825 2016-05-19 16:38:55Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            xine-lib
6version         1.2.6
7revision        3
8description     xine-lib is a free multimedia engine, released under the GPL.
9long_description        ${description}
10maintainers     ryandesign openmaintainer
11categories      multimedia
12# included libdvdnav is GPL-2 only, rest is GPL-2+
13license         GPL-2
14platforms       darwin
15homepage        http://www.xine-project.org
16master_sites    sourceforge:project/xine/xine-lib/${version}
17use_xz      yes
18
19checksums       rmd160  05edcd9a36e93d2fc9d1bf13cae3b32d4bd996da \
20                sha256  bd041d738817c7c0c6392a3c0e5bda5a664a47e035135b5a449364f8c9b6a005
21
22depends_build port:libtool \
23            port:pkgconfig
24depends_lib port:aalib  \
25            port:esound \
26            port:faad2 \
27            path:lib/libavcodec.dylib:ffmpeg \
28            port:flac \
29            port:fontconfig \
30            port:gdk-pixbuf2 \
31            port:ImageMagick \
32            port:jack \
33            port:libcaca \
34            port:libcdio \
35            port:libdca \
36            port:libmad \
37            port:libmng \
38            port:libmpcdec \
39            port:libogg \
40            port:libvorbis \
41            port:mesa \
42            port:vcdimager \
43            port:xorg-libXinerama \
44            port:xorg-libXt \
45            port:xorg-libXvMC \
46            port:xorg-xcb-util
47
48patchfiles-append   patch-src-post-planar-eq2.c.diff \
49                    patch-ffmpeg-3.0.diff
50
51# bad register name `%rax'
52universal_variant   no
53
54# unsupported inline asm: input constraint with a matching output constraint of incompatible type!
55compiler.blacklist  *llvm-gcc-4.2
56
57configure.args  --disable-silent-rules
58if {${os.platform} eq "darwin" && [string match *64 $build_arch]} {
59    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
60}
61build.args  V=1
62
63platform darwin {
64    # fix "ar: no archive members specified"
65    # https://bugs.xine-project.org/show_bug.cgi?id=456
66    patchfiles-append src_xine-engine_Makefile.in.diff
67}
68
69platform macosx {
70    configure.args-append   --enable-macosx-video \
71                            --enable-coreaudio
72}
73
74livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.