Ticket #58412: patch-gexiv2-Portfile.diff
File patch-gexiv2-Portfile.diff, 1.9 KB (added by kencu (Ken), 6 years ago) |
---|
-
Portfile
old new 1 1 # -*- 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 2 2 3 3 PortSystem 1.0 4 PortGroup gobject_introspection 1.04 PortGroup meson 1.0 5 5 6 6 name gexiv2 7 version 0.1 0.98 revision 17 version 0.12.0 8 revision 0 9 9 license GPL-2+ 10 10 set branch [join [lrange [split ${version} .] 0 1] .] 11 11 description gexiv2 is a GObject-based wrapper around the exiv2 library. … … 22 22 23 23 use_xz yes 24 24 25 checksums rmd160 cbbd9cb12bd685f8c07d3a388370a07b49ba789b\26 sha256 8806234aa6fd1c345d46bf07a14e82771415071ca5ff63615b1ea62bd2fec0ed\27 size 3 8034825 checksums rmd160 1e8f6d3cc45caf39afa7ca0b519b4de14f631b52 \ 26 sha256 58f539b0386f36300b76f3afea3a508de4914b27e78f58ee4d142486a42f926a \ 27 size 370816 28 28 29 29 depends_build port:pkgconfig \ 30 30 port:autoconf \ … … 36 36 port:vala \ 37 37 port:exiv2 38 38 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 39 post-extract { 40 reinplace "s|2\.0\.0|3\.0\.0|g" gexiv2/meson.build 46 41 } 47 48 configure.cmd ./autogen.sh49 50 configure.args --enable-compile-warnings=no \51 --disable-silent-rules52 53 42 # one each of python2 python3 allowed 54 43 55 44 variant python27 description {Build Python2 bindings using Python 2.7} {