From 2e2c6b4ce321e5f12962a5ae50c75bd69462694c Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Wed, 26 Aug 2015 23:42:49 -0400 Subject: [PATCH] x11-wm/bspwm: version bump --- x11-wm/bspwm/Manifest | 1 + x11-wm/bspwm/bspwm-0.9.ebuild | 51 ++++++++++++++++++++++ x11-wm/bspwm/files/bspwm-0.9-desktop.patch | 9 ++++ 3 files changed, 61 insertions(+) create mode 100644 x11-wm/bspwm/bspwm-0.9.ebuild create mode 100644 x11-wm/bspwm/files/bspwm-0.9-desktop.patch diff --git a/x11-wm/bspwm/Manifest b/x11-wm/bspwm/Manifest index b9e3b319acad..8f233cc979e4 100644 --- a/x11-wm/bspwm/Manifest +++ b/x11-wm/bspwm/Manifest @@ -1,2 +1,3 @@ DIST bspwm-0.8.8.tar.gz 66159 SHA256 378c5e42e9058a22e519a8f727e7d078eb5945915adb6edb17e2471310e73790 SHA512 09614549410d2f6bd58d1190e8008256077433481bb4f91426fbf14ef74c3bff92f3b2d2c72476b6439ad83807c7368591af46a0c34ec658bcc5b9c6f940ca55 WHIRLPOOL 331d089c7545a5fe6325e42aa9603f9dcb81d28fd9182329dbc50a0828fafa661ce12885894d728ad99f0d04ca5a2773de257b91f62e1be3f272e0ee8a7b5674 DIST bspwm-0.8.9.tar.gz 65604 SHA256 750c76132914661d8d5edf7809e9b601977215d31e747dd780c60fd562913d55 SHA512 77dd3d10278519bdcba02ab3309617d078428953d2944a1a5013b7ac87ae9b9c3e405760edfc78a6d740c383c8bf083598885448219f3a60e6f912389343b4f7 WHIRLPOOL dc3153b082616b44d71348b604e5f923a603b4ea75e9665c6a7ad384bafdd33da2f83da3275af671dbac614aefd953e990355cb0713504037ef57003cc46261b +DIST bspwm-0.9.tar.gz 62790 SHA256 495dcdefb4cae52052749f0e6cd628bd16bb14cf61c359d46c62673f1264b97c SHA512 1e099191c95ba7ec4f02c8fd29f212aeffa63aa5be4a0992ded2ce0528f887b879940e7be8b9aafa00c71837dc4c1afbd3848d3768f2f6fd28c08dd73c92d5bb WHIRLPOOL fdb0d7d3f76243bd42aeba1d487ce29eedefd06e1d0054e199de36367f902fb1c8b087bfdfd57ad3cacff5f3350b1eb5db80749d1cb05dd3243fef76ea2a0f88 diff --git a/x11-wm/bspwm/bspwm-0.9.ebuild b/x11-wm/bspwm/bspwm-0.9.ebuild new file mode 100644 index 000000000000..ff27c85fc907 --- /dev/null +++ b/x11-wm/bspwm/bspwm-0.9.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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}"/${PN}-0.8.8-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/freedesktop/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.9-desktop.patch b/x11-wm/bspwm/files/bspwm-0.9-desktop.patch new file mode 100644 index 000000000000..a8f3524b500c --- /dev/null +++ b/x11-wm/bspwm/files/bspwm-0.9-desktop.patch @@ -0,0 +1,9 @@ +--- bspwm-0.9/contrib/freedesktop/bspwm.desktop ++++ bspwm-0.9/contrib/freedesktop/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 -- 2.26.2