diff options
author | 2004-09-26 16:11:39 +0000 | |
---|---|---|
committer | 2004-09-26 16:11:39 +0000 | |
commit | 08f3b1bc8d7f1cde11f473875ab003dd870ae651 (patch) | |
tree | f6c4a82eb316784046bebf78d722eebd25ebded6 /app-misc/rox/rox-2.1.3.ebuild | |
parent | Fixed up some dumbness. Closing bug #64341. (diff) | |
download | historical-08f3b1bc8d7f1cde11f473875ab003dd870ae651.tar.gz historical-08f3b1bc8d7f1cde11f473875ab003dd870ae651.tar.bz2 historical-08f3b1bc8d7f1cde11f473875ab003dd870ae651.zip |
Version bump.
Diffstat (limited to 'app-misc/rox/rox-2.1.3.ebuild')
-rw-r--r-- | app-misc/rox/rox-2.1.3.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/app-misc/rox/rox-2.1.3.ebuild b/app-misc/rox/rox-2.1.3.ebuild new file mode 100644 index 000000000000..effe931db0d9 --- /dev/null +++ b/app-misc/rox/rox-2.1.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/rox/rox-2.1.3.ebuild,v 1.1 2004/09/26 16:11:39 pyrania Exp $ + +inherit eutils + +DESCRIPTION="ROX is a desktop environment, like GNOME, KDE and XFCE. It is an attempt to bring some of the good features from RISC OS to Unix and Linux." +HOMEPAGE="http://rox.sourceforge.net/" +SRC_URI="mirror://sourceforge/rox/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~alpha ~sparc ~amd64" + +DEPEND=">=x11-libs/gtk+-2.2 + >=dev-libs/glib-2.2 + >=dev-libs/libxml2-2.4.23 + >=x11-misc/shared-mime-info-0.9 + svg? ( gnome-base/librsvg )" + +IUSE="svg" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/2.1.2-crash-save-display-settings.patch.bz2 +} + +src_compile() { +# rm ROX-Filer/src/configure # see bug #26162 + + # If the env variable PLATFORM is set, rox will build using that + # string. This causes issues as while the package will compile fine, + # it will try to rebuild it the first time rox is run because it will + # not be able to find a proper executable to run. + use sparc && unset PLATFORM + + ROX-Filer/AppRun --compile || die "make failed" + (cd ROX-Filer/src; make clean) > /dev/null +} + +src_install() { + doman rox.1 + + dodir /usr/bin + cp -rf ROX-Filer/ ${D}/usr/share/ + echo "#!/bin/sh" > "${D}/usr/bin/rox" + echo "exec /usr/share/ROX-Filer/AppRun \"\$@\"" >> "${D}/usr/bin/rox" + chmod a+x ${D}/usr/bin/rox + + insinto /usr/share/mime/packages + doins rox.xml + + dodir /usr/share/ + cp -rf Choices ${D}/usr/share/ + dodir /usr/share/Choices/Mime-icons + keepdir /usr/share/Choices/Mime-icons + + dodir /usr/share/icons + dosym /usr/share/ROX-Filer/ROX /usr/share/icons/ROX +} + +pkg_postinst() { + update-mime-database /usr/share/mime +} |