summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-06-29 14:28:03 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-06-29 14:28:03 +0000
commit2b476c949b9d2e2a4b949c37e8213840a0145e4b (patch)
treef0442c4a3ca81d06f41e0d30801e86a448b87c82 /app-cdr/cdrdao
parentFix crash at startup (diff)
downloadgentoo-2-2b476c949b9d2e2a4b949c37e8213840a0145e4b.tar.gz
gentoo-2-2b476c949b9d2e2a4b949c37e8213840a0145e4b.tar.bz2
gentoo-2-2b476c949b9d2e2a4b949c37e8213840a0145e4b.zip
closes #23384
Diffstat (limited to 'app-cdr/cdrdao')
-rw-r--r--app-cdr/cdrdao/ChangeLog7
-rw-r--r--app-cdr/cdrdao/Manifest2
-rw-r--r--app-cdr/cdrdao/cdrdao-1.1.7-r2.ebuild109
-rw-r--r--app-cdr/cdrdao/files/cdrdao-1.1.7-r2-mp32dao-gentoo.diff23
-rw-r--r--app-cdr/cdrdao/files/digest-cdrdao-1.1.7-r21
5 files changed, 141 insertions, 1 deletions
diff --git a/app-cdr/cdrdao/ChangeLog b/app-cdr/cdrdao/ChangeLog
index 79e32f8162f2..460341fe21c8 100644
--- a/app-cdr/cdrdao/ChangeLog
+++ b/app-cdr/cdrdao/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-cdr/cdrdao
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/ChangeLog,v 1.18 2003/06/21 00:11:14 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/ChangeLog,v 1.19 2003/06/29 14:28:03 aliz Exp $
+
+*cdrdao-1.1.7-r2 (29 Jun 2003)
+
+ 29 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> cdrda-1.1.7-r2.ebuild :
+ Build against libs from cdrtools. Closes #23384.
21 Jun 2003; Alastair Tse <liquidx@gentoo.org> cdrdao-1.1.5-r1.ebuild,
cdrdao-1.1.7-r1.ebuild, cdrdao-1.1.7.ebuild:
diff --git a/app-cdr/cdrdao/Manifest b/app-cdr/cdrdao/Manifest
index 8a7ad68506e4..72abbaa054d7 100644
--- a/app-cdr/cdrdao/Manifest
+++ b/app-cdr/cdrdao/Manifest
@@ -2,9 +2,11 @@ MD5 202991f416cfea7ebe9668bd83e63a35 ChangeLog 2483
MD5 133ad0c265f6dc96238543f1e3689191 cdrdao-1.1.5-r1.ebuild 2551
MD5 40cec3afc5b6744c474107760a3942cb cdrdao-1.1.7-r1.ebuild 3073
MD5 3d2b616fe24d4be887c1ac891e12646a cdrdao-1.1.7.ebuild 1923
+MD5 55218b249d843c2d623108702f691add cdrdao-1.1.7-r2.ebuild 3172
MD5 3ea011fa1308fc478529300a80443aab files/cdrdao-1.1.5-c++.patch 1622
MD5 3a9cce439930ba175e84bf2b82c61df5 files/cdrdao-1.1.5-gentoo.diff 19479
MD5 a7dc4823c3a7d7582f9b87afdddb51e0 files/cdrdao-1.1.7-r1-mp32dao-gentoo.diff 779
MD5 229f6c96b696fe6251ce03abde9e3bbf files/digest-cdrdao-1.1.5-r1 68
MD5 e21496bf5b1e2efcd09be0b16241b165 files/digest-cdrdao-1.1.7 69
MD5 e21496bf5b1e2efcd09be0b16241b165 files/digest-cdrdao-1.1.7-r1 69
+MD5 e21496bf5b1e2efcd09be0b16241b165 files/digest-cdrdao-1.1.7-r2 69
diff --git a/app-cdr/cdrdao/cdrdao-1.1.7-r2.ebuild b/app-cdr/cdrdao/cdrdao-1.1.7-r2.ebuild
new file mode 100644
index 000000000000..ba7c993413d4
--- /dev/null
+++ b/app-cdr/cdrdao/cdrdao-1.1.7-r2.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.1.7-r2.ebuild,v 1.1 2003/06/29 14:28:03 aliz Exp $
+
+inherit flag-o-matic
+
+IUSE="gnome oggvorbis"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend"
+SRC_URI="mirror://sourceforge/cdrdao/${P}.src.tar.gz"
+HOMEPAGE="http://cdrdao.sourceforge.net/"
+SLOT="0"
+LICENSE="GPL-2"
+RDEPEND="gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1
+ >=dev-cpp/gnomemm-1.2.2 )
+ dev-perl/MP3-Info
+ dev-perl/Audio-Wav
+ dev-perl/Audio-Tools
+ >=app-cdr/cdrtools-2.01_alpha16
+ >=sys-apps/sed-4"
+
+DEPEND=">=dev-util/pccts-1.33.24-r1
+ ${RDEPEND}"
+
+KEYWORDS="~x86 ~ppc ~sparc alpha"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PF}-mp32dao-gentoo.diff
+
+ if [ ! "`use oggvorbis`" ]; then
+ cd ${S}/contrib/mp32dao
+ sed -i '22s/^/#/' MediaHandler.pm
+ fi
+}
+
+src_compile() {
+ local mygnome=""
+
+ if [ "`use gnome`" ] ; then
+ mygnome=" --with-gnome"
+ append-flags $( /usr/bin/gtkmm-config --cflags ) -fno-exceptions
+ fi
+
+ # -funroll-loops do not work
+ filter-flags "-funroll-loops"
+
+ ./configure "${mygnome}" \
+ --prefix=/usr \
+ --build="${CHOST}"\
+ --host="${CHOST}" \
+ --with-scglib-inc=/usr/include/scsilib \
+ --with-scglib-lib=/usr/lib
+
+ emake || die
+}
+
+src_install() {
+ # mp32dao.pl
+ dobin contrib/mp32dao/mp32dao.pl
+ insinto /usr/share/cdrdao/mp32dao
+ doins contrib/mp32dao/MediaHandler.pm contrib/mp32dao/mp3handler.pm \
+ contrib/mp32dao/BaseInfo.pm
+ use oggvorbis && doins contrib/mp32dao/ogghandler.pm
+
+ # cdrdao gets definitely installed
+ # binary
+ dobin dao/cdrdao
+
+ # data of cdrdao in /usr/share/cdrdao/
+ # (right now only driverlist)
+ insinto /usr/share/cdrdao
+ newins dao/cdrdao.drivers drivers
+
+ # man page
+ into /usr
+ newman dao/cdrdao.man cdrdao.1
+
+ # documentation
+ docinto ""
+ dodoc COPYING CREDITS INSTALL README* Release*
+
+
+ # and now the optional GNOME frontend
+ if [ "`use gnome`" ]
+ then
+
+ # binary
+ into /usr
+ dobin xdao/gcdmaster
+
+ # pixmaps for gcdmaster in /usr/share/pixmaps/gcdmaster
+ insinto /usr/share/pixmaps/gcdmaster
+ doins xdao/*.png xdao/*.xpm
+
+ # application links
+ # gcdmaster.desktop in /usr/share/gnome/apps/Applications
+ insinto /usr/share/gnome/apps/Applications
+ doins xdao/gcdmaster.desktop
+
+ # xcdrdao.1 renamed to gcdmaster.1 in /usr/share/man/man1/
+ into /usr
+ newman xdao/xcdrdao.man gcdmaster.1
+ fi
+}
+
diff --git a/app-cdr/cdrdao/files/cdrdao-1.1.7-r2-mp32dao-gentoo.diff b/app-cdr/cdrdao/files/cdrdao-1.1.7-r2-mp32dao-gentoo.diff
new file mode 100644
index 000000000000..96d58beb6aa5
--- /dev/null
+++ b/app-cdr/cdrdao/files/cdrdao-1.1.7-r2-mp32dao-gentoo.diff
@@ -0,0 +1,23 @@
+--- contrib/mp32dao/MediaHandler.pm 2002-10-30 11:29:05.000000000 +0100
++++ contrib/mp32dao/MediaHandler.pm 2002-10-30 11:45:28.000000000 +0100
+@@ -16,6 +16,7 @@
+ #Copyright 2001 Giuseppe Corbelli - cowo@lugbs.linux.it
+ #builds a list of handlers for all mediafiles in a directory
+
++use lib '/usr/share/cdrdao/mp32dao';
+ package MediaHandler;
+ require mp3handler;
+ require ogghandler;
+
+--- contrib/mp32dao/mp32dao.pl 2002-10-30 11:04:26.000000000 +0100
++++ contrib/mp32dao/mp32dao.pl 2002-10-30 11:47:07.000000000 +0100
+@@ -19,6 +19,7 @@
+ #Support for cdrecord: builds .inf files
+ #Giuseppe Corbelli <cowo@lugbs.linux.it>
+ #Original code by Joe Steward <mp32dao@httptech.com>
++use lib '/usr/share/cdrdao/mp32dao';
+ use FindBin;
+ use lib $FindBin::Bin;
+ use Cwd;
+
+
diff --git a/app-cdr/cdrdao/files/digest-cdrdao-1.1.7-r2 b/app-cdr/cdrdao/files/digest-cdrdao-1.1.7-r2
new file mode 100644
index 000000000000..3d4e147be05c
--- /dev/null
+++ b/app-cdr/cdrdao/files/digest-cdrdao-1.1.7-r2
@@ -0,0 +1 @@
+MD5 766a534137f2c6e99ab771e3178793f8 cdrdao-1.1.7.src.tar.gz 1433366