summaryrefslogtreecommitdiffstats
path: root/net-im/ring-gnome/Makefile
blob: fcc49db2faffb3eeb71c52c5f3a2da8014b43812 (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
41
42
43
44
45
46
47
48
49
50
51
52
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=	ring-gnome
PORTVERSION=	0.160516
#DISTVERSIONPREFIX=	v
CATEGORIES=	net-im net-p2p

MAINTAINER=	yuri@rawbw.com
COMMENT=	Gnome client of the Ring VoIP SIP phone and IM

LICENSE=	GPLv3
LICENSE_FILES=	${WRKSRC}/COPYING

LIB_DEPENDS=	libringclient.so:net-im/ring-libclient \
		libqrencode.so:graphics/libqrencode \
		libcogl-pango.so:graphics/cogl \
		libclutter-1.0.so:graphics/clutter \
		libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
		libnotify.so:devel/libnotify \
		libsoup-2.4.so:devel/libsoup \
		libplc4.so:devel/nspr \
		libjson-glib-1.0.so:devel/json-glib \
		libnss3.so:security/nss \
		libsecret-1.so:security/libsecret \
		libebook-1.2.so:databases/evolution-data-server

BROKEN_FreeBSD_9=	Fails due to compiler issues

USE_GITHUB=	yes
GH_TUPLE+=	savoirfairelinux:ring-client-gnome:07107e9

SUB_FILES=	pkg-message

USES=		cmake compiler:c++14-lang gettext gmake pkgconfig shebangfix sqlite
USE_GNOME=	glib20 gtk20 cairo gdkpixbuf2 libxml2 gtk30
USE_XORG=	x11 xcomposite xdamage xext xfixes xi xrandr xscrnsaver
USE_GL=		gl egl
USE_QT5=	core gui network xml opengl sql sql-sqlite3_run widgets svg \
		concurrent buildtools_build linguisttools_build qmake_build
SHEBANG_FILES=	${WRKSRC}/src/ring.cx
INSTALLS_ICONS=	yes

OPTIONS_DEFINE=	NLS
NLS_CMAKE_ON=	-DFREEBSD_NLS_ON:BOOL=ON
OPTIONS_SUB=	yes

post-stage:
	@${GZIP_CMD} ${GZIP} < ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ring.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ring.svgz
	@${RM} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ring.svg

.include <bsd.port.mk>
OpenPOWER on IntegriCloud