From 4797aa797363bc1560ab54891b098a5ebf7171bf Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Fri, 16 Oct 2015 11:44:19 -0400 Subject: x11-wm/pekwm: set proper slot-0 peg and slot operator to libpng and jpeg atoms Package-Manager: portage-2.2.20.1 --- x11-wm/pekwm/pekwm-0.1.17-r1.ebuild | 82 +++++++++++++++++++++++++++++++++++++ x11-wm/pekwm/pekwm-0.1.17.ebuild | 82 ------------------------------------- 2 files changed, 82 insertions(+), 82 deletions(-) create mode 100644 x11-wm/pekwm/pekwm-0.1.17-r1.ebuild delete mode 100644 x11-wm/pekwm/pekwm-0.1.17.ebuild (limited to 'x11-wm/pekwm') diff --git a/x11-wm/pekwm/pekwm-0.1.17-r1.ebuild b/x11-wm/pekwm/pekwm-0.1.17-r1.ebuild new file mode 100644 index 000000000000..2800782e5b7c --- /dev/null +++ b/x11-wm/pekwm/pekwm-0.1.17-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="A lightweight window manager initially based on aewm++" +HOMEPAGE="http://pekwm.org/" +SRC_URI=" + http://pekwm.org/projects/pekwm/files/${P}.tar.bz2 + themes? ( mirror://gentoo/${PN}-themes.tar.bz2 ) +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS=" amd64 ~mips ppc x86 ~x86-fbsd" +IUSE="contrib debug themes truetype xinerama" + +RDEPEND=" + media-libs/libpng:0= + virtual/jpeg:0 + x11-libs/libXpm + x11-libs/libXrandr + x11-libs/libXrender + truetype? ( x11-libs/libXft ) + xinerama? ( x11-libs/libXinerama ) +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + if use themes; then + rm "${WORKDIR}"/themes/Ace/.theme.swp || die + fi +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable truetype xft) \ + $(use_enable xinerama) \ + --enable-image-jpeg \ + --enable-image-png \ + --enable-image-xpm \ + --enable-shape \ + --enable-xrandr +} + +src_install() { + default + + # Install contributor scripts into doc folder + if use contrib ; then + docinto /usr/share/doc/${PF}/contrib + dodoc contrib/lobo/{check.png,pekwm_autoprop.pl,pekwm_menu_config.pl} \ + contrib/lobo/{pekwm_menu_config.pl.vars,README,uncheck.png} + fi + + if use themes; then + insinto /usr/share/${PN}/themes + doins -r "${WORKDIR}"/themes/* + fi + + # Insert an Xsession + echo -e "#!/bin/sh\n\n/usr/bin/${PN}" > "${T}"/${PN} || die + exeinto /etc/X11/Sessions + doexe "${T}"/${PN} + + # Insert a GDM/KDM xsession file + make_session_desktop ${PN} ${PN} +} + +pkg_postinst() { + if use contrib ; then + elog " User contributed scripts have been installed into:" + elog " /usr/share/doc/${PF}/contrib" + fi +} diff --git a/x11-wm/pekwm/pekwm-0.1.17.ebuild b/x11-wm/pekwm/pekwm-0.1.17.ebuild deleted file mode 100644 index 3e160f2a6f8b..000000000000 --- a/x11-wm/pekwm/pekwm-0.1.17.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils - -DESCRIPTION="A lightweight window manager initially based on aewm++" -HOMEPAGE="http://pekwm.org/" -SRC_URI=" - http://pekwm.org/projects/pekwm/files/${P}.tar.bz2 - themes? ( mirror://gentoo/${PN}-themes.tar.bz2 ) -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS=" amd64 ~mips ppc x86 ~x86-fbsd" -IUSE="contrib debug themes truetype xinerama" - -RDEPEND=" - media-libs/libpng - virtual/jpeg - x11-libs/libXpm - x11-libs/libXrandr - x11-libs/libXrender - truetype? ( x11-libs/libXft ) - xinerama? ( x11-libs/libXinerama ) -" - -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -src_prepare() { - if use themes; then - rm "${WORKDIR}"/themes/Ace/.theme.swp || die - fi -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable truetype xft) \ - $(use_enable xinerama) \ - --enable-image-jpeg \ - --enable-image-png \ - --enable-image-xpm \ - --enable-shape \ - --enable-xrandr -} - -src_install() { - default - - # Install contributor scripts into doc folder - if use contrib ; then - docinto /usr/share/doc/${PF}/contrib - dodoc contrib/lobo/{check.png,pekwm_autoprop.pl,pekwm_menu_config.pl} \ - contrib/lobo/{pekwm_menu_config.pl.vars,README,uncheck.png} - fi - - if use themes; then - insinto /usr/share/${PN}/themes - doins -r "${WORKDIR}"/themes/* - fi - - # Insert an Xsession - echo -e "#!/bin/sh\n\n/usr/bin/${PN}" > "${T}"/${PN} || die - exeinto /etc/X11/Sessions - doexe "${T}"/${PN} - - # Insert a GDM/KDM xsession file - make_session_desktop ${PN} ${PN} -} - -pkg_postinst() { - if use contrib ; then - elog " User contributed scripts have been installed into:" - elog " /usr/share/doc/${PF}/contrib" - fi -} -- cgit v1.2.3-65-gdbad