summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Weiler <pylon@gentoo.org>2003-12-05 03:19:23 +0000
committerLars Weiler <pylon@gentoo.org>2003-12-05 03:19:23 +0000
commit46dd20fb898e146c6e479d51531722be759052a2 (patch)
tree3824740e4e8195c2b3db5c51dc2202790b3656e3 /app-cdr/xcdroast
parentsupport for Gnome-users (diff)
downloadgentoo-2-46dd20fb898e146c6e479d51531722be759052a2.tar.gz
gentoo-2-46dd20fb898e146c6e479d51531722be759052a2.tar.bz2
gentoo-2-46dd20fb898e146c6e479d51531722be759052a2.zip
support for Gnome-users
Diffstat (limited to 'app-cdr/xcdroast')
-rw-r--r--app-cdr/xcdroast/ChangeLog4
-rw-r--r--app-cdr/xcdroast/Manifest2
-rw-r--r--app-cdr/xcdroast/xcdroast-0.98_alpha15-r2.ebuild39
3 files changed, 40 insertions, 5 deletions
diff --git a/app-cdr/xcdroast/ChangeLog b/app-cdr/xcdroast/ChangeLog
index dd3b693b95d1..659475849d57 100644
--- a/app-cdr/xcdroast/ChangeLog
+++ b/app-cdr/xcdroast/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# /space/gentoo/cvsroot/gentoo-x86/app-cdr/xcdroast/ChangeLog,v 1.7 2002/06/05 02:39:55 lostlogic Exp
+ 05 Dec 2003; Lars Weiler <pylon@gentoo.org> xcdroast-0.98_alpha15-r2.ebuild:
+ Added support for Gnome users, so that X-CD-Roast is in the Multimedia-menu
+ and carries it's an icon. This closes bugs 34751 and 34756.
+
22 Nov 2003; <spider@gentoo.org> xcdroast-0.98_alpha15-r1.ebuild,
xcdroast-0.98_alpha15-r2.ebuild, xcdroast-0.98_alpha15.ebuild:
removed bad gtk?() dependency (as the app doesn't build without gtk (some
diff --git a/app-cdr/xcdroast/Manifest b/app-cdr/xcdroast/Manifest
index 50422595ac04..4d77587db741 100644
--- a/app-cdr/xcdroast/Manifest
+++ b/app-cdr/xcdroast/Manifest
@@ -2,7 +2,7 @@ MD5 8cae3d09a0ccee6a07aafb5b28071189 xcdroast-0.98_alpha15-r1.ebuild 2051
MD5 a9919266035f49883684f4124186a035 xcdroast-0.98_alpha13.ebuild 1036
MD5 4f62a2557bb9a93a4cf8338a488b5b89 xcdroast-0.98_alpha15.ebuild 1658
MD5 70ad5f1d00b2979b61744c11cb01ed20 xcdroast-0.98_alpha14-r1.ebuild 1447
-MD5 5b42648b74671e7e1f10b422fecf69a1 xcdroast-0.98_alpha15-r2.ebuild 2893
+MD5 fc6d9ec180c6a3051d9c12b99a522aa6 xcdroast-0.98_alpha15-r2.ebuild 2892
MD5 7079ceeda811e4258b56504baad55770 xcdroast-0.98_alpha14-r2.ebuild 2189
MD5 8d4599e960234bf363000265a4f3fbd3 ChangeLog 5871
MD5 af9852b249b8e0fab9bd0d55dbea4455 metadata.xml 400
diff --git a/app-cdr/xcdroast/xcdroast-0.98_alpha15-r2.ebuild b/app-cdr/xcdroast/xcdroast-0.98_alpha15-r2.ebuild
index 911b530e07da..7476a6ac931d 100644
--- a/app-cdr/xcdroast/xcdroast-0.98_alpha15-r2.ebuild
+++ b/app-cdr/xcdroast/xcdroast-0.98_alpha15-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/xcdroast/xcdroast-0.98_alpha15-r2.ebuild,v 1.2 2003/11/21 23:38:35 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/xcdroast/xcdroast-0.98_alpha15-r2.ebuild,v 1.3 2003/12/05 03:19:13 pylon Exp $
inherit eutils
@@ -8,14 +8,14 @@ S=${WORKDIR}/${P/_/}
DESCRIPTION="Menu based front-end to mkisofs and cdrecord"
HOMEPAGE="http://www.xcdroast.org/"
SRC_URI="mirror://sourceforge/xcdroast/${P/_/}.tar.gz
- mirror://gentoo/xcdroast-0.98_alpha15_new_configure.tar.gz
+ mirror://gentoo/${P}_new_configure.tar.gz
dvdr? ( ftp://ftp.berlios.de/pub/cdrecord/ProDVD/cdrecord-prodvd-2.01a12-i586-pc-linux-gnu )
dvdr? ( ftp://ftp.berlios.de/pub/cdrecord/ProDVD/cdrecord-prodvd-2.0-powerpc-unknown-linux-gnu )"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
-IUSE="nls dvdr gtk2"
+IUSE="nls dvdr gtk2 gnome"
DEPEND="
gtk2? ( >=x11-libs/gtk+-2.0.3 )
@@ -30,7 +30,7 @@ RDEPEND="${DEPEND}"
src_unpack() {
unpack ${P/_/}.tar.gz
cd ${S}
- unpack xcdroast-0.98_alpha15_new_configure.tar.gz
+ unpack ${P}_new_configure.tar.gz
cd ${S}/src
use gtk2 && epatch ${FILESDIR}/gtk2locale.patch
@@ -64,6 +64,37 @@ src_install() {
use x86 && newbin ${DISTDIR}/cdrecord-prodvd-2.01a12-i586-pc-linux-gnu cdrecord.prodvd
use ppc && newbin ${DISTDIR}/cdrecord-prodvd-2.0-powerpc-unknown-linux-gnu cdrecord.prodvd
fi
+
+ if use gnome; then
+ #create a symlink to the pixmap directory
+ dodir /usr/share/pixmaps
+ dosym /usr/lib/xcdroast-0.98/icons/xcdricon.png /usr/share/pixmaps/xcdricon.png
+ #add a menu entry to the gnome menu
+ cat <<EOF >xcdroast.desktop
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Exec=/usr/bin/xcdroast
+Icon=/usr/share/pixmaps/xcdricon.png
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=GNOME;Application;AudioVideo;
+TryExec=
+X-GNOME-DocPath=
+Name[de]=X-CD-Roast
+GenericName[de]=
+Comment[de]=CDs brennen
+Name[sv]=Cd-grill
+GenericName[sv]=
+Comment[sv]=Rosta en CD
+Name[fr]=Grilleur CD
+GenericName[fr]=
+Comment[fr]=Grillez des CDs
+EOF
+ insinto /usr/share/applications
+ doins xcdroast.desktop
+ fi
}
pkg_postinst() {