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

(-)audio/lplayer/Makefile (-37 / +14 lines)
Lines 8-18 Link Here
8
#
8
#
9
9
10
PORTNAME=	lplayer
10
PORTNAME=	lplayer
11
PORTVERSION=	0.98.2
11
PORTVERSION=	0.99.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}_src
16
EXTRACT_SUFX=	.tgz
16
EXTRACT_SUFX=	.tgz
17
17
18
MAINTAINER=	ports@FreeBSD.org
18
MAINTAINER=	ports@FreeBSD.org
Lines 20-62 Link Here
20
20
21
BUILD_DEPENDS=	xmms-config:${PORTSDIR}/multimedia/xmms
21
BUILD_DEPENDS=	xmms-config:${PORTSDIR}/multimedia/xmms
22
22
23
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
23
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
24
24
25
USE_QT_VER=	3
25
USE_QT_VER=	3
26
USE_REINPLACE=	yes
26
USE_REINPLACE=	yes
27
USE_GMAKE=	yes
27
USE_GMAKE=	yes
28
HAS_CONFIGURE=	yes
28
USE_LIBTOOL=	yes
29
MAKE_ENV+=	QTDIR=${QT_PREFIX}
29
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
30
CONFIGURE_ENV=	${MAKE_ENV}
30
CONFIGURE_ENV=	QTDIR="${QT_PREFIX}"
31
31
CONFIGURE_ARGS=	--with-xmms-prefix=${X11BASE} --with-xinerama
32
do-configure:
32
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
33
	cd ${WRKSRC}; \
33
		AUTOHEADER="${TRUE}"
34
	XMMSLIBS=$$(xmms-config --libs); \
34
35
	XMMSINCS=$$(xmms-config --cflags | sed 's|-I||g'); \
35
post-patch:
36
	${REINPLACE_CMD} -e "s|@X11BASE@|${X11BASE}|g" \
36
	@${REINPLACE_CMD} -e 's|-pedantic||g ; \
37
		-e "s|@LOCALBASE@|${LOCALBASE}|g" \
37
		 s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
38
		-e "s|@XMMSLIBS@|$$XMMSLIBS|" \
39
		-e "s|@XMMSINCS@|$$XMMSINCS|" lp.pro; \
40
	${SETENV} ${CONFIGURE_ENV} qmake -makefile -o Makefile -unix lp.pro
41
42
.include <bsd.port.pre.mk>
43
44
DOCS_SUBDIR=		${DOCSDIR:S|^${PREFIX}/||}
45
EXAMPLES_SUBDIR=	${EXAMPLESDIR:S|^${PREFIX}/||}
46
47
BINDIR=			${PREFIX}/bin
48
BIN_SUBDIR=		${BINDIR:S|^${PREFIX}/||}
49
LIBDIR=			${PREFIX}/lib
50
LIB_SUBDIR=		${LIBDIR:S|^${PREFIX}/||}
51
PKGLIBDIR=		${LIBDIR}/${PORTNAME}
52
PKGLIB_SUBDIR=		${PKGLIBDIR:S|^${PREFIX}/||}
53
54
do-install:
55
	${MKDIR} ${BINDIR} ${PKGLIBDIR}
56
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-bin ${PKGLIBDIR}
57
	${INSTALL_DATA} ${WRKSRC}/../gnu/lplayerdir/*.png ${PKGLIBDIR}
58
	${INSTALL_SCRIPT} ${FILESDIR}/lplayer ${BINDIR}
59
38
60
.include <bsd.port.post.mk>
39
.include <bsd.port.mk>
61
62
#EOF
(-)audio/lplayer/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (lplayer_0.98.2_src.tgz) = 95e74e891696f68fdf2cb5202bf159d8
1
MD5 (lplayer-0.99.0_src.tgz) = 5d627e8cd36fd8f809935d94e655636a
(-)audio/lplayer/files/lplayer (-41 lines)
Lines 1-41 Link Here
1
#!/bin/sh
2
# -*-mode: shell-script-*-
3
#
4
# lplayer
5
#
6
# 2002-12-16 Alan Eldridge <alane@freebsd.org>
7
#
8
9
run_lplayer() {
10
    ./lplayer-bin ${1:+"$@"} &
11
    exit 0
12
}
13
14
INFOPID=0
15
XDIALOG=/usr/X11R6/bin/Xdialog
16
if test -x $XDIALOG; then
17
    $XDIALOG --title LongPlayer --backtitle "Please wait ..." \
18
	--no-buttons --infobox "Backing up DB ..." 15 50 5000 &
19
    INFOPID=$!
20
fi # test -x $XDIALOG ...
21
22
DBFILE=$HOME/.lptable.lp2
23
PLISTS=$HOME/.lpplaylists.xml
24
SETTINGS=$HOME/.lpsettings.xml
25
SUFFIX=.save
26
LPLAYERDIR=/usr/local/lib/lplayer
27
28
for i in $DBFILE $PLISTS $SETTINGS; do
29
    if test -f $i; then
30
	test -f $i$SUFFIX && cmp -s $i $i$SUFFIX && continue
31
	rm -f $i$SUFFIX 2>/dev/null; cp -pf $i $i$SUFFIX
32
    fi
33
done
34
35
test $INFOPID -gt 0 && wait $INFOPID
36
37
cd $LPLAYERDIR
38
run_lplayer ${1:+"$@"} &
39
40
exit 0
41
#EOF
(-)audio/lplayer/files/patch-configure (+10 lines)
Line 0 Link Here
1
--- configure.orig	Mon Sep 22 04:09:00 2003
2
+++ configure	Wed Oct 22 01:14:43 2003
3
@@ -16408,6 +16408,7 @@
4
 
5
 # This can be used to rebuild libtool when needed
6
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
8
 
9
 # Always use our own libtool.
10
 LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
(-)audio/lplayer/files/patch-lp.pro (-14 lines)
Lines 1-14 Link Here
1
--- lp.pro.orig	Tue Jan 21 01:57:13 2003
2
+++ lp.pro	Sat Jun 14 20:08:02 2003
3
@@ -88,9 +88,8 @@
4
 #Qt only
5
 #==============================================================================
6
 #works most of the time
7
-TMAKE_LIBS      = -lxmms -L/sw/lib -lglib
8
-INCLUDEPATH     = /usr/include/xmms /usr/lib/glib/include /usr/include/glib-1.2\
9
-				/sw/include/xmms /sw/lib/glib/include /sw/include/glib-1.2 /sw/include/qt
10
+TMAKE_LIBS      = -L@X11BASE@/lib -L@LOCALBASE@/lib @XMMSLIBS@
11
+INCLUDEPATH     = @X11BASE@/include @LOCALBASE@/include @XMMSINCS@
12
 
13
 #mac os x using fink
14
 #TMAKE_LIBS      = -lxmms -L/sw/lib -lglib
(-)audio/lplayer/pkg-plist (-17 / +21 lines)
Lines 1-17 Link Here
1
bin/lplayer
1
bin/longplayer
2
lib/lplayer/go.png
2
bin/lplayer-bin
3
lib/lplayer/go32.png
3
share/lplayer/images/genre.png
4
lib/lplayer/lplayer-bin
4
share/lplayer/images/go.png
5
lib/lplayer/lplayericon.png
5
share/lplayer/images/go32.png
6
lib/lplayer/lplayerlogo.png
6
share/lplayer/images/lplayericon.png
7
lib/lplayer/lplayerlogo2.png
7
share/lplayer/images/lplayerlogo.png
8
lib/lplayer/lplayerlogo3.png
8
share/lplayer/images/lplayerlogo2.png
9
lib/lplayer/next.png
9
share/lplayer/images/lplayerlogo3.png
10
lib/lplayer/play.png
10
share/lplayer/images/next.png
11
lib/lplayer/previous.png
11
share/lplayer/images/play.png
12
lib/lplayer/ratedown.png
12
share/lplayer/images/playnow.png
13
lib/lplayer/ratedown32.png
13
share/lplayer/images/previous.png
14
lib/lplayer/rateup.png
14
share/lplayer/images/queue.png
15
lib/lplayer/rateup32.png
15
share/lplayer/images/ratedown.png
16
lib/lplayer/stop.png
16
share/lplayer/images/ratedown32.png
17
@dirrm lib/lplayer
17
share/lplayer/images/rateup.png
18
share/lplayer/images/rateup32.png
19
share/lplayer/images/stop.png
20
@dirrm share/lplayer/images
21
@dirrm share/lplayer

Return to bug 58379