View | Details | Raw Unified | Return to bug 215908 | Differences between
and this patch

Collapse All | Expand All

(-)multimedia/aravis/Makefile (+42 lines)
Line 0 Link Here
1
# Created by: Rozhuk Ivan rozhuk.im@gmail.com
2
# $FreeBSD$
3
4
PORTNAME=		aravis
5
PORTVERSION=		0.5.11
6
CATEGORIES=		multimedia
7
8
MAINTAINER=		rozhuk.im@gmail.com
9
COMMENT=		Camera control and image acquisition viewer
10
11
LICENSE=		LGPL21+
12
13
USE_GITHUB=		yes
14
GH_ACCOUNT=		AravisProject
15
GH_PROJECT=		aravis
16
GH_TAGNAME=		fe46aa8bf0f8df3fef45c7af0217aa14f84d4113
17
18
CONFLICTS_INSTALL=	${PORTNAME}*
19
20
USE_GNOME=		glib20 intltool
21
USE_GSTREAMER1=		yes
22
LIB_DEPENDS+=		libaravis-0.6.so:devel/libaravis
23
INSTALLS_ICONS=		yes
24
25
USES=			pkgconfig autoreconf libtool gmake
26
USE_LDCONFIG=		yes
27
GNU_CONFIGURE=		yes
28
MAKE_ARGS=		pkgconfigdir="${PREFIX}/libdata/pkgconfig"
29
30
CONFIGURE_ARGS=		--enable-packet-socket=no --enable-viewer=yes	\
31
			--enable-gst-plugin=no --enable-gst-0.10-plugin=no \
32
			--enable-gtk-doc=no --enable-cpp-test=no \
33
			--enable-usb=no --enable-zlib-pc=yes
34
35
pre-configure:
36
	${ECHO_CMD} "EXTRA_DIST =" >> ${WRKSRC}/gtk-doc.make
37
	@${REINPLACE_CMD} -e 's|GTK_DOC_CHECK(\[1.14\],\[--flavour no-tmpl\])||' \
38
		${WRKSRC}/configure.ac
39
	@${REINPLACE_CMD} -e 's|^arv_viewer_LDADD.*=.*|arv_viewer_LDADD = $${ARAVIS_VIEWER_LIBS} -laravis-0.6|' \
40
		${WRKSRC}/viewer/Makefile.am
41
42
.include <bsd.port.mk>
(-)multimedia/aravis/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1520213287
2
SHA256 (AravisProject-aravis-0.5.11-fe46aa8bf0f8df3fef45c7af0217aa14f84d4113_GH0.tar.gz) = f40a84b9e9cf7338bb85385160cad58a2eb074f7e4a10d82ef109ded816a60cb
3
SIZE (AravisProject-aravis-0.5.11-fe46aa8bf0f8df3fef45c7af0217aa14f84d4113_GH0.tar.gz) = 2979264
(-)multimedia/aravis/files/patch-Makefile.am (+40 lines)
Line 0 Link Here
1
--- Makefile.am.orig	2017-04-10 16:30:09.000000000 +0300
2
+++ Makefile.am	2017-05-09 18:16:47.209483000 +0300
3
@@ -6,7 +6,7 @@
4
 
5
 DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc --enable-gst-plugin --enable-gst-0.10-plugin --enable-viewer --enable-cpp-test --enable-appstream-util
6
 
7
-SUBDIRS = src
8
+SUBDIRS =
9
 
10
 if ARAVIS_BUILD_VIEWER
11
 SUBDIRS += viewer
12
@@ -20,15 +20,8 @@
13
 SUBDIRS += gst-0.10
14
 endif
15
 
16
-SUBDIRS += tests po docs
17
 
18
-aravisdocdir = ${docdir}/aravis-@ARAVIS_API_VERSION@
19
-aravisdoc_DATA = 	\
20
-	README.md	\
21
-	COPYING		\
22
-	ChangeLog 	\
23
-	AUTHORS		\
24
-	NEWS
25
+
26
 
27
 EXTRA_DIST += m4/introspection.m4 README.md
28
 
29
@@ -40,11 +33,5 @@
30
 		fi \
31
 	done
32
 
33
-pkgconfigdir = $(libdir)/pkgconfig
34
-pkgconfig_DATA = aravis-@ARAVIS_API_VERSION@.pc
35
-
36
-CLEANFILES = $(pkgconfig_DATA)
37
 
38
-%-@ARAVIS_API_VERSION@.pc: %.pc
39
-	cp $< $@
40
 
(-)multimedia/aravis/pkg-descr (+10 lines)
Line 0 Link Here
1
Aravis
2
Aravis is a glib/gobject based viewer for video
3
acquisition using Genicam cameras.
4
It currently implements the gigabit ethernet and
5
USB3 (Since Aravis 0.5.x) protocols used by industrial
6
cameras. It also provides a basic ethernet camera
7
simulator and a simple video viewer.
8
9
10
WWW: https://github.com/AravisProject/aravis
(-)multimedia/aravis/pkg-plist (+8 lines)
Line 0 Link Here
1
bin/arv-viewer
2
share/appdata/arv-viewer.appdata.xml
3
share/applications/arv-viewer.desktop
4
%%DATADIR%%-0.6/arv-viewer.ui
5
share/icons/hicolor/22x22/apps/aravis.png
6
share/icons/hicolor/256x256/apps/aravis.png
7
share/icons/hicolor/32x32/apps/aravis.png
8
share/icons/hi

Return to bug 215908