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

PORTNAME=   grilo-plugins
PORTVERSION=    0.2.12
PORTREVISION=   4
CATEGORIES= net
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Plugins for net/grilo

BUILD_DEPENDS=  itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    libgrilo-0.2.so:${PORTSDIR}/net/grilo \
        libgdata.so:${PORTSDIR}/devel/libgdata

USES=       gmake libtool:keepla pathfix pkgconfig tar:xz
USE_LDCONFIG=   yes
USE_GNOME=  glib20 gnomehier intlhack libxml2
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-youtube \
        --enable-vimeo \
        --enable-freebox \
        --enable-tmdb
CPPFLAGS+=  -I${LOCALBASE}/include -I${LOCALBASE}/include/grilo-0.2/
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_SUB=            yes
OPTIONS_DEFINE=                 TRACKER UPNP DMAP
OPTIONS_DEFAULT=                TRACKER
TRACKER_DESC=           Tracker support for grilo (used by gnome-music and possibly others)
TRACKER_CONFIGURE_ENABLE=   tracker 
TRACKER_LIB_DEPENDS=        libtracker-sparql-1.0.so:${PORTSDIR}/sysutils/tracker
DMAP_DESC=          DMAP (DAAP, DPAP & DACP) support with libdmapsharing
DMAP_CONFIGURE_ENABLE=      dmap
DMAP_LIB_DEPENDS=       libdmapsharing-3.0.so:${PORTSDIR}/net/libdmapsharing
UPNP_CONFIGURE_ENABLE=      upnp
UPNP_LIB_DEPENDS=       libgupnp-1.0.so:${PORTSDIR}/net/gupnp \
                libgupnp-av-1.0.so:${PORTSDIR}/net/gupnp-av

.include <bsd.port.mk>