devel/libaravis: Update to 0.5.11

Port changes:
* Changed to DISTVERSION
* Added LICENSE_FILE
* Converted LIB_DEPENDS=libxml2.so:textproc/libxml2 to USE_GNOME=libxml2
* Changed dependency devel/gobject-introspection from LIB to BUILD
* Moved patchig from pre-configure to files/
* Added INSTALL_TARGET=install-strip
* Removed GH_TAGNAME / added DISTVERSIONPREFIX

PR:		226367
Submitted by:	rozhuk.im@gmail.com (maintainer)
Approved by:	tcberner (mentor, implicit)
This commit is contained in:
Yuri Victorovich 2018-03-06 09:30:47 +00:00
parent c0e73eec03
commit acee06ac30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463703
5 changed files with 45 additions and 25 deletions

View file

@ -2,38 +2,39 @@
# $FreeBSD$
PORTNAME= libaravis
PORTVERSION= 0.5.9
DISTVERSIONPREFIX= ARAVIS_
DISTVERSION= 0_5_11
CATEGORIES= devel
MAINTAINER= rozhuk.im@gmail.com
COMMENT= Camera control and image acquisition library
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= g-ir-compiler:devel/gobject-introspection
CONFLICTS_INSTALL= ${PORTNAME}*
USES= pkgconfig autoreconf libtool gmake
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= AravisProject
GH_PROJECT= aravis
GH_TAGNAME= c681c52
CONFLICTS_INSTALL= ${PORTNAME}*
DOCSDIR= ${PREFIX}/share/doc/aravis/aravis-0.6
USE_GNOME= glib20 intltool
LIB_DEPENDS+= libxml2.so:textproc/libxml2 \
libgirepository-1.0.so:devel/gobject-introspection
USES= pkgconfig autoreconf libtool gmake
USE_GNOME= glib20 intltool libxml2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
OPTIONS_DEFINE= DOCS NLS FAST_HEARTBEAT USB
OPTIONS_DEFAULT= USB
OPTIONS_SUB= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-packet-socket=no --enable-viewer=no \
--enable-gst-plugin=no --enable-gst-0.10-plugin=no \
--enable-cpp-test=no --enable-zlib-pc=yes
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
DOCSDIR= ${PREFIX}/share/doc/aravis/aravis-0.6
OPTIONS_DEFINE= DOCS NLS FAST_HEARTBEAT USB
OPTIONS_DEFAULT= USB
OPTIONS_SUB= yes
NLS_USES= gettext
@ -44,10 +45,6 @@ USB_DESC= build with USB support
USB_CONFIGURE_ENABLE= usb
pre-configure:
${ECHO_CMD} "EXTRA_DIST =" >> ${WRKSRC}/gtk-doc.make
@${REINPLACE_CMD} -e 's|GTK_DOC_CHECK(\[1.14\],\[--flavour no-tmpl\])||' \
${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e 's|SUBDIRS += tests po docs|SUBDIRS += po docs|' \
${WRKSRC}/Makefile.am
@${ECHO_CMD} "EXTRA_DIST =" >> ${WRKSRC}/gtk-doc.make
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1495381572
SHA256 (AravisProject-aravis-0.5.9-c681c52_GH0.tar.gz) = 525b95820ad6ae54a97b71b58edcbed1d21ade5137dcc8ecadac58ac19d9ad32
SIZE (AravisProject-aravis-0.5.9-c681c52_GH0.tar.gz) = 2478685
TIMESTAMP = 1520326526
SHA256 (AravisProject-aravis-ARAVIS_0_5_11_GH0.tar.gz) = 051b307e58ee7564cc6be99cbc773f2f7af17be95ac601f441bcded6f316a820
SIZE (AravisProject-aravis-ARAVIS_0_5_11_GH0.tar.gz) = 2978653

View file

@ -0,0 +1,11 @@
--- Makefile.am.orig 2018-01-29 16:03:28 UTC
+++ Makefile.am
@@ -20,7 +20,7 @@ if ARAVIS_BUILD_GST_0_10_PLUGIN
SUBDIRS += gst-0.10
endif
-SUBDIRS += tests po docs
+SUBDIRS += po docs
aravisdocdir = ${docdir}/aravis-@ARAVIS_API_VERSION@
aravisdoc_DATA = \

View file

@ -0,0 +1,11 @@
--- configure.ac.orig 2018-01-29 16:03:28 UTC
+++ configure.ac
@@ -268,7 +268,7 @@ GOBJECT_INTROSPECTION_CHECK([0.10.0])
AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
enable_introspection=no])
-GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
+
AM_CONDITIONAL([BUILD_GTK_DOC], [test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"])
APPSTREAM_XML

View file

@ -49,6 +49,7 @@ include/aravis-0.6/arvgcregisternode.h
include/aravis-0.6/arvgcstring.h
include/aravis-0.6/arvgcstructentrynode.h
include/aravis-0.6/arvgcswissknife.h
include/aravis-0.6/arvgcvalueindexednode.h
include/aravis-0.6/arvgvcp.h
include/aravis-0.6/arvgvdevice.h
include/aravis-0.6/arvgvfakecamera.h