Ticket #40813: my-ports-655a26c17d5747395029c29e874c3972a507407b.diff

File my-ports-655a26c17d5747395029c29e874c3972a507407b.diff, 3.1 KB (added by danchr (Dan Villiom Podlaski Christiansen), 11 years ago)

Patch for bumping to 2.0.0.

  • multimedia/mp4v2-devel/Portfile

    # 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  
    44PortSystem          1.0
    55
    66name                mp4v2-devel
    7 conflicts           mp4v2
     7replaced_by         mp4v2
    88version             r479
    99categories          multimedia
    10 maintainers         jameskyle
     10maintainers         nomaintainer
    1111
    1212description         Read, create, and modify mp4 files.
    1313long_description    The mp4v2 library provides an API to create and modify mp4 \
     
    1717homepage            http://code.google.com/p/mp4v2/
    1818platforms           darwin
    1919
    20 distname            mp4v2-trunk-${version}
    21 dist_subdir         mp4v2
    22 master_sites        googlecode:mp4v2
     20distfiles
    2321
    24 checksums           rmd160  aca1f4a448480f73cab7329752bf5165200e5e9d \
    25                     sha256  0bf5ad6bd48cf5f973908ea03f992831e72f47db5a30bf0300ffc20b44b6d8e6
     22pre-configure {
     23    ui_error "${name} has been renamed to ${replaced_by}. Please install ${replaced_by} instead."
     24    return -code error "obsolete port"
     25}
    2626
    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 }
     27livecheck.type      none
  • multimedia/mp4v2/Portfile

    diff --git a/multimedia/mp4v2/Portfile b/multimedia/mp4v2/Portfile
    a b  
    55
    66name                mp4v2
    77conflicts           mp4v2-devel
    8 version             1.9.1
    9 revision            2
     8version             2.0.0
    109categories          multimedia
    1110license             MPL-1.1 BSD-old
    1211maintainers         gmail.com:cedric.luthi
     
    2019
    2120master_sites        googlecode
    2221
    23 checksums           md5    986701929ef15b03155ac4fb16444797 \
    24                     sha1   c62d00e99b65efce16accd83c501fb8a57206aa8 \
    25                     rmd160 66aed17925589b49ec3b1241bfcb45a8e3181c08
     22checksums           md5     c91f06711225b34b4c192c9114887b14 \
     23                    sha1    193260cfb7201e6ec250137bcca1468d4d20e2f0 \
     24                    rmd160  1b309ec6480dd06fac2e1e72ab666ca123e714d8
    2625
    2726depends_build       port:help2man
    2827
    2928use_bzip2           yes
    3029
    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 
    3730platform 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
    4633    }
    4734}
    4835