# HG changeset patch
# User Dan Villiom Podlaski Christiansen <danchr@gmail.com>
# Date 1382617390 -7200
# Node ID 655a26c17d5747395029c29e874c3972a507407b
# Parent e21754dedf885dfd9c455afb0e5c0c40222caede
mp4v2: bump to 2.0.0; fix on Mavericks
Also, restrict the patch to old OS versions; it's no longer needed AFAICT.
diff --git a/multimedia/mp4v2-devel/Portfile b/multimedia/mp4v2-devel/Portfile
a
|
b
|
|
4 | 4 | PortSystem 1.0 |
5 | 5 | |
6 | 6 | name mp4v2-devel |
7 | | conflicts mp4v2 |
| 7 | replaced_by mp4v2 |
8 | 8 | version r479 |
9 | 9 | categories multimedia |
10 | | maintainers jameskyle |
| 10 | maintainers nomaintainer |
11 | 11 | |
12 | 12 | description Read, create, and modify mp4 files. |
13 | 13 | long_description The mp4v2 library provides an API to create and modify mp4 \ |
… |
… |
|
17 | 17 | homepage http://code.google.com/p/mp4v2/ |
18 | 18 | platforms darwin |
19 | 19 | |
20 | | distname mp4v2-trunk-${version} |
21 | | dist_subdir mp4v2 |
22 | | master_sites googlecode:mp4v2 |
| 20 | distfiles |
23 | 21 | |
24 | | checksums rmd160 aca1f4a448480f73cab7329752bf5165200e5e9d \ |
25 | | sha256 0bf5ad6bd48cf5f973908ea03f992831e72f47db5a30bf0300ffc20b44b6d8e6 |
| 22 | pre-configure { |
| 23 | ui_error "${name} has been renamed to ${replaced_by}. Please install ${replaced_by} instead." |
| 24 | return -code error "obsolete port" |
| 25 | } |
26 | 26 | |
27 | | depends_build port:help2man |
28 | | |
29 | | use_bzip2 yes |
30 | | |
31 | | configure.args-append --disable-debug |
32 | | |
33 | | variant universal { |
34 | | configure.args-append --disable-gch |
35 | | } |
| 27 | livecheck.type none |
diff --git a/multimedia/mp4v2/Portfile b/multimedia/mp4v2/Portfile
a
|
b
|
|
5 | 5 | |
6 | 6 | name mp4v2 |
7 | 7 | conflicts mp4v2-devel |
8 | | version 1.9.1 |
9 | | revision 2 |
| 8 | version 2.0.0 |
10 | 9 | categories multimedia |
11 | 10 | license MPL-1.1 BSD-old |
12 | 11 | maintainers gmail.com:cedric.luthi |
… |
… |
|
20 | 19 | |
21 | 20 | master_sites googlecode |
22 | 21 | |
23 | | checksums md5 986701929ef15b03155ac4fb16444797 \ |
24 | | sha1 c62d00e99b65efce16accd83c501fb8a57206aa8 \ |
25 | | rmd160 66aed17925589b49ec3b1241bfcb45a8e3181c08 |
| 22 | checksums md5 c91f06711225b34b4c192c9114887b14 \ |
| 23 | sha1 193260cfb7201e6ec250137bcca1468d4d20e2f0 \ |
| 24 | rmd160 1b309ec6480dd06fac2e1e72ab666ca123e714d8 |
26 | 25 | |
27 | 26 | depends_build port:help2man |
28 | 27 | |
29 | 28 | use_bzip2 yes |
30 | 29 | |
31 | | patchfiles mp4v2-1.9.1-libversion.patch |
32 | | |
33 | | # TODO: This project has buggy C++ which clang rejects |
34 | | # http://trac.macports.org/ticket/31547 |
35 | | compiler.blacklist *clang* |
36 | | |
37 | 30 | platform darwin { |
38 | | if {${os.major} >= 13} { |
39 | | # This project needs to be updated to build with clang++ against libc++ |
40 | | depends_lib |
41 | | depends_run |
42 | | pre-fetch { |
43 | | ui_error "$name does not build on Mavericks or later." |
44 | | error "unsupported platform" |
45 | | } |
| 31 | if {${os.major} < 10} { |
| 32 | patchfiles mp4v2-1.9.1-libversion.patch |
46 | 33 | } |
47 | 34 | } |
48 | 35 | |