summaryrefslogtreecommitdiffstats
path: root/audio/gmpc/Makefile
blob: ba97e2cfe58dda68224268e302efb979c9c43a95 (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
# Created by: Mark Reidel <ports@mark.reidel.info>
# $FreeBSD$

PORTNAME=	gmpc
PORTVERSION=	11.8.16
PORTREVISION=	4
PORTEPOCH=	1
CATEGORIES=	audio
MASTER_SITES=	http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ \
		http://freebsd.unixfreunde.de/sources/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Full featured GTK2 client for musicpd

BUILD_DEPENDS=	gob2:${PORTSDIR}/devel/gob2 \
		valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=	libmpd.so:${PORTSDIR}/audio/libmpd \
		libsexy.so:${PORTSDIR}/x11-toolkits/libsexy \
		libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
		libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
		libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique

GNU_CONFIGURE=	yes
USES=		gettext gmake libtool pathfix pkgconfig
USE_GNOME=	glib20 gtk20 intltool libglade2
INSTALLS_ICONS=	yes
CONFIGURE_ARGS=	--enable-system-libsexy
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib -lm

OPTIONS_DEFINE=	MMKEYS XSPF
OPTIONS_DEFAULT=	MMKEYS

MMKEYS_CONFIGURE_ON=--disable-mmkeys

XSPF_LIB_DEPENDS=	libxspf.so:${PORTSDIR}/multimedia/libxspf
XSPF_CONFIGURE_ENABLE=	libxspf

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