summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2003-01-01 15:04:51 +0000
committerAlan Eldridge <alane@FreeBSD.org>2003-01-01 15:04:51 +0000
commite3da4f34322f9f37c382f66035ca87f6ae9e5d88 (patch)
treef74b4424424eb058bc4ddfc0a9d7446f9d99dcfb /audio
parentShould auld releases be forgot, (diff)
A long player, random picking front end to xmms. Uses QT3.
Notes
Notes: svn path=/head/; revision=72006
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/lplayer/Makefile60
-rw-r--r--audio/lplayer/distinfo1
-rw-r--r--audio/lplayer/files/lplayer41
-rw-r--r--audio/lplayer/files/patch-lp.pro14
-rw-r--r--audio/lplayer/pkg-comment1
-rw-r--r--audio/lplayer/pkg-descr6
-rw-r--r--audio/lplayer/pkg-plist17
8 files changed, 141 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index cff9dea03811..d6593d03ebe7 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -125,6 +125,7 @@
SUBDIR += linux-libaudiofile
SUBDIR += linux-vsound
SUBDIR += lopster
+ SUBDIR += lplayer
SUBDIR += mad
SUBDIR += maplay
SUBDIR += mhwaveedit
diff --git a/audio/lplayer/Makefile b/audio/lplayer/Makefile
new file mode 100644
index 000000000000..3d08b131fabb
--- /dev/null
+++ b/audio/lplayer/Makefile
@@ -0,0 +1,60 @@
+# ex:ts=8 -*-mode: makefile-*-
+#
+# New ports collection makefile for: longplayer
+# Date created: 2002-12-16
+# Whom: Alan Eldridge <alane@geeksrus.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lplayer
+PORTVERSION= 0.98.1
+PORTREVISION= 0
+#PORTEPOCH=
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION}_src
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= alane@FreeBSD.org
+
+USE_QT_VER= 3
+USE_GMAKE= yes
+USE_REINPLACE= yes
+HAS_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
+MAKE_ENV+= QTDIR=${QT_PREFIX}
+CONFIGURE_ENV= ${MAKE_ENV}
+
+do-configure:
+ cd ${WRKSRC}; \
+ XMMSLIBS=$$(xmms-config --libs); \
+ XMMSINCS=$$(xmms-config --cflags | sed 's|-I||g'); \
+ ${REINPLACE_CMD} -e "s|@X11BASE@|${X11BASE}|g" \
+ -e "s|@LOCALBASE@|${LOCALBASE}|g" \
+ -e "s|@XMMSLIBS@|$$XMMSLIBS|" \
+ -e "s|@XMMSINCS@|$$XMMSINCS|" lp.pro; \
+ ${SETENV} ${CONFIGURE_ENV} qmake -makefile -o Makefile -unix lp.pro
+
+.include <bsd.port.pre.mk>
+
+DOCS_SUBDIR= ${DOCSDIR:S|^${PREFIX}/||}
+EXAMPLES_SUBDIR= ${EXAMPLESDIR:S|^${PREFIX}/||}
+
+BINDIR= ${PREFIX}/bin
+BIN_SUBDIR= ${BINDIR:S|^${PREFIX}/||}
+LIBDIR= ${PREFIX}/lib
+LIB_SUBDIR= ${LIBDIR:S|^${PREFIX}/||}
+PKGLIBDIR= ${LIBDIR}/${PORTNAME}
+PKGLIB_SUBDIR= ${PKGLIBDIR:S|^${PREFIX}/||}
+
+do-install:
+ ${MKDIR} ${BINDIR} ${PKGLIBDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-bin ${PKGLIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../gnu/lplayerdir/*.png ${PKGLIBDIR}
+ ${INSTALL_SCRIPT} ${FILESDIR}/lplayer ${BINDIR}
+
+.include <bsd.port.post.mk>
+
+#EOF
diff --git a/audio/lplayer/distinfo b/audio/lplayer/distinfo
new file mode 100644
index 000000000000..b7be9af0022b
--- /dev/null
+++ b/audio/lplayer/distinfo
@@ -0,0 +1 @@
+MD5 (lplayer_0.98.1_src.tgz) = 9b6549068ff8af469d266bebbae7fb6c
diff --git a/audio/lplayer/files/lplayer b/audio/lplayer/files/lplayer
new file mode 100644
index 000000000000..48d3a8f3b3d1
--- /dev/null
+++ b/audio/lplayer/files/lplayer
@@ -0,0 +1,41 @@
+#!/bin/sh
+# -*-mode: shell-script-*-
+#
+# lplayer
+#
+# 2002-12-16 Alan Eldridge <alane@freebsd.org>
+#
+
+run_lplayer() {
+ ./lplayer-bin ${1:+"$@"} &
+ exit 0
+}
+
+INFOPID=0
+XDIALOG=/usr/X11R6/bin/Xdialog
+if test -x $XDIALOG; then
+ $XDIALOG --title LongPlayer --backtitle "Please wait ..." \
+ --no-buttons --infobox "Backing up DB ..." 15 50 5000 &
+ INFOPID=$!
+fi # test -x $XDIALOG ...
+
+DBFILE=$HOME/.lptable.lp2
+PLISTS=$HOME/.lpplaylists.xml
+SETTINGS=$HOME/.lpsettings.xml
+SUFFIX=.save
+LPLAYERDIR=/usr/local/lib/lplayer
+
+for i in $DBFILE $PLISTS $SETTINGS; do
+ if test -f $i; then
+ test -f $i$SUFFIX && cmp -s $i $i$SUFFIX && continue
+ rm -f $i$SUFFIX 2>/dev/null; cp -pf $i $i$SUFFIX
+ fi
+done
+
+test $INFOPID -gt 0 && wait $INFOPID
+
+cd $LPLAYERDIR
+run_lplayer ${1:+"$@"} &
+
+exit 0
+#EOF
diff --git a/audio/lplayer/files/patch-lp.pro b/audio/lplayer/files/patch-lp.pro
new file mode 100644
index 000000000000..fb07fa41e5b0
--- /dev/null
+++ b/audio/lplayer/files/patch-lp.pro
@@ -0,0 +1,14 @@
+--- lp.pro.orig Wed Nov 13 05:39:16 2002
++++ lp.pro Mon Dec 16 06:31:17 2002
+@@ -82,9 +82,8 @@
+ #Qt only
+ #==============================================================================
+ #works most of the time
+-TMAKE_LIBS = -lxmms -L/sw/lib -lglib
+-INCLUDEPATH = /usr/include/xmms /usr/lib/glib/include /usr/include/glib-1.2\
+- /sw/include/xmms /sw/lib/glib/include /sw/include/glib-1.2
++TMAKE_LIBS = -L@X11BASE@/lib -L@LOCALBASE@/lib @XMMSLIBS@
++INCLUDEPATH = @X11BASE@/include @X11BASE@/include @XMMSINCS@
+
+ #mac os x using fink
+ #TMAKE_LIBS = -lxmms -L/sw/lib -lglib
diff --git a/audio/lplayer/pkg-comment b/audio/lplayer/pkg-comment
new file mode 100644
index 000000000000..c3184ba3b5dc
--- /dev/null
+++ b/audio/lplayer/pkg-comment
@@ -0,0 +1 @@
+A QT program to queue lots of MP3s for random XMMS play
diff --git a/audio/lplayer/pkg-descr b/audio/lplayer/pkg-descr
new file mode 100644
index 000000000000..133a63335580
--- /dev/null
+++ b/audio/lplayer/pkg-descr
@@ -0,0 +1,6 @@
+Longplayer is a QT program to queue lots of MP3s for random XMMS play.
+According to the web page, it's "a matter of outqueuing them...".
+
+WWW: http://lplayer.sourceforge.net/
+
+-- AlanE <alane@freebsd.org>
diff --git a/audio/lplayer/pkg-plist b/audio/lplayer/pkg-plist
new file mode 100644
index 000000000000..c2a33bd36f2a
--- /dev/null
+++ b/audio/lplayer/pkg-plist
@@ -0,0 +1,17 @@
+bin/lplayer
+lib/lplayer/go.png
+lib/lplayer/go32.png
+lib/lplayer/lplayer-bin
+lib/lplayer/lplayericon.png
+lib/lplayer/lplayerlogo.png
+lib/lplayer/lplayerlogo2.png
+lib/lplayer/lplayerlogo3.png
+lib/lplayer/next.png
+lib/lplayer/play.png
+lib/lplayer/previous.png
+lib/lplayer/ratedown.png
+lib/lplayer/ratedown32.png
+lib/lplayer/rateup.png
+lib/lplayer/rateup32.png
+lib/lplayer/stop.png
+@dirrm lib/lplayer