update graphics/gexiv2 to 0.10.5

following the example of several other ports, the python overwrite
files will have get their own ports, which will also enable handling
of python versions 2 and/or 3.

PR:		205335
Submitted by:	me, sergey.avseyev(at)gmail.com
Approved by:	rene (mentor, implicit), timeout
This commit is contained in:
Christoph Moench-Tegeder 2017-03-26 20:35:54 +00:00
parent e14fa52816
commit 647ecd0c50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436987
4 changed files with 41 additions and 24 deletions

View file

@ -2,39 +2,33 @@
# $FreeBSD$
PORTNAME= gexiv2
PORTVERSION= 0.6.1
PORTREVISION= 6
PORTVERSION= 0.10.5
CATEGORIES= graphics
MASTER_SITES= http://pkgs.fedoraproject.org/repo/pkgs/libgexiv2/libgexiv2_0.6.1.tar.xz/5bd2ba92b765a2b3721874ebd2647734/
DISTNAME= lib${PORTNAME}_${PORTVERSION}
MASTER_SITES= GNOME/sources/gexiv2/${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= cmt@FreeBSD.org
COMMENT= GObject-based wrapper around Exiv2 library
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gm4:devel/m4
BUILD_DEPENDS= gm4:devel/m4 \
vala>=0:lang/vala
LIB_DEPENDS= libexiv2.so:graphics/exiv2
USES= gmake libtool:build pkgconfig tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-introspection=yes \
--enable-vala=yes
USES= gmake libtool:build pathfix pkgconfig tar:xz
USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
MAKE_ARGS= REQUIRED_CFLAGS="" ENABLE_INTROSPECTION=1
WRKSRC= ${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -E \
-e 's|^([[:space:]]+)m4[[:space:]]|\1gm4 |' \
-e 's|\$$\(LIB\)/pkgconfig|libdata/pkgconfig|' \
-e '/^CFLAGS/ s|CFLAGS|CXXFLAGS|' \
-e 's|\(CFLAGS\)|(CXXFLAGS)|' \
${WRKSRC}/${MAKEFILE}
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/vala/vapi
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgexiv2.so
${RM} ${STAGEDIR}${PREFIX}/lib/python*/site-packages/gi/overrides/GExiv2.py
.include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (libgexiv2_0.6.1.tar.xz) = 72ee2fcc6a98c9e83467adea45b10d1b61c55654c204dcce9c2463615389a9e3
SIZE (libgexiv2_0.6.1.tar.xz) = 27300
TIMESTAMP = 1490473329
SHA256 (gexiv2-0.10.5.tar.xz) = 318fe068cd414c0af91759a87c29fd577cd5d42bf7a6f50caff27535c02ac7f3
SIZE (gexiv2-0.10.5.tar.xz) = 591752

View file

@ -1,4 +1,5 @@
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the
basic features of Exiv2 available to GNOME applications.
gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.
It allows for GNOME applications to easily inspect and update EXIF, IPTC,
and XMP metadata in photo and video files of various formats.
WWW: http://trac.yorba.org/wiki/gexiv2/
WWW: https://wiki.gnome.org/Projects/gexiv2

View file

@ -5,11 +5,32 @@ include/gexiv2/gexiv2-managed-stream.h
include/gexiv2/gexiv2-preview-properties.h
include/gexiv2/gexiv2-preview-image.h
include/gexiv2/gexiv2-startup.h
lib/girepository-1.0/GExiv2-0.4.typelib
lib/libgexiv2.a
include/gexiv2/gexiv2-version.h
lib/girepository-1.0/GExiv2-0.10.typelib
lib/libgexiv2.so
lib/libgexiv2.so.2
lib/libgexiv2.so.2.0.0
libdata/pkgconfig/gexiv2.pc
share/gir-1.0/GExiv2-0.4.gir
share/gir-1.0/GExiv2-0.10.gir
share/gtk-doc/html/gexiv2/GExiv2Metadata.html
share/gtk-doc/html/gexiv2/GExiv2PreviewImage.html
share/gtk-doc/html/gexiv2/GExiv2PreviewProperties.html
share/gtk-doc/html/gexiv2/annotation-glossary.html
share/gtk-doc/html/gexiv2/api-index-full.html
share/gtk-doc/html/gexiv2/ch01.html
share/gtk-doc/html/gexiv2/deprecated-api-index.html
share/gtk-doc/html/gexiv2/gexiv2-Library-initialisation.html
share/gtk-doc/html/gexiv2/gexiv2-Logging-functionality.html
share/gtk-doc/html/gexiv2/gexiv2-gexiv2-version.html
share/gtk-doc/html/gexiv2/gexiv2.devhelp2
share/gtk-doc/html/gexiv2/home.png
share/gtk-doc/html/gexiv2/index.html
share/gtk-doc/html/gexiv2/left-insensitive.png
share/gtk-doc/html/gexiv2/left.png
share/gtk-doc/html/gexiv2/object-tree.html
share/gtk-doc/html/gexiv2/right-insensitive.png
share/gtk-doc/html/gexiv2/right.png
share/gtk-doc/html/gexiv2/style.css
share/gtk-doc/html/gexiv2/up-insensitive.png
share/gtk-doc/html/gexiv2/up.png
share/vala/vapi/gexiv2.vapi