aboutsummaryrefslogtreecommitdiffstats
path: root/net/libdmapsharing/Makefile
blob: 09f5795be60a80e46ffc54453e9292e9ea903905 (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
# Created by: Gustau Perez <gustau.perez@gmail.com>
# $FreeBSD$
#   $MCom: ports/trunk/net/libdmapsharing/Makefile 19962 2014-10-15 14:57:24Z gusi $

PORTNAME=   libdmapsharing
PORTVERSION=    2.9.24
PORTREVISION=   2
CATEGORIES= net gnome
MASTER_SITES=   https://www.flyn.org/projects/libdmapsharing/
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME music playing application

LIB_DEPENDS=    libsoup-2.4.so:devel/libsoup \
        libgee-0.8.so:devel/libgee
BUILD_DEPENDS=  vapigen:lang/vala

USES=       gettext gmake libtool pathfix pkgconfig
USE_GNOME=  gnomeprefix gtk20 introspection:build
USE_GSTREAMER1= yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --disable-introspection \
        --with-mdns=avahi
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include `pkg-config --cflags gtk+-3.0`
LDFLAGS+=   -L${LOCALBASE}/lib `pkg-config --libs gtk+-3.0`
INSTALL_TARGET= install-strip

OPTIONS_SUB=    yes
OPTIONS_DEFAULT=    AVAHI
OPTIONS_SINGLE= MDNS
OPTIONS_SINGLE_MDNS=    AVAHI MDNSRESPONDER
AVAHI_LIB_DEPENDS=  libavahi-core.so:net/avahi-app
AVAHI_CONFIGURE_ON= --with-mdns=avahi
MDNSRESPONDER_LIB_DEPENDS=  libdns_sd.so:net/mDNSResponder \
                libavahi-glib.so:net/avahi-app
MDNSRESPONDER_CONFIGURE_ON= --with-mdns=mdns
MDNSRESPONDER_DESC+=    Zeroconf support via mDNSResponder (broken)

.include <bsd.port.mk>