New version
authorMarinus Schraal <foser@gentoo.org>
Sat, 12 Oct 2002 18:28:55 +0000 (18:28 +0000)
committerMarinus Schraal <foser@gentoo.org>
Sat, 12 Oct 2002 18:28:55 +0000 (18:28 +0000)
app-cdr/cdrdao/ChangeLog
app-cdr/cdrdao/cdrdao-1.1.7.ebuild [new file with mode: 0644]
app-cdr/cdrdao/files/digest-cdrdao-1.1.7 [new file with mode: 0644]

index 45cf3a34f5fe484fb7c0347a6543237234ead2b5..4c8e3cb70def5cee61abc48db39f816ef561a2a2 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-cdr/cdrdao
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/ChangeLog,v 1.7 2002/09/15 19:17:09 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/ChangeLog,v 1.8 2002/10/12 18:28:55 foser Exp $
+
+*cdrdao-1.1.7 (12 Oct 2002)
+
+  12 Oct 2002; foser <foser@gentoo.org> cdrdao-1.1.7.ebuild :
+  New version, should fix gnome build (bug #5331)
 
 *cdrdao-1.1.5-r1 (1 Feb 2002)
 
diff --git a/app-cdr/cdrdao/cdrdao-1.1.7.ebuild b/app-cdr/cdrdao/cdrdao-1.1.7.ebuild
new file mode 100644 (file)
index 0000000..77b6822
--- /dev/null
@@ -0,0 +1,96 @@
+# Copyright 1999 - 2002 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.ebuild,v 1.1 2002/10/12 18:28:55 foser Exp $
+
+inherit flag-o-matic
+
+IUSE="gnome"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend"
+#SRC_URI="http://download.sourceforge.net/${PN}/${P}.src.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${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 
+       >=gnome-extra/gnomemm-1.2.2 )"
+
+DEPEND=">=dev-util/pccts-1.33.24-r1
+       ${RDEPEND}"
+
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+src_compile() {
+       
+       local mygnome=""
+
+       if [ "`use gnome`" ] ; then
+               mygnome=" --with-gnome"
+               CFLAGS="${CFLAGS} `/usr/bin/gtkmm-config --cflags`"
+               CXXFLAGS="${CXXFLAGS} `/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}"
+       
+       emake || die
+}
+
+src_install() {
+
+       # 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/pixmap_copycd.png 
+               doins xdao/pixmap_audiocd.png
+               doins xdao/pixmap_datacd.png
+               doins xdao/pixmap_open.png 
+               doins xdao/pixmap_mixedcd.png 
+               doins xdao/pixmap_cd.png
+               doins xdao/pixmap_help.png 
+               doins xdao/pixmap_dumpcd.png
+               doins xdao/gcdmaster.png
+               
+               # 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/digest-cdrdao-1.1.7 b/app-cdr/cdrdao/files/digest-cdrdao-1.1.7
new file mode 100644 (file)
index 0000000..3d4e147
--- /dev/null
@@ -0,0 +1 @@
+MD5 766a534137f2c6e99ab771e3178793f8 cdrdao-1.1.7.src.tar.gz 1433366