summaryrefslogtreecommitdiffstats
path: root/openbsd/14.0.0/dependencies/arts/Makefile
blob: d4b67fdf6e8798c0f41065ef932e653bc7f76381 (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
VERSION=		1.5.10
REVISION=		1
PKGNAME=		trinity-arts-${VERSION}
PREFIX=			${TDE_PREFIX}

CATEGORIES=		x11/trinity
COMMENT=		aRts (analog realtime synthesizer) - the TDE sound system

MASTER_SITES=	http://nuc.vtf/tde/tde-tarballs/14.0.0/main/dependencies/
DISTNAME=		trinity-arts-14.0.0~pre128+e39b3d2d
EXTRACT_SUFX=	.tar.gz

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

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

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

.include </usr/ports/x11/trinity/trinity.port.mk>

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>