summaryrefslogtreecommitdiffstats
path: root/openbsd/tdemultimedia/Makefile
blob: 3ea7adeb43409ae5c855e5b21ce0a43f6a8ea1ca (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.include </usr/ports/x11/trinity/trinity.port.mk>

PKGNAME=		trinity-tdemultimedia-${VERSION}
VERSION=		${TDE_VERSION}${PREVERSION}
PREVERSION=		

COMMENT=		Trinity Desktop Environment, multimedia applications
CATEGORIES=		x11/trinity
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/
DISTNAME=		tdemultimedia-R${TDE_VERSION}${PREVERSION}
EXTRACT_SUFX=	.tar.bz2
WRKDIST=		${WRKDIR}/tdemultimedia

PREFIX=			${TDE_PREFIX}

LIB_DEPENDS =	x11/trinity/tdelibs \
		x11/trinity/dependencies/arts \
		audio/libogg \
		audio/flac \
		audio/libvorbis \
		audio/lame \
		audio/cdparanoia \
		audio/taglib \
		audio/mpg123 \
		gstreamer->=0.10,<0.11:multimedia/gstreamer-0.10/core \
		devel/libtool,-ltdl \
		multimedia/libtheora \
		audio/akode \
		multimedia/xine-lib

RUN_DEPENDS =	graphics/xanim \
		devel/desktop-file-utils \
		x11/gtk+2,-guic

SEPARATE_BUILD =	flavored
CONFIGURE_ENV +=	aktion_has_xanim=yes

WANTLIB += FLAC>=8 GL ICE SM X11 Xcursor Xdamage Xext Xfixes Xft Xi
WANTLIB += Xinerama Xmu Xrandr Xrender Xt Xv Xxf86dga Xxf86vm akode
WANTLIB += avutil c cdda_interface cdda_paranoia
WANTLIB += drm expat ffi fontconfig freetype glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gstreamer-0.10 gthread-2.0 jpeg lcms
WANTLIB += ltdl m mad mng ogg ossaudio pcre
WANTLIB += pcreposix png pthread sndio stdc++ tag theora util
WANTLIB += vorbis vorbisenc vorbisfile xcb xine xml2 z

SHARED_LIBS +=  arts_akode                0.0
SHARED_LIBS +=  arts_audiofile            0.0
SHARED_LIBS +=  arts_xine                 0.0
SHARED_LIBS +=  artsbuilder               0.0
SHARED_LIBS +=  artsgui                   0.0
SHARED_LIBS +=  artsgui_idl               0.0
SHARED_LIBS +=  artsgui_kde               0.0
SHARED_LIBS +=  artsmidi                  0.0
SHARED_LIBS +=  artsmidi_idl              0.0
SHARED_LIBS +=  audiocdplugins            1.0
SHARED_LIBS +=  kcddb                     1.0
SHARED_LIBS +=  noatun                    3.0
SHARED_LIBS +=  noatuncontrols            3.0
SHARED_LIBS +=  noatuntags                3.0
SHARED_LIBS +=  tdemidlib                 0.0
SHARED_LIBS +=  arts_mpeglib-0.3.0        0.3
SHARED_LIBS +=  arts_mpeglib              0.3
SHARED_LIBS +=  arts_splay                0.0

do-configure: tde-autotools-prepare
	${TDE_AUTOTOOLS_CONFIGURE} \
		--with-arts \
		--with-cdparanoia \
		--with-flac \
		--with-theora \
		--with-vorbis \
		--with-gstreamer \
		--with-lame \
		--with-akode \
		--without-musicbrainz \
		--with-taglib \
		--with-xine

do-build: tde-autotools-build

do-install: tde-autotools-install

.include <bsd.port.mk>