summaryrefslogtreecommitdiffstats
path: root/net-im/corebird/Makefile
blob: 00276e0e0ffb6dc7b2318225a1896b783df817e4 (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
53
54
55
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=	corebird
PORTVERSION=	1.4.2
PORTREVISION=	2
CATEGORIES=	net-im

MAINTAINER=	cpm@FreeBSD.org
COMMENT=	GTK3 Twitter client written in Vala

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	valac:lang/vala
LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
		libnotify.so:devel/libnotify \
		libjson-glib-1.0.so:devel/json-glib \
		librest-0.7.so:devel/librest

USE_GITHUB=	yes
GH_ACCOUNT=	baedert

USES=		autoreconf gmake libtool pkgconfig sqlite

GNU_CONFIGURE=	yes
USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 intltool libxml2 pango
INSTALLS_ICONS=	yes

CONFIGURE_ARGS=	--disable-spellcheck # spellchecking depends on gspell >= 1.0.x

OPTIONS_DEFINE=		GSTREAMER NLS
OPTIONS_DEFAULT=	GSTREAMER
OPTIONS_SUB=		yes

GSTREAMER_LIB_DEPENDS=		libgstbase-1.0.so:multimedia/gstreamer1 \
				libgstreamer-1.0.so:multimedia/gstreamer1
GSTREAMER_USE=			gstreamer1=yes,bad,good,gtksink,hls,libav,soup,x,ximagesrc
GSTREAMER_CONFIGURE_OFF=	--disable-video

NLS_USES=			gettext
NLS_CONFIGURE_OFF=		--disable-nls

GLIB_SCHEMAS=	org.baedert.corebird.gschema.xml

post-extract:
	@(cd ${WRKSRC}/data && ${MV} org.baedert.corebird.desktop.in \
		corebird.desktop.in)

# Replace locales files in right place
post-configure:
	@${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \
		${WRKSRC}/po/Makefile

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