summaryrefslogtreecommitdiffstats
path: root/audio/muine/Makefile
blob: 3ddd93ed42c5e1dc69de3545b2a009ee11847a73 (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
40
41
42
43
44
45
# New ports collection makefile for:	muine
# Date created:				20040615
# Whom:				Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
#

PORTNAME=	muine
PORTVERSION=	0.6.3
PORTREVISION=	4
CATEGORIES=	audio gnome
MASTER_SITES=	http://muine.gooeylinux.org/

MAINTAINER=	tmclaugh@sdf.lonestar.org
COMMENT=	Mono based Gnome audio player

LIB_DEPENDS=	FLAC.5:${PORTSDIR}/audio/flac \
		id3tag.2:${PORTSDIR}/audio/libid3tag \
		gdbm:${PORTSDIR}/databases/gdbm
BUILD_DEPENDS=	gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_GNOME=	gnomeprefix gnomehack intltool libgnomeui
WANT_GSTREAMER=	yes
USE_X_PREFIX=	yes
USE_LIBTOOL_VER=15
USE_REINPLACE=	yes

CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=	muine.schemas

OPTIONS=	GSTREAMER "Enable Gstreamer backend" off

.include <bsd.port.pre.mk>

.if defined (WITH_GSTREAMER)
CONFIGURE_ARGS+= --enable-gstreamer=yes
USE_GSTREAMER+=	mad vorbis flac
.else
LIB_DEPENDS+=	xine.12:${PORTSDIR}/multimedia/libxine
.endif

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