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 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name libav |
---|
6 | version 12.1 |
---|
7 | categories multimedia |
---|
8 | platforms darwin |
---|
9 | license LGPL-2.1+ |
---|
10 | maintainers nomaintainer |
---|
11 | description Library for dealing with multimedia formats |
---|
12 | long_description Libav provides cross-platform tools and libraries to \ |
---|
13 | convert, manipulate and stream a wide range of multimedia \ |
---|
14 | formats and protocols. |
---|
15 | homepage https://libav.org/ |
---|
16 | master_sites https://libav.org/releases/ |
---|
17 | |
---|
18 | checksums rmd160 c4a7df82a75eca5355403c9a2976754a893fdc29 \ |
---|
19 | sha256 f08d48bfd26097402d61f831e77effd53d0838fdeccb02ea85ec3c5d2a4527e1 |
---|
20 | |
---|
21 | depends_lib port:zlib \ |
---|
22 | port:xorg-libX11 \ |
---|
23 | port:bzip2 |
---|
24 | |
---|
25 | configure.args --disable-debug |
---|
26 | |
---|
27 | variant gpl2 description {Enable GPL code, license will be GPL-2+} { |
---|
28 | configure.args-append --enable-gpl |
---|
29 | license GPL-2+ |
---|
30 | } |
---|
31 | |
---|
32 | variant nonfree description {enable nonfree code, libraries and binaries will not be redistributable} { |
---|
33 | configure.args-append --enable-nonfree |
---|
34 | license Restrictive |
---|
35 | } |
---|
36 | |
---|
37 | |
---|
38 | livecheck.type regex |
---|
39 | livecheck.url ${master_sites} |
---|
40 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|