summaryrefslogtreecommitdiffstats
path: root/net/grilo/Makefile
blob: 04eff18911800da8b69a3fb15cb81414e4ffb68e (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
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
#   $MCom$

PORTNAME=   grilo
PORTVERSION=    0.2.10
CATEGORIES= net
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Grilo is a framework focused on making media discovery and browsing

BUILD_DEPENDS=  vapigen:${PORTSDIR}/lang/vala-vapigen
LIB_DEPENDS=    libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
        liboauth.so:${PORTSDIR}/net/liboauth \
        libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser

USES=       gettext gmake libtool:keepla pathfix pkgconfig tar:xz
USE_LDCONFIG=   yes
USE_GNOME=  glib20 gnomehier intlhack introspection:build libxml2
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--enable-vala -disable-debug
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

#  --enable-debug include debug symbols
CONFIGURE_ARGS+=--enable-tests #          build unit tests

OPTIONS_SUB=    yes
OPTIONS_DEFINE= UI

UI_DESC=    Enable testing UI
UI_CONFIGURE_ENABLE=test-ui
UI_USE=     GNOME=gtk30

.include <bsd.port.mk>