summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/amarok/Makefile
blob: e4662d1082acedb3f1c7fdc94e64613eb944bce4 (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
# -*-mode: makefile-*-
# Created by: slavek.banko@axis.cz
# $FreeBSD$
#

.include <../../trinity.port.mk>

PORTNAME=		amarok-trinity
COMMENT=		Versatile and easy to use audio player for Trinity
TDE_PREVERSION=		~pre1+32c704dc
MASTER_SITE_SUBDIR=	a/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		audio x11
DIST_SUBDIR=		TDE/applications


BUILD_DEPENDS+=	${TDE_PREFIX}/lib/libartsc.so:${PORTSDIR}/x11/trinity/dependencies/arts \
		${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/tdelibs

LIB_DEPENDS+=	libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
		libdbus-tqt-1.so:${PORTSDIR}/x11/trinity/dependencies/dbus-tqt \

LIB_DEPENDS+=\
		libgpod.so:${PORTSDIR}/audio/libgpod \
		libmp4v2.so:${PORTSDIR}/multimedia/mp4v2 \
		libmtp.so:${PORTSDIR}/multimedia/libmtp \
		libnjb.so:${PORTSDIR}/audio/libnjb \
		libSDL.so:${PORTSDIR}/devel/sdl12 \
		libtag.so:${PORTSDIR}/audio/taglib \
		libvisual-0.4.so:${PORTSDIR}/graphics/libvisual04 \
		libxine.so:${PORTSDIR}/multimedia/libxine \

USE_MYSQL=		yes
USE_PGSQL=		yes
USE_SQLITE=		yes

USE_RUBY=		yes

# Build
post-patch: tde-pathfix

do-configure: tde-autotools-prepare
	${TDE_AUTOTOOLS_CONFIGURE} \
	--without-included-sqlite \
	--disable-final \
	--without-akode \
	--without-gstreamer10 \
	--without-libkarma \
	--without-ifp \
	--with-libgpod \
	--with-libnjb \
	--with-libmtp \
	--with-mp4v2 \
	--enable-mysql \
	--enable-postgresql \
	--with-yauap

do-build: tde-autotools-build

do-install: tde-autotools-install

.include <bsd.port.mk>