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

(-)audio/lplayer/Makefile (-9 / +11 lines)
Lines 8-26 Link Here
8
#
8
#
9
9
10
PORTNAME=	lplayer
10
PORTNAME=	lplayer
11
PORTVERSION=	0.99.3
11
PORTVERSION=	1.0
12
CATEGORIES=	audio
12
CATEGORIES=	audio
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
15
DISTNAME=	${PORTNAME}-${PORTVERSION}_src
15
DISTNAME=	${PORTNAME}_${PORTVERSION}
16
EXTRACT_SUFX=	.tgz
17
16
18
MAINTAINER=	ports@FreeBSD.org
17
MAINTAINER=	ports@FreeBSD.org
19
COMMENT=	A QT program to queue lots of MP3s for random XMMS play
18
COMMENT=	A QT program to queue lots of MP3s for random XMMS play
20
19
21
LIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms
20
LIB_DEPENDS=	db_cxx-4.3.0:${PORTSDIR}/databases/db43 \
21
		xmms.4:${PORTSDIR}/multimedia/xmms
22
22
23
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
23
WRKSRC=		${WRKDIR}/${PORTNAME}
24
24
25
USE_QT_VER=	3
25
USE_QT_VER=	3
26
USE_REINPLACE=	yes
26
USE_REINPLACE=	yes
Lines 32-42 Link Here
32
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
32
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
33
		AUTOHEADER="${TRUE}"
33
		AUTOHEADER="${TRUE}"
34
34
35
QTCPPFLAGS+=	-I${LOCALBASE}/include/db43
36
35
post-patch:
37
post-patch:
36
	@${REINPLACE_CMD} -e 's|-pedantic||g ; \
38
	@${REINPLACE_CMD} -e 's|-O2 ||g ; \
37
		 s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
39
		 s|-pedantic ||g ; \
38
	@${REINPLACE_CMD} -e \
40
		 s|-lpthread|${PTHREAD_LIBS}|g ; \
39
		's|#include "queue.h"||g' ${WRKSRC}/src/lpapp.cpp
41
		 s|-ldb_cxx|-ldb_cxx-4.3|g' ${WRKSRC}/configure
40
42
41
post-install:
43
post-install:
42
	@${LN} -sf lplayer ${PREFIX}/bin/longplayer
44
	@${LN} -sf lplayer ${PREFIX}/bin/longplayer
(-)audio/lplayer/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (lplayer-0.99.3_src.tgz) = d7d965bae3cd6a14ee058bd386bc334c
1
MD5 (lplayer_1.0.tar.gz) = 9276e2912fff731ae1164e2dd5e5c62c
2
SIZE (lplayer-0.99.3_src.tgz) = 1352672
2
SIZE (lplayer_1.0.tar.gz) = 1003170
(-)audio/lplayer/files/patch-src::songaccess.h (+10 lines)
Line 0 Link Here
1
--- src/songaccess.h.orig	Mon Jan 17 00:08:56 2005
2
+++ src/songaccess.h	Thu Mar 31 19:52:57 2005
3
@@ -58,7 +58,6 @@
4
 	void store(Song song);
5
 	void remove(string key);
6
 
7
-	using LPDatabaseReader::retrieve; //unhide retrieve(song)
8
 	/** looks up the song in the database */
9
 	Song retrieve(string key);
10
 
(-)audio/lplayer/pkg-plist (+2 lines)
Lines 1-5 Link Here
1
bin/longplayer
1
bin/longplayer
2
bin/lplayer
2
bin/lplayer
3
%%DATADIR%%/images/add5.png
3
%%DATADIR%%/images/genre-disabled.png
4
%%DATADIR%%/images/genre-disabled.png
4
%%DATADIR%%/images/genre.png
5
%%DATADIR%%/images/genre.png
5
%%DATADIR%%/images/go.png
6
%%DATADIR%%/images/go.png
Lines 19-24 Link Here
19
%%DATADIR%%/images/ratedown32.png
20
%%DATADIR%%/images/ratedown32.png
20
%%DATADIR%%/images/rateup.png
21
%%DATADIR%%/images/rateup.png
21
%%DATADIR%%/images/rateup32.png
22
%%DATADIR%%/images/rateup32.png
23
%%DATADIR%%/images/refresh.png
22
%%DATADIR%%/images/stop.png
24
%%DATADIR%%/images/stop.png
23
@dirrm %%DATADIR%%/images
25
@dirrm %%DATADIR%%/images
24
@dirrm %%DATADIR%%
26
@dirrm %%DATADIR%%

Return to bug 79462