summaryrefslogtreecommitdiff
path: root/audio/lplayer
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-05 20:46:04 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-05 20:46:04 +0000
commit521e98088fcd52eeb71dbbb13a9afd1bc54f436d (patch)
treea497b2b14da3667b1be97a7368f0f0aa49b512d8 /audio/lplayer
parentAdd fpdf 1.53, a free PHP class to generate PDF files with pure PHP. (diff)
- Update to 1.0
PR: ports/79462 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=132590
Diffstat (limited to 'audio/lplayer')
-rw-r--r--audio/lplayer/Makefile20
-rw-r--r--audio/lplayer/distinfo4
-rw-r--r--audio/lplayer/files/patch-src::songaccess.h10
-rw-r--r--audio/lplayer/pkg-plist2
4 files changed, 25 insertions, 11 deletions
diff --git a/audio/lplayer/Makefile b/audio/lplayer/Makefile
index 6182cecbd85c..64e879d88838 100644
--- a/audio/lplayer/Makefile
+++ b/audio/lplayer/Makefile
@@ -8,19 +8,19 @@
#
PORTNAME= lplayer
-PORTVERSION= 0.99.3
+PORTVERSION= 1.0
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION}_src
-EXTRACT_SUFX= .tgz
+DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A QT program to queue lots of MP3s for random XMMS play
-LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
+LIB_DEPENDS= db_cxx-4.3.0:${PORTSDIR}/databases/db43 \
+ xmms.4:${PORTSDIR}/multimedia/xmms
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}
USE_QT_VER= 3
USE_REINPLACE= yes
@@ -32,11 +32,13 @@ CONFIGURE_ARGS= --with-xmms-prefix=${X11BASE} --with-xinerama \
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
+QTCPPFLAGS+= -I${LOCALBASE}/include/db43
+
post-patch:
- @${REINPLACE_CMD} -e 's|-pedantic||g ; \
- s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e \
- 's|#include "queue.h"||g' ${WRKSRC}/src/lpapp.cpp
+ @${REINPLACE_CMD} -e 's|-O2 ||g ; \
+ s|-pedantic ||g ; \
+ s|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|-ldb_cxx|-ldb_cxx-4.3|g' ${WRKSRC}/configure
post-install:
@${LN} -sf lplayer ${PREFIX}/bin/longplayer
diff --git a/audio/lplayer/distinfo b/audio/lplayer/distinfo
index efb7d3eb4ef9..bafedaf4288a 100644
--- a/audio/lplayer/distinfo
+++ b/audio/lplayer/distinfo
@@ -1,2 +1,2 @@
-MD5 (lplayer-0.99.3_src.tgz) = d7d965bae3cd6a14ee058bd386bc334c
-SIZE (lplayer-0.99.3_src.tgz) = 1352672
+MD5 (lplayer_1.0.tar.gz) = 9276e2912fff731ae1164e2dd5e5c62c
+SIZE (lplayer_1.0.tar.gz) = 1003170
diff --git a/audio/lplayer/files/patch-src::songaccess.h b/audio/lplayer/files/patch-src::songaccess.h
new file mode 100644
index 000000000000..0a7a0811d679
--- /dev/null
+++ b/audio/lplayer/files/patch-src::songaccess.h
@@ -0,0 +1,10 @@
+--- src/songaccess.h.orig Mon Jan 17 00:08:56 2005
++++ src/songaccess.h Thu Mar 31 19:52:57 2005
+@@ -58,7 +58,6 @@
+ void store(Song song);
+ void remove(string key);
+
+- using LPDatabaseReader::retrieve; //unhide retrieve(song)
+ /** looks up the song in the database */
+ Song retrieve(string key);
+
diff --git a/audio/lplayer/pkg-plist b/audio/lplayer/pkg-plist
index 45c104803106..f3862d761924 100644
--- a/audio/lplayer/pkg-plist
+++ b/audio/lplayer/pkg-plist
@@ -1,5 +1,6 @@
bin/longplayer
bin/lplayer
+%%DATADIR%%/images/add5.png
%%DATADIR%%/images/genre-disabled.png
%%DATADIR%%/images/genre.png
%%DATADIR%%/images/go.png
@@ -19,6 +20,7 @@ bin/lplayer
%%DATADIR%%/images/ratedown32.png
%%DATADIR%%/images/rateup.png
%%DATADIR%%/images/rateup32.png
+%%DATADIR%%/images/refresh.png
%%DATADIR%%/images/stop.png
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%