Ticket #58412: patch-gexiv2-Portfile.diff

File patch-gexiv2-Portfile.diff, 1.9 KB (added by kencu (Ken), 5 years ago)

new patch that changes the version to 3.0.0

  • Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
    22
    33PortSystem          1.0
    4 PortGroup           gobject_introspection 1.0
     4PortGroup           meson 1.0
    55
    66name                gexiv2
    7 version             0.10.9
    8 revision            1
     7version             0.12.0
     8revision            0
    99license             GPL-2+
    1010set branch          [join [lrange [split ${version} .] 0 1] .]
    1111description         gexiv2 is a GObject-based wrapper around the exiv2 library.
     
    2222
    2323use_xz              yes
    2424
    25 checksums           rmd160  cbbd9cb12bd685f8c07d3a388370a07b49ba789b \
    26                     sha256  8806234aa6fd1c345d46bf07a14e82771415071ca5ff63615b1ea62bd2fec0ed \
    27                     size    380348
     25checksums           rmd160  1e8f6d3cc45caf39afa7ca0b519b4de14f631b52 \
     26                    sha256  58f539b0386f36300b76f3afea3a508de4914b27e78f58ee4d142486a42f926a \
     27                    size    370816
    2828
    2929depends_build       port:pkgconfig \
    3030                    port:autoconf \
     
    3636                    port:vala \
    3737                    port:exiv2
    3838
    39 gobject_introspection yes
    40 
    41 # the exiv2 xmp.hpp header file has been renamed to xmp_exiv2.hpp
    42 pre-configure {
    43         reinplace -W ${worksrcpath}/gexiv2/ "s|<exiv2/xmp.hpp>|<exiv2/xmp_exiv2.hpp>|g" \
    44             gexiv2-metadata-private.h gexiv2-metadata-xmp.cpp \
    45             gexiv2-metadata.cpp gexiv2-startup.cpp
     39post-extract {
     40    reinplace "s|2\.0\.0|3\.0\.0|g" gexiv2/meson.build
    4641}
    47 
    48 configure.cmd       ./autogen.sh
    49 
    50 configure.args      --enable-compile-warnings=no \
    51                     --disable-silent-rules
    52 
    5342# one each of python2 python3 allowed
    5443
    5544variant python27 description {Build Python2 bindings using Python 2.7} {