manually update execinfo.mk
[dports.git] / net-im / corebird / Makefile
1 # Created by: Olivier Duchateau
2 # $FreeBSD$
3
4 PORTNAME=       corebird
5 PORTVERSION=    1.0
6 CATEGORIES=     net-im
7
8 MAINTAINER=     cpm@fbsd.es
9 COMMENT=        GTK3 Twitter client written in Vala
10
11 LICENSE=        GPLv3
12 LICENSE_FILE=   ${WRKSRC}/COPYING
13
14 BUILD_DEPENDS=  valac:${PORTSDIR}/lang/vala
15 LIB_DEPENDS=    libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
16                 libnotify.so:${PORTSDIR}/devel/libnotify \
17                 libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \
18                 librest-0.7.so:${PORTSDIR}/devel/librest \
19                 libgee-0.8.so:${PORTSDIR}/devel/libgee
20
21 GH_ACCOUNT=     baedert
22 GH_PROJECT=     ${PORTNAME}
23 GH_TAGNAME=     ${PORTVERSION}
24
25 USE_GITHUB=     yes
26 USES=           autoreconf gettext gmake libtool pkgconfig
27 GNU_CONFIGURE=  yes
28 USE_GNOME=      atk cairo gdkpixbuf2 glib20 gtk30 intltool libxml2 pango
29 USE_SQLITE=     yes
30 INSTALLS_ICONS= yes
31
32 OPTIONS_DEFINE= GSTREAMER
33 OPTIONS_DEFAULT=        GSTREAMER
34 GSTREAMER_DESC= Gstreamer support
35
36 GLIB_SCHEMAS=   org.baedert.corebird.gschema.xml
37
38 .include <bsd.port.options.mk>
39
40 post-extract:
41         cd ${WRKSRC}/data && ${MV} org.baedert.corebird.desktop.in.in \
42                 corebird.desktop.in.in
43
44 .if ${PORT_OPTIONS:MGSTREAMER}
45 USE_GSTREAMER1= yes bad good libav x ximagesrc
46 .else
47 CONFIGURE_ARGS+=        --disable-video
48 .endif
49
50 pre-configure:
51         ${MKDIR} ${WRKSRC}/m4
52
53 # Replace locales files in right place
54 post-configure:
55         ${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \
56                 ${WRKSRC}/po/Makefile
57
58 .include <bsd.port.mk>