diff options
Diffstat (limited to 'x11-misc/adesklets/adesklets-0.5.1.ebuild')
-rw-r--r-- | x11-misc/adesklets/adesklets-0.5.1.ebuild | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/x11-misc/adesklets/adesklets-0.5.1.ebuild b/x11-misc/adesklets/adesklets-0.5.1.ebuild deleted file mode 100644 index 5079e3d1b3c7..000000000000 --- a/x11-misc/adesklets/adesklets-0.5.1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/adesklets/adesklets-0.5.1.ebuild,v 1.1 2006/03/06 12:31:35 s4t4n Exp $ - -inherit eutils - -DESCRIPTION="An interactive Imlib2 console for the X Window system" -HOMEPAGE="http://adesklets.sf.net/" -SRC_URI="mirror://sourceforge/adesklets/${P}.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="X python debug ctrlmenu" - -RDEPEND="X? ( || ( ( - x11-libs/libX11 - x11-apps/xprop - x11-libs/libXt ) - virtual/x11 ) )" - -DEPEND=">=media-libs/imlib2-1.2.0-r2 - X? ( || ( x11-proto/xproto virtual/x11 ) ) - python? ( >=dev-lang/python-2.3.4-r1 )" - -src_unpack() -{ - unpack ${A} - cd ${S} - - #Fix for bug #123538: control context menu fix - epatch ${FILESDIR}/${PN}-ctrlmenu.patch - - # when performing minor changes to src/adesklets.c or src/commands.c, - # touching these files will avoid unneeded processing - touch scripting/enums scripting/prototypes \ - scripting/python/adesklets/commands.py -} - -src_compile() -{ - local myconf="" - - use X || myconf="--without-x" - use python || myconf="${myconf} --without-python-support" - myconf="${myconf} $(use_enable debug)" - use ctrlmenu && myconf="--enable-control-on-context-menu" - - econf ${myconf} || die - emake || die -} - -src_install() -{ - dodir usr/share/info - dodir usr/share/man/man1 - make DESTDIR=${D} install || die - doinfo doc/*.info || die "info page installation failed" - doman doc/*.1 || die "man page installation failed" - dodoc ChangeLog NEWS TODO AUTHORS - use debug && - { - echo 'ADESKLETS_LOG="/tmp/adesklets_log"' > 70adesklets - doenvd 70adesklets - } -} - -pkg_postinst() -{ - use X || - { - ewarn "You did not install the X Window support for ${P}" - ewarn "If you intend to use it to display desklets, this" - ewarn "is a mistake." - echo - ewarn "Type USE=\"X\" emerge adesklets to correct this." - echo - einfo "Please also note that if it is what you intended" - einfo "to do, you need also to install imlib2 without" - einfo "X support to effectively remove all dependencies." - echo - } - - use python || - { - ewarn "You did not install the python bindings for ${P}" - ewarn "If you intend to use it to display desklets, this" - ewarn "is most probably an error." - echo - ewarn "Type USE=\"python\" emerge adesklets to correct this." - echo - } - - use debug && - { - ewarn "You installed a debug build. Make sure you do:" - echo - ewarn "source /etc/profile" - echo - ewarn "If you want to use adesklets from your already" - ewarn "opened sessions. The sessions log are automatically" - ewarn "saved to /tmp/adesklets_log.pid*." - } -} |