diff options
author | Michael Weber <xmw@gentoo.org> | 2016-05-05 15:38:29 +0200 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2016-05-05 15:39:56 +0200 |
commit | f7915476047a80396983758ff20afaa50f950922 (patch) | |
tree | 09b3058ddb549a2285f7feab49f64b16d9dbf9fa /x11-wm/spectrwm | |
parent | clean up; stabel amd64 x86, thx to T.Foerster on wrt bug 575644 (diff) | |
download | gentoo-f7915476047a80396983758ff20afaa50f950922.tar.gz gentoo-f7915476047a80396983758ff20afaa50f950922.tar.bz2 gentoo-f7915476047a80396983758ff20afaa50f950922.zip |
x11-wm/spectrwm: Version bump (thanks noptrix).
Package-Manager: portage-2.2.28
Diffstat (limited to 'x11-wm/spectrwm')
-rw-r--r-- | x11-wm/spectrwm/Manifest | 1 | ||||
-rw-r--r-- | x11-wm/spectrwm/files/spectrwm-3.0.0-outdated-manpages.patch | 24 | ||||
-rw-r--r-- | x11-wm/spectrwm/spectrwm-3.0.0.ebuild | 52 |
3 files changed, 77 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/Manifest b/x11-wm/spectrwm/Manifest index 25724dfdb7ef..d9b37c817e57 100644 --- a/x11-wm/spectrwm/Manifest +++ b/x11-wm/spectrwm/Manifest @@ -1 +1,2 @@ DIST spectrwm-2.7.2.tgz 132554 SHA256 b56cffa01ee2c58515350c1be1940140286fd18778659c6f5ada4595319f97cb SHA512 cebb0e42566125933bf2c4c9200765d360bb572fd953c510ad39e7abcf9cc507e61420441234fb1bb44d06d28526ba6c594272c173a04181d2c6798e404b7421 WHIRLPOOL 5ab24d2866d6a252c03a72fae3e0dd914f6c2041185088da5beb4c7a4a0ee5ec0c3b55cff32bef5f10f159ae1a5e66a6a217a3d67cba2d17ed324145a05391c7 +DIST spectrwm-3.0.0.tar.gz 147373 SHA256 99e21fb9cface968352069fec776dfe827886af6f50ff04847f05e53c470ed6b SHA512 750426b232de27f8ab4abc37991be69ce29bb4cc92ab68e198fb961126783929aa23aa32fb7edff498c6a95b90078d7453f2eefa536cc599e06daf5f7ede928b WHIRLPOOL 2237b41d0ee997da4ed0c32ef2800882a4c41a0a49f22a2a1b592d1833b2e2e39b4eda73f129f27023d3c8142d029c48d2b7d417281e4b52ec318e7ee29d21b2 diff --git a/x11-wm/spectrwm/files/spectrwm-3.0.0-outdated-manpages.patch b/x11-wm/spectrwm/files/spectrwm-3.0.0-outdated-manpages.patch new file mode 100644 index 000000000000..71209f5be4c2 --- /dev/null +++ b/x11-wm/spectrwm/files/spectrwm-3.0.0-outdated-manpages.patch @@ -0,0 +1,24 @@ +--- spectrwm-3.0.0/linux/Makefile ++++ spectrwm-3.0.0/linux/Makefile +@@ -41,10 +41,6 @@ + install -m 755 -d $(DESTDIR)$(BINDIR) + install -m 755 -d $(DESTDIR)$(LIBDIR) + install -m 755 -d $(DESTDIR)$(MANDIR)/man1 +- install -m 755 -d $(DESTDIR)$(MANDIR)/es/man1 +- install -m 755 -d $(DESTDIR)$(MANDIR)/it/man1 +- install -m 755 -d $(DESTDIR)$(MANDIR)/pt/man1 +- install -m 755 -d $(DESTDIR)$(MANDIR)/ru/man1 + install -m 755 -d $(DESTDIR)$(XSESSIONSDIR) + install -m 755 spectrwm $(DESTDIR)$(BINDIR) + ln -sf spectrwm $(DESTDIR)$(BINDIR)/scrotwm +@@ -52,10 +52,6 @@ + ln -sf libswmhack.so.$(LIBVERSION) $(DESTDIR)$(LIBDIR)/libswmhack.so.$(LIBMAJORVERSION) + ln -sf libswmhack.so.$(LIBVERSION) $(DESTDIR)$(LIBDIR)/libswmhack.so + install -m 644 ../spectrwm.1 $(DESTDIR)$(MANDIR)/man1/spectrwm.1 +- install -m 644 ../spectrwm_es.1 $(DESTDIR)$(MANDIR)/es/man1/spectrwm.1 +- install -m 644 ../spectrwm_it.1 $(DESTDIR)$(MANDIR)/it/man1/spectrwm.1 +- install -m 644 ../spectrwm_pt.1 $(DESTDIR)$(MANDIR)/pt/man1/spectrwm.1 +- install -m 644 ../spectrwm_ru.1 $(DESTDIR)$(MANDIR)/ru/man1/spectrwm.1 + install -m 644 spectrwm.desktop $(DESTDIR)$(XSESSIONSDIR) + + uninstall: diff --git a/x11-wm/spectrwm/spectrwm-3.0.0.ebuild b/x11-wm/spectrwm/spectrwm-3.0.0.ebuild new file mode 100644 index 000000000000..941f9eaf931d --- /dev/null +++ b/x11-wm/spectrwm/spectrwm-3.0.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib toolchain-funcs vcs-snapshot + +DESCRIPTION="Small dynamic tiling window manager for X11" +HOMEPAGE="https://opensource.conformal.com/wiki/spectrwm" +SRC_URI="https://codeload.github.com/conformal/${PN}/tar.gz/SPECTRWM_${PV//./_} -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-misc/dmenu" +DEPEND="${DEPEND} + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/xcb-util + !x11-wm/scrotwm" + +S=${WORKDIR}/${P}/linux + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.6.2-Makefile.patch + epatch "${FILESDIR}"/${PN}-3.0.0-outdated-manpages.patch + tc-export CC +} + +src_compile() { + emake PREFIX="${EROOT}usr" LIBDIR="${EROOT}usr/$(get_libdir)" +} + +src_install() { + emake PREFIX="${EROOT}usr" LIBDIR="${EROOT}usr/$(get_libdir)" DESTDIR="${D}" install + + cd "${WORKDIR}"/${P} || die + + insinto /etc + doins ${PN}.conf + dodoc ${PN}_*.conf {initscreen,screenshot}.sh + + make_session_desktop ${PN} ${PN} + + elog "Example keyboard config and helpful scripts can be found" + elog "in ${ROOT}usr/share/doc/${PF}" +} |