From 793c8f7f0336a7f4de053851dc62ae767197e90b Mon Sep 17 00:00:00 2001 From: Amy Winston Date: Sat, 10 Oct 2015 15:15:19 +0200 Subject: x11-wm/jwm:EAPI bump,slot dependencies fix,add config file,X11 session wrapper added. By wraeth. Package-Manager: portage-2.2.20.1 --- x11-wm/jwm/jwm-2.3.2.ebuild | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'x11-wm/jwm') diff --git a/x11-wm/jwm/jwm-2.3.2.ebuild b/x11-wm/jwm/jwm-2.3.2.ebuild index 6263aefa10ae..6b8baafa435d 100644 --- a/x11-wm/jwm/jwm-2.3.2.ebuild +++ b/x11-wm/jwm/jwm-2.3.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=5 inherit eutils DESCRIPTION="Very fast and lightweight still powerful window manager for X" @@ -21,8 +21,8 @@ RDEPEND="xpm? ( x11-libs/libXpm ) x11-libs/libXau x11-libs/libXdmcp truetype? ( x11-libs/libXft ) - png? ( media-libs/libpng ) - jpeg? ( virtual/jpeg ) + png? ( media-libs/libpng:= ) + jpeg? ( virtual/jpeg:= ) bidi? ( dev-libs/fribidi ) dev-libs/expat" DEPEND="${RDEPEND} @@ -49,18 +49,15 @@ src_install() { dodir /usr/share/man emake BINDIR="${D}/usr/bin" SYSCONF="${D}/etc" \ MANDIR="${D}/usr/share/man" install - rm "${D}"/etc/system.jwmrc - echo "#!/bin/sh" > jwm - echo "exec /usr/bin/jwm" >> jwm - exeinto /etc/X11/Sessions - doexe jwm + make_wrapper "${PN}" "/usr/bin/${PN}" "" "" "/etc/X11/Sessions" dodoc README.md example.jwmrc ChangeLog } pkg_postinst() { - einfo "Put an appropriate configuration file in /etc/system.jwmrc" - einfo "or in ~/.jwmrc." + einfo "JWM can be configured system-wide with ${EROOT}/etc/system.jwmrc" + einfo "or per-user by creating a configuration file in ~/.jwmrc" + einfo einfo "An example file can be found in ${EROOT}/usr/share/doc/${PF}/" -} +} \ No newline at end of file -- cgit v1.2.3-65-gdbad