From c4ff395886fba979da5ddccae60179195bf6cbb7 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Mon, 19 May 2008 14:14:40 +0000 Subject: Pass --disable-gnome since it's for GNOME 1.x libs. Removed USE gnome. (Portage version: 2.1.5) --- app-arch/guitar/ChangeLog | 8 ++++++-- app-arch/guitar/files/install.gnome | 12 ------------ app-arch/guitar/guitar-0.1.4.ebuild | 31 +++++++++++++++++++------------ 3 files changed, 25 insertions(+), 26 deletions(-) delete mode 100644 app-arch/guitar/files/install.gnome (limited to 'app-arch/guitar') diff --git a/app-arch/guitar/ChangeLog b/app-arch/guitar/ChangeLog index 5f353195e811..cf144f1e0714 100644 --- a/app-arch/guitar/ChangeLog +++ b/app-arch/guitar/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-arch/guitar -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/guitar/ChangeLog,v 1.18 2007/08/29 16:58:35 phreak Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/guitar/ChangeLog,v 1.19 2008/05/19 14:14:39 drac Exp $ + + 19 May 2008; Samuli Suominen -files/install.gnome, + guitar-0.1.4.ebuild: + Pass --disable-gnome since it's for GNOME 1.x libs. Removed USE gnome. 29 Aug 2007; Christian Heim metadata.xml: Removing agriffis from metadata due to his retirement (see #182294 for diff --git a/app-arch/guitar/files/install.gnome b/app-arch/guitar/files/install.gnome deleted file mode 100644 index 0d3e7a1013f9..000000000000 --- a/app-arch/guitar/files/install.gnome +++ /dev/null @@ -1,12 +0,0 @@ - -if [ -e ./using_gnome ]; then - if [ "$1" = "uninstall" ]; then - rm ${D}/`gnome-config --prefix`/share/pixmaps/guiTAR.xpm - rm ${D}/`gnome-config --prefix`/share/gnome/apps/Utilities/guiTAR.desktop - else - ./mkinstalldirs ${D}/`gnome-config --prefix`/share/pixmaps - cp -f src/guiTAR.xpm ${D}/`gnome-config --prefix`/share/pixmaps/ - ./mkinstalldirs ${D}/`gnome-config --prefix`/share/gnome/apps/Utilities - cp -f guiTAR.desktop ${D}/`gnome-config --prefix`/share/gnome/apps/Utilities/ - fi -fi diff --git a/app-arch/guitar/guitar-0.1.4.ebuild b/app-arch/guitar/guitar-0.1.4.ebuild index 1d62eb7f49cf..793eff7c027a 100644 --- a/app-arch/guitar/guitar-0.1.4.ebuild +++ b/app-arch/guitar/guitar-0.1.4.ebuild @@ -1,33 +1,40 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/guitar/guitar-0.1.4.ebuild,v 1.28 2005/01/01 11:45:32 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/guitar/guitar-0.1.4.ebuild,v 1.29 2008/05/19 14:14:39 drac Exp $ + +inherit eutils toolchain-funcs MY_P=guiTAR-${PV} -S=${WORKDIR}/${MY_P} + DESCRIPTION="Extraction tool, supports tar, tar.Z, tar.gz, tar.bz2, lha, lzh, rar, arj, zip, and slp formats" -HOMEPAGE="http://artemis.efes.net/disq/guitar/" -SRC_URI="http://artemis.efes.net/disq/guitar/${MY_P}.tar.gz" +# No HOMEPAGE available. Debian has this left in oldstable. +HOMEPAGE="http://packages.debian.org/sarge/guitar" +SRC_URI="mirror://gentoo/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="gnome" +IUSE="" DEPEND="=x11-libs/gtk+-1.2* app-arch/tar app-arch/bzip2 - x86? ( app-arch/rar ) - app-arch/unrar app-arch/gzip app-arch/zip app-arch/unzip" +S=${WORKDIR}/${MY_P} + src_compile() { - econf $(use_enable gnome) || die - emake || die + tc-export CC + # Disable GNOME 1.x library support. + econf --disable-gnome + emake || die "emake failed." } src_install() { - use gnome && cp ${FILESDIR}/install.gnome ${S} - make install DESTDIR="${D}" || die + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS BUGS NEWS README TODO + newicon src/icon.xpm guiTAR.xpm + make_desktop_entry ${PN} "Graphical User Interface for TAR" guiTAR } -- cgit v1.2.3-65-gdbad