apollo-1.4.1 ebuild, bug #8649
authorHannes Mehnert <hannes@gentoo.org>
Fri, 4 Oct 2002 20:25:59 +0000 (20:25 +0000)
committerHannes Mehnert <hannes@gentoo.org>
Fri, 4 Oct 2002 20:25:59 +0000 (20:25 +0000)
media-sound/apollo/ChangeLog
media-sound/apollo/apollo-1.4.1.ebuild [new file with mode: 0644]
media-sound/apollo/files/apollo-1.4.1.patch.bz2 [new file with mode: 0644]
media-sound/apollo/files/digest-apollo-1.4.1 [new file with mode: 0644]

index c77a6ba6d9f2d3e823528f1bf72a99810bf63829..4e9a427245570b935e2958cdadeff23353fc2aae 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for media-sound/apollo
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-sound/apollo/ChangeLog,v 1.2 2002/08/26 13:56:16 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/apollo/ChangeLog,v 1.3 2002/10/04 20:25:59 hannes Exp $
+
+*apollo-1.4.1 (04 Oct 2002)
+
+  04 Oct 2002; Hannes Mehnert <hannes@gentoo.org> apollo-1.4.1.ebuild,
+  ChangeLog, files/digest-apollo-1.4.1, files/apollo-1.4.1.patch.bz2 :
+
+  version bump, fixed ebuild, will hopefully close bug #8649
 
 *apollo-1.1.1-r1 (1 Feb 2002)
 
diff --git a/media-sound/apollo/apollo-1.4.1.ebuild b/media-sound/apollo/apollo-1.4.1.ebuild
new file mode 100644 (file)
index 0000000..244cb16
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/media-sound/apollo/apollo-1.4.1.ebuild,v 1.1 2002/10/04 20:25:59 hannes Exp $
+
+#inherit kde-base
+#use kde && inherit kde-base
+#need-kde 3
+
+S=${WORKDIR}/${P}-1
+DESCRIPTION="A Qt-based front-end to mpg123"
+SRC_URI="mirror://sourceforge/apolloplayer/apollo-src-1.4.1-1.tar.bz2"
+HOMEPAGE="http://www.apolloplayer.org"
+
+SLOT="2"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND="media-sound/mpg123
+       media-libs/id3lib
+       media-sound/mad
+       qt?             ( x11-libs/qt )
+       kde?    ( kde-base/kdelibs )"
+#      dev-libs/STLport
+
+src_unpack() {
+       cd ${WORKDIR}
+       unpack ${A}
+       cd ${S}
+       bzip2 -dc ${FILESDIR}/${P}.patch.bz2 | patch || die "Patch failed"
+       mv install.sh install.sh.orig
+       sed -e 's:$PREFIX/local:$PREFIX:g' -e 's:BINDIR=$dir::' \
+               install.sh.orig > install.sh
+}
+
+src_compile() {
+       local myconf
+       myconf="--without-kde"
+#      use kde && kdeconf="--with-kde=$KDEDIR" || kdeconf="--without-kde"
+       myconf="$myconf $kdeconf"
+       use qt && myconf="$myconf --with-qt-dir=$QTDIR --with-qmake" || myconf="$myconf --with-tmake"
+#      use stl && myconf="$myconf --with-stl" || myconf="$myconf --without-stl"
+#      use buffer && myconf="$myconf --enable-buffer" || myconf="$myconf --disable-buffer"
+#      use mad && myconf="$myconf --with-mad=/usr/lib"
+       myconf="$myconf --with-mad=/usr/lib"
+       ./configure.sh $myconf
+       gmake || die "Make failed"
+}
+
+src_install () {
+       dodir /usr/bin
+       sh install.sh --prefix=${D}/usr $kdeconf
+}
diff --git a/media-sound/apollo/files/apollo-1.4.1.patch.bz2 b/media-sound/apollo/files/apollo-1.4.1.patch.bz2
new file mode 100644 (file)
index 0000000..db5b97c
Binary files /dev/null and b/media-sound/apollo/files/apollo-1.4.1.patch.bz2 differ
diff --git a/media-sound/apollo/files/digest-apollo-1.4.1 b/media-sound/apollo/files/digest-apollo-1.4.1
new file mode 100644 (file)
index 0000000..95b5a4e
--- /dev/null
@@ -0,0 +1 @@
+MD5 9a2ba0930d084bb612f17f4f2ffb707b apollo-src-1.4.1-1.tar.bz2 176084