diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-06-25 05:40:38 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-06-25 05:40:38 +0000 |
commit | dc3bc96ad1f3a02c2214170e069c5054ff18c985 (patch) | |
tree | 877b0b0a8bdca2fd1adac01f1d80b379a2fe9f5b /x11-wm | |
parent | Fix HOMEPAGE and add pypi site. (diff) | |
download | gentoo-2-dc3bc96ad1f3a02c2214170e069c5054ff18c985.tar.gz gentoo-2-dc3bc96ad1f3a02c2214170e069c5054ff18c985.tar.bz2 gentoo-2-dc3bc96ad1f3a02c2214170e069c5054ff18c985.zip |
Fix desktop file (bug #510818 by Kris Scott).
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/bspwm/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/bspwm/bspwm-0.8.8-r1.ebuild | 51 | ||||
-rw-r--r-- | x11-wm/bspwm/files/bspwm-0.8.8-desktop.patch | 9 |
3 files changed, 67 insertions, 1 deletions
diff --git a/x11-wm/bspwm/ChangeLog b/x11-wm/bspwm/ChangeLog index bce4edfec4b6..f997b7eb6b6f 100644 --- a/x11-wm/bspwm/ChangeLog +++ b/x11-wm/bspwm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/bspwm # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/bspwm/ChangeLog,v 1.1 2014/01/24 08:20:56 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/bspwm/ChangeLog,v 1.2 2014/06/25 05:40:38 radhermit Exp $ + +*bspwm-0.8.8-r1 (25 Jun 2014) + + 25 Jun 2014; Tim Harder <radhermit@gentoo.org> +bspwm-0.8.8-r1.ebuild, + +files/bspwm-0.8.8-desktop.patch: + Fix desktop file (bug #510818 by Kris Scott). *bspwm-0.8.8 (24 Jan 2014) diff --git a/x11-wm/bspwm/bspwm-0.8.8-r1.ebuild b/x11-wm/bspwm/bspwm-0.8.8-r1.ebuild new file mode 100644 index 000000000000..c86e956491b3 --- /dev/null +++ b/x11-wm/bspwm/bspwm-0.8.8-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/bspwm/bspwm-0.8.8-r1.ebuild,v 1.1 2014/06/25 05:40:38 radhermit Exp $ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Tiling window manager based on binary space partitioning" +HOMEPAGE="https://github.com/baskerville/bspwm/" +SRC_URI="https://github.com/baskerville/bspwm/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND=" + x11-libs/libxcb + x11-libs/xcb-util-wm +" +RDEPEND="${DEPEND} + x11-misc/sxhkd +" + +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch + epatch "${FILESDIR}"/${P}-desktop.patch +} + +src_compile() { + emake PREFIX=/usr CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc doc/{CONTRIBUTING,MISC,TODO}.md + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} + + insinto /usr/share/xsessions + doins contrib/lightdm/bspwm.desktop + + insinto /etc/xdg/sxhkd + doins examples/sxhkdrc + + if use examples ; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/x11-wm/bspwm/files/bspwm-0.8.8-desktop.patch b/x11-wm/bspwm/files/bspwm-0.8.8-desktop.patch new file mode 100644 index 000000000000..589a5abed893 --- /dev/null +++ b/x11-wm/bspwm/files/bspwm-0.8.8-desktop.patch @@ -0,0 +1,9 @@ +--- bspwm-0.8.8/contrib/lightdm/bspwm.desktop ++++ bspwm-0.8.8/contrib/lightdm/bspwm.desktop +@@ -2,5 +2,5 @@ + Encoding=UTF-8 + Name=bspwm + Comment=Launch a bspwm session +-Exec=/usr/bin/bspwm-session ++Exec=/etc/X11/Sessions/bspwm + Type=XSession |