summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-04-01 06:24:47 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-04-01 06:24:47 +0000
commit6137c6463db8998f51e7b523c99043708f9f869d (patch)
treeae791e4b58b04a0dbd3e33ca0e9c7efd038d7f09 /media-sound/longplayer
parentadd description (diff)
downloadgentoo-2-6137c6463db8998f51e7b523c99043708f9f869d.tar.gz
gentoo-2-6137c6463db8998f51e7b523c99043708f9f869d.tar.bz2
gentoo-2-6137c6463db8998f51e7b523c99043708f9f869d.zip
Version bump already.
Diffstat (limited to 'media-sound/longplayer')
-rw-r--r--media-sound/longplayer/ChangeLog8
-rw-r--r--media-sound/longplayer/Manifest3
-rw-r--r--media-sound/longplayer/files/digest-longplayer-0.99.31
-rw-r--r--media-sound/longplayer/files/longplayer-0.99.3-gentoo.patch68
-rw-r--r--media-sound/longplayer/longplayer-0.99.3.ebuild50
5 files changed, 129 insertions, 1 deletions
diff --git a/media-sound/longplayer/ChangeLog b/media-sound/longplayer/ChangeLog
index 991315420ab9..dd0740dc6611 100644
--- a/media-sound/longplayer/ChangeLog
+++ b/media-sound/longplayer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/longplayer
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/longplayer/ChangeLog,v 1.1 2004/03/31 18:43:05 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/longplayer/ChangeLog,v 1.2 2004/04/01 06:24:47 eradicator Exp $
+
+*longplayer-0.99.3 (31 Mar 2004)
+
+ 31 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ longplayer-0.99.3.ebuild, files/longplayer-0.99.3-gentoo.patch:
+ Version bump already.
*longplayer-0.99.2 (31 Mar 2004)
diff --git a/media-sound/longplayer/Manifest b/media-sound/longplayer/Manifest
index a47895ad1d7e..a7c20819e83b 100644
--- a/media-sound/longplayer/Manifest
+++ b/media-sound/longplayer/Manifest
@@ -1,5 +1,8 @@
MD5 52b777f61f0203cfc9e2352b54a556ec longplayer-0.99.2.ebuild 1202
MD5 9f936674f0430911427cfdf138c653a1 ChangeLog 470
+MD5 52b777f61f0203cfc9e2352b54a556ec longplayer-0.99.3.ebuild 1202
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 f7b6a99c9f4d84b13528d7920d1081bd files/longplayer-0.99.2-gentoo.patch 2663
+MD5 52a613b3b558065c366e5f197753e617 files/longplayer-0.99.3-gentoo.patch 2608
MD5 a819deed9f561df692db6d72da7e27c4 files/digest-longplayer-0.99.2 68
+MD5 bb7969244a37d3e41a8474ca19ec3d2a files/digest-longplayer-0.99.3 68
diff --git a/media-sound/longplayer/files/digest-longplayer-0.99.3 b/media-sound/longplayer/files/digest-longplayer-0.99.3
new file mode 100644
index 000000000000..decbe7c4cf3d
--- /dev/null
+++ b/media-sound/longplayer/files/digest-longplayer-0.99.3
@@ -0,0 +1 @@
+MD5 d7d965bae3cd6a14ee058bd386bc334c lplayer-0.99.3_src.tgz 1352672
diff --git a/media-sound/longplayer/files/longplayer-0.99.3-gentoo.patch b/media-sound/longplayer/files/longplayer-0.99.3-gentoo.patch
new file mode 100644
index 000000000000..aea194e276a2
--- /dev/null
+++ b/media-sound/longplayer/files/longplayer-0.99.3-gentoo.patch
@@ -0,0 +1,68 @@
+diff -Naur lplayer-0.99.3.orig/configure.in.in lplayer-0.99.3/configure.in.in
+--- lplayer-0.99.3.orig/configure.in.in 2004-04-01 01:31:59.000000000 +0200
++++ lplayer-0.99.3/configure.in.in 2004-04-01 01:34:15.000000000 +0200
+@@ -19,16 +19,16 @@
+ [if test "$enableval" = yes; then
+ use_berkeleydb=yes
+ BERKELEYOBJS='lpberkeleydbreader.$(OBJEXT)'
++ BERKELEYLIBS='-ldb_cxx-4.1'
+ fi],
+ [])
+
+ if test "$use_berkeleydb" = yes; then
+- AC_CHECK_LIB([db_cxx], [main], [],
+- AC_MSG_ERROR([Berkeley DB library not found]))
+- AC_CHECK_HEADER([db_cxx.h],[],
++ AC_CHECK_HEADER([db4.1/db_cxx.h],[],
+ AC_MSG_ERROR([Berkeley DB includes not found]))
+ fi
+
+ AC_SUBST(BERKELEYOBJS)
++AC_SUBST(BERKELEYLIBS)
+
+ AC_CONFIG_FILES([src/longplayer])
+diff -Naur lplayer-0.99.3.orig/src/Makefile.am lplayer-0.99.3/src/Makefile.am
+--- lplayer-0.99.3.orig/src/Makefile.am 2004-04-01 01:31:58.000000000 +0200
++++ lplayer-0.99.3/src/Makefile.am 2004-04-01 01:35:35.000000000 +0200
+@@ -17,8 +17,8 @@
+ #lplayer_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(XMMS_LIBS)
+
+ # the libraries to link against.
+-lplayer_LDADD = @BERKELEYOBJS@ $(LIB_QT) $(LIB_X11)
+-lplayer_DEPENDENCIES = @BERKELEYOBJS@
++lplayer_LDADD = $(BERKELEYOBJS) $(BERKELEYLIBS) $(LIB_QT) $(LIB_X11)
++lplayer_DEPENDENCIES = $(BERKELEYOBJS)
+ # for kde...
+ #lplayer_LDADD = $(LIB_KFILE) $(LIB_KDEPRINT)
+
+diff -Naur lplayer-0.99.3.orig/src/Makefile.in lplayer-0.99.3/src/Makefile.in
+--- lplayer-0.99.3.orig/src/Makefile.in 2004-04-01 01:31:58.000000000 +0200
++++ lplayer-0.99.3/src/Makefile.in 2004-04-01 01:37:47.000000000 +0200
+@@ -48,6 +48,7 @@
+ AUTOMAKE = @AUTOMAKE@
+ AWK = @AWK@
+ BERKELEYOBJS = @BERKELEYOBJS@
++BERKELEYLIBS = @BERKELEYLIBS@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CFLAGS = @CFLAGS@
+@@ -213,8 +214,8 @@
+ #lplayer_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(XMMS_LIBS)
+
+ # the libraries to link against.
+-lplayer_LDADD = @BERKELEYOBJS@ $(LIB_QT) $(LIB_X11)
+-lplayer_DEPENDENCIES = @BERKELEYOBJS@
++lplayer_LDADD = $(BERKELEYOBJS) $(BERKELEYLIBS) $(LIB_QT) $(LIB_X11)
++lplayer_DEPENDENCIES = $(BERKELEYOBJS)
+
+ # for kde...
+ #lplayer_LDADD = $(LIB_KFILE) $(LIB_KDEPRINT)
+diff -Naur lplayer-0.99.3.orig/src/lpberkeleydbreader.cpp lplayer-0.99.3/src/lpberkeleydbreader.cpp
+--- lplayer-0.99.3.orig/src/lpberkeleydbreader.cpp 2004-04-01 01:31:58.000000000 +0200
++++ lplayer-0.99.3/src/lpberkeleydbreader.cpp 2004-04-01 01:38:26.000000000 +0200
+@@ -1,4 +1,4 @@
+-#include <db_cxx.h>
++#include <db4.1/db_cxx.h>
+ #include <cstring>
+ #include <iostream>//FIXME: temporary
+ #include <sstream>
diff --git a/media-sound/longplayer/longplayer-0.99.3.ebuild b/media-sound/longplayer/longplayer-0.99.3.ebuild
new file mode 100644
index 000000000000..90cc18723563
--- /dev/null
+++ b/media-sound/longplayer/longplayer-0.99.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/longplayer/longplayer-0.99.3.ebuild,v 1.1 2004/04/01 06:24:47 eradicator Exp $
+
+inherit eutils kde
+
+IUSE="berkdb"
+MY_P=${P/longplayer/lplayer}
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="A MP3 jukebox especially for large collections, with rating support for single songs"
+HOMEPAGE="http://lplayer.sourceforge.net"
+SRC_URI="mirror://sourceforge/lplayer/${MY_P}_src.tgz"
+RESTRICT="nomirror"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+RDEPEND="x11-libs/qt
+ media-sound/xmms
+ berkdb? ( =sys-libs/db-4.1* )"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/automake-1.7.8
+ >=sys-devel/autoconf-2.58"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+
+ cd ${S}
+ export WANT_AUTOCONF=2.5
+ export WANT_AUTOMAKE=1.7
+ sh admin/cvs.sh configure.in || die
+ aclocal || die
+ autoconf || die
+}
+
+src_compile() {
+ addwrite "${QTDIR}/etc/settings"
+
+ econf `use_enable berkdb berkeleydb` || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ einstall || dir "einstall failed"
+ dodoc AUTHORS BUGS COPYING FAQ ChangeLog INSTALL NEWS README TODO
+}