aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/ring-gnome/Makefile
blob: 3314869c4201f853f05cc331532a3ed7992649d8 (plain) (blame)
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
53
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

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

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

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

DEPRECATED= Depends on expiring and broken net-im/ring-daemon
EXPIRATION_DATE=    2018-03-19

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

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

SUB_FILES=  pkg-message

USES=       cmake compiler:c++14-lang gettext pkgconfig shebangfix sqlite
USE_GNOME=  evolutiondataserver3 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-install:
    @${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>