summaryrefslogtreecommitdiffstats
path: root/openbsd/dependencies/arts/Makefile
blob: 7f17ddb529356451c7f11ba2c04d50f2da44a67d (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.include </usr/ports/x11/trinity/trinity.port.mk>

PKGNAME=		trinity-arts-${VERSION}
VERSION=		1.5.10${PREVERSION}
PREVERSION=		

COMMENT=		aRts (analog realtime synthesizer) - the TDE sound system
CATEGORIES=		x11/trinity/dependencies
HOMEPAGE=		http://www.trinitydesktop.org/
MAINTAINER=		François Andriot <francois.andriot@free.fr>

MASTER_SITES=	http://ppa2.quickbuild.pearsoncomputing.net/redirect.php?file=releases/R14.0.0/dependencies/
DISTNAME=		arts-R${TDE_VERSION}${PREVERSION}
EXTRACT_SUFX=	.tar.bz2
WRKDIST=		${WRKDIR}/dependencies/arts

PREFIX=			${TDE_PREFIX}

BUILD_DEPENDS= 	devel/gmake \
				devel/cmake \
				x11/trinity/dependencies/tqtinterface

LIB_DEPENDS=	devel/libaudiofile \
                devel/glib2 \
                audio/libvorbis \
                audio/libogg \
                audio/libmad \
				x11/trinity/dependencies/tqtinterface

WANTLIB = glib-2.0 audiofile mad ogg vorbis

SHARED_LIBS +=  artsc                     0.0
SHARED_LIBS +=  artscbackend              0.0
SHARED_LIBS +=  artsdsp                   0.0
SHARED_LIBS +=  artsdsp_st                0.0
SHARED_LIBS +=  artsflow                  1.0
SHARED_LIBS +=  artsflow_idl              1.0
SHARED_LIBS +=  artsgslplayobject         0.0
SHARED_LIBS +=  artswavplayobject         0.0
SHARED_LIBS +=  gmcop                     1.0
SHARED_LIBS +=  kmedia2                   1.0
SHARED_LIBS +=  kmedia2_idl               1.0
SHARED_LIBS +=  mcop                      1.0
SHARED_LIBS +=  mcop_mt                   1.0
SHARED_LIBS +=  qtmcop                    1.0
SHARED_LIBS +=  soundserver_idl           1.0


do-configure: tde-cmake-rmbuild
	${TDE_CMAKE_CONFIGURE} \
		-DINCLUDE_INSTALL_DIR="${TDE_PREFIX}/include/tde/arts" \
		\
		-DWITH_ALSA=OFF \
		-DWITH_AUDIOFILE=ON \
		-DWITH_VORBIS=ON \
		-DWITH_MAD=ON \
		-DWITH_ESOUND=OFF \
		-DWITH_JACK=OFF \
		-DWITH_SNDIO=ON

do-build: tde-cmake-build

do-install: tde-cmake-install


.include <bsd.port.mk>