diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-07-28 05:57:16 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-07-28 05:57:16 +0000 |
commit | 5ca207457d0b3070933fbb327e365cdcc56e19a9 (patch) | |
tree | ed922855a6d83b841600f2397e735b0afb80e0b3 /x11-wm | |
parent | Add django-oauth-plus to django mask (diff) | |
download | gentoo-2-5ca207457d0b3070933fbb327e365cdcc56e19a9.tar.gz gentoo-2-5ca207457d0b3070933fbb327e365cdcc56e19a9.tar.bz2 gentoo-2-5ca207457d0b3070933fbb327e365cdcc56e19a9.zip |
Live ebuild.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/wmfs/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/wmfs/files/wmfs-99999999-desktop.patch | 8 | ||||
-rw-r--r-- | x11-wm/wmfs/metadata.xml | 15 | ||||
-rw-r--r-- | x11-wm/wmfs/wmfs-99999999.ebuild | 58 |
4 files changed, 82 insertions, 7 deletions
diff --git a/x11-wm/wmfs/ChangeLog b/x11-wm/wmfs/ChangeLog index d06f867f8094..d1f99a378038 100644 --- a/x11-wm/wmfs/ChangeLog +++ b/x11-wm/wmfs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/wmfs # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmfs/ChangeLog,v 1.3 2015/07/28 05:13:54 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmfs/ChangeLog,v 1.4 2015/07/28 05:57:16 jer Exp $ + +*wmfs-99999999 (28 Jul 2015) + + 28 Jul 2015; Jeroen Roovers <jer@gentoo.org> +wmfs-99999999.ebuild, + +files/wmfs-99999999-desktop.patch: + Live ebuild. 28 Jul 2015; Jeroen Roovers <jer@gentoo.org> wmfs-201003.ebuild: Depend on media-libs/imlib2[X] (bug #556014 by Toralf Förster). diff --git a/x11-wm/wmfs/files/wmfs-99999999-desktop.patch b/x11-wm/wmfs/files/wmfs-99999999-desktop.patch new file mode 100644 index 000000000000..5a1514407e43 --- /dev/null +++ b/x11-wm/wmfs/files/wmfs-99999999-desktop.patch @@ -0,0 +1,8 @@ +--- a/wmfs.desktop ++++ b/wmfs.desktop +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Type=Application + Name=wmfs + Comment=Window Manager From Scratch diff --git a/x11-wm/wmfs/metadata.xml b/x11-wm/wmfs/metadata.xml index 8f9a0c008876..5abc59f0e650 100644 --- a/x11-wm/wmfs/metadata.xml +++ b/x11-wm/wmfs/metadata.xml @@ -1,10 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer> - <email>jer@gentoo.org</email> - </maintainer> - <upstream> - <remote-id type="github">xorg62/wmfs</remote-id> - </upstream> +<maintainer> +<email>jer@gentoo.org</email> +</maintainer> +<use> +<flag name='imlib2'>Enable image support through <pkg>media-libs/imlib2</pkg></flag> +</use> +<upstream> +<remote-id type="github">xorg62/wmfs</remote-id> +</upstream> </pkgmetadata> diff --git a/x11-wm/wmfs/wmfs-99999999.ebuild b/x11-wm/wmfs/wmfs-99999999.ebuild new file mode 100644 index 000000000000..5e3e21ac47da --- /dev/null +++ b/x11-wm/wmfs/wmfs-99999999.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmfs/wmfs-99999999.ebuild,v 1.1 2015/07/28 05:57:16 jer Exp $ + +EAPI=5 +inherit eutils git-r3 + +DESCRIPTION="Window Manager From Scratch, A tiling window manager highly configurable" +HOMEPAGE="https://github.com/xorg62/wmfs" +EGIT_REPO_URI="${HOMEPAGE}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="+imlib2 +xinerama" + +RDEPEND=" + media-libs/freetype + media-libs/imlib2[X] + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXinerama + x11-libs/libXrandr +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/randrproto + x11-proto/xineramaproto + x11-proto/xproto +" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-99999999-desktop.patch + + sed -i -e '/^which dpkg/s|.*|false|g' configure || die +} + +src_configure() { + # not autotools based + local ECHO + for ECHO in echo ''; do + ${ECHO} sh configure \ + $(usex xinerama '' --without-xinerama) \ + $(usex imlib2 '' --without-imlib2) \ + --prefix /usr \ + --man-prefix /usr/share/man \ + --xdg-config-dir /etc/xdg \ + || die + done +} + +src_install() { + default + rm -r "${D}"/usr/share/${PN} + dodoc README +} |