View | Details | Raw Unified | Return to bug 165760
Collapse All | Expand All

(-)juk/Makefile (-13 / +3 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	juk
8
PORTNAME=	juk
9
PORTVERSION=	${KDE_VERSION}
9
PORTVERSION=	${KDE_VERSION}
10
PORTREVISION=	5
10
PORTREVISION=	6
11
CATEGORIES=	audio kde
11
CATEGORIES=	audio kde
12
MASTER_SITES=	${MASTER_SITE_KDE}
12
MASTER_SITES=	${MASTER_SITE_KDE}
13
MASTER_SITE_SUBDIR=	stable/${PORTVERSION:S/.0//}/src
13
MASTER_SITE_SUBDIR=	stable/${PORTVERSION:S/.0//}/src
Lines 19-27 Link Here
19
COMMENT=	KDE audio player
19
COMMENT=	KDE audio player
20
20
21
LIB_DEPENDS=	akode:${PORTSDIR}/audio/akode \
21
LIB_DEPENDS=	akode:${PORTSDIR}/audio/akode \
22
		musicbrainz:${PORTSDIR}/audio/libmusicbrainz \
22
		tag:${PORTSDIR}/audio/taglib
23
		tag:${PORTSDIR}/audio/taglib \
24
		tunepimp-0.4.3:${PORTSDIR}/audio/libtunepimp-old
25
23
26
CONFLICTS=	kdemultimedia-3.3*
24
CONFLICTS=	kdemultimedia-3.3*
27
25
Lines 35-42 Link Here
35
USE_GMAKE=	yes
33
USE_GMAKE=	yes
36
WRKSRC=		${WRKDIR}/kdemultimedia-${PORTVERSION}
34
WRKSRC=		${WRKDIR}/kdemultimedia-${PORTVERSION}
37
USE_LDCONFIG=	yes
35
USE_LDCONFIG=	yes
38
CONFIGURE_ARGS+=CFLAGS=-I${LOCALBASE}/include/tunepimp-0.4 \
36
CONFIGURE_ARGS=	--without-musicbrainz
39
		LDFLAGS=-L${LOCALBASE}/lib/tunepimp-0.4
40
37
41
WANT_GSTREAMER=	yes
38
WANT_GSTREAMER=	yes
42
39
Lines 58-70 Link Here
58
	@${ECHO_MSG}
55
	@${ECHO_MSG}
59
.endif
56
.endif
60
57
61
post-patch:
62
	@${REINPLACE_CMD} -e 's|LIBS="-ltunepimp  $$LIBS"|LIBS="-ltunepimp -liconv $$LIBS"|g' \
63
		${WRKSRC}/configure
64
	@${REINPLACE_CMD} -e 's|-ltunepimp|-ltunepimp-0.4|g' \
65
			-e 's|<tunepimp/tp_c.h>|<tunepimp-0.4/tunepimp/tp_c.h>|g' \
66
		${WRKSRC}/configure ${WRKSRC}/juk/ktrm.cpp ${WRKSRC}/juk/Makefile.in
67
68
do-build:
58
do-build:
69
	cd ${WRKSRC}/arts/runtime && ${SETENV} ${MAKE_ENV} ${GMAKE}
59
	cd ${WRKSRC}/arts/runtime && ${SETENV} ${MAKE_ENV} ${GMAKE}
70
	cd ${WRKSRC}/juk && ${SETENV} ${MAKE_ENV} ${GMAKE}
60
	cd ${WRKSRC}/juk && ${SETENV} ${MAKE_ENV} ${GMAKE}

Return to bug 165760