diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-03-10 01:22:18 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-03-10 01:22:18 +0000 |
commit | c7b733dbe9a9939e98fbcbda12292ddc2ad3a37b (patch) | |
tree | 75659baaca349eb302d020316e36a40006f4f513 /x11-wm/pekwm | |
parent | Add misc fixes from upstream. (diff) | |
download | gentoo-2-c7b733dbe9a9939e98fbcbda12292ddc2ad3a37b.tar.gz gentoo-2-c7b733dbe9a9939e98fbcbda12292ddc2ad3a37b.tar.bz2 gentoo-2-c7b733dbe9a9939e98fbcbda12292ddc2ad3a37b.zip |
Version bump by Andreas (bug #471340). Make themes optional.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-wm/pekwm')
-rw-r--r-- | x11-wm/pekwm/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/pekwm/metadata.xml | 5 | ||||
-rw-r--r-- | x11-wm/pekwm/pekwm-0.1.17.ebuild | 82 |
3 files changed, 94 insertions, 1 deletions
diff --git a/x11-wm/pekwm/ChangeLog b/x11-wm/pekwm/ChangeLog index 4a084a5b26d5..206540516293 100644 --- a/x11-wm/pekwm/ChangeLog +++ b/x11-wm/pekwm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/pekwm # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/ChangeLog,v 1.68 2014/02/02 01:01:03 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/ChangeLog,v 1.69 2014/03/10 01:22:18 jer Exp $ + +*pekwm-0.1.17 (10 Mar 2014) + + 10 Mar 2014; Jeroen Roovers <jer@gentoo.org> +pekwm-0.1.17.ebuild, + metadata.xml: + Version bump by Andreas (bug #471340). Make themes optional. 02 Feb 2014; Tom Wijsman <TomWij@gentoo.org> metadata.xml: Added Andreas Schlick (ninox+pmg) to metadata.xml, whom will proxy maintain diff --git a/x11-wm/pekwm/metadata.xml b/x11-wm/pekwm/metadata.xml index 61bc48c1bf60..542b8be2fa51 100644 --- a/x11-wm/pekwm/metadata.xml +++ b/x11-wm/pekwm/metadata.xml @@ -2,6 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>proxy-maintainers</herd> + <maintainer><email>jer@gentoo.org</email></maintainer> <maintainer> <email>ninox+pmg@posteo.net</email> <name>Andreas Schlick</name> @@ -14,4 +15,8 @@ location, grouping and title rewriting properties, keychains, Xinerama support, pixmap theming, and dynamic menus. </longdescription> + <use> + <flag name='contrib'>Install optional extras in the documentation directory</flag> + <flag name='themes'>Install additional themes</flag> + </use> </pkgmetadata> diff --git a/x11-wm/pekwm/pekwm-0.1.17.ebuild b/x11-wm/pekwm/pekwm-0.1.17.ebuild new file mode 100644 index 000000000000..62eab75eabeb --- /dev/null +++ b/x11-wm/pekwm/pekwm-0.1.17.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/pekwm-0.1.17.ebuild,v 1.1 2014/03/10 01:22:18 jer Exp $ + +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 ~sparc ~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 had been installed into:" + elog " /usr/share/doc/${PF}/contrib" + fi +} |