source: trunk/dports/multimedia/libmpeg2/Portfile

Last change on this file was 134351, checked in by mojca@…, 3 years ago

libmpeg2: remove +no_x11 (#39383)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 134351 2015-03-23 16:29:23Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           muniversal 1.0
6
7name                libmpeg2
8version             0.5.1
9revision            2
10categories          multimedia
11license             GPL-2+
12maintainers         nomaintainer
13homepage            http://libmpeg2.sourceforge.net/
14description         A free library for decoding mpeg-2 and mpeg-1 video streams.
15long_description    libmpeg2 is a free library for decoding \
16                    mpeg-2 and mpeg-1 video streams.  The main \
17                    goals in libmpeg2 development are \
18                    conformance, speed, portability, and reuseability.
19platforms           darwin
20master_sites        ${homepage}files/
21
22checksums           rmd160  00b2d669655ed3f7a176f5eecc925045159a0301 \
23                    sha256  dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
24
25patchfiles          universal.patch
26
27configure.args      --enable-shared \
28                    --disable-sdl \
29                    --without-x \
30                    --mandir=${prefix}/share/man
31
32configure.cflags-append \
33                    -std=gnu89
34
35variant sdl description {Use libsdl} {
36    depends_lib-append      port:libsdl
37    configure.args-replace  --disable-sdl --enable-sdl
38}
39
40variant x11 {
41    depends_lib-append      port:xorg-libXv
42    configure.args-replace  --without-x --with-x
43    configure.args-append   --x-includes=${prefix}/include \
44                            --x-libraries=${prefix}/lib
45}
46
47default_variants    +sdl +x11
48
49livecheck.type      regex
50livecheck.url       ${homepage}downloads.html
51livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.