blob: 599b1fa25e7f4d96474790383e60c5ff57cd8eb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
PORTNAME= gexiv2
PORTVERSION= 0.14.2
CATEGORIES= graphics
MASTER_SITES= GNOME
MAINTAINER= cmt@FreeBSD.org
COMMENT= GObject-based wrapper around Exiv2 library
WWW= https://wiki.gnome.org/Projects/gexiv2
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_i386= fails to build with exiv2 0.28
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
LIB_DEPENDS= libexiv2.so:graphics/exiv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
USES= compiler:c++17-lang gnome libtool:build meson pathfix pkgconfig \
python:build tar:xz vala:build
USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
BINARY_WRAPPERS= gm4
BINARY_ALIAS= python3=${PYTHON_CMD}
USE_CXXSTD= c++17
OPTIONS_DEFINE= DOCS
OPTIONS_SUB= yes
DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc
DOCS_CONFIGURE_ON= -Dgtk_doc=true
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/vala/vapi
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgexiv2.so
${RM} -r ${STAGEDIR}${PREFIX}/lib/python*
.include <bsd.port.mk>
|