From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1C03138350 for ; Wed, 22 Jan 2020 21:09:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE302E0858; Wed, 22 Jan 2020 21:09:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD078E0858 for ; Wed, 22 Jan 2020 21:09:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EEC6934E3A4 for ; Wed, 22 Jan 2020 21:09:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E17235 for ; Wed, 22 Jan 2020 21:09:44 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1579727365.99e47dd88df2bd5824faf3bc39a95a6f1d65c7f1.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/spectrwm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/spectrwm/Manifest x11-wm/spectrwm/metadata.xml x11-wm/spectrwm/spectrwm-3.3.0.ebuild X-VCS-Directories: x11-wm/spectrwm/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 99e47dd88df2bd5824faf3bc39a95a6f1d65c7f1 X-VCS-Branch: master Date: Wed, 22 Jan 2020 21:09:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9c214e3b-f92e-4606-a762-01d883b5fed5 X-Archives-Hash: d5c977813e93a65ca72f72d337b50ef7 commit: 99e47dd88df2bd5824faf3bc39a95a6f1d65c7f1 Author: Ben Kohler gentoo org> AuthorDate: Wed Jan 22 21:09:00 2020 +0000 Commit: Ben Kohler gentoo org> CommitDate: Wed Jan 22 21:09:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e47dd8 x11-wm/spectrwm: take pkg & bump to 3.3.0 Closes: https://bugs.gentoo.org/645940 Closes: https://bugs.gentoo.org/703514 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ben Kohler gentoo.org> x11-wm/spectrwm/Manifest | 1 + x11-wm/spectrwm/metadata.xml | 5 +++- x11-wm/spectrwm/spectrwm-3.3.0.ebuild | 47 +++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) diff --git a/x11-wm/spectrwm/Manifest b/x11-wm/spectrwm/Manifest index 7f38ff33381..a9aec43846e 100644 --- a/x11-wm/spectrwm/Manifest +++ b/x11-wm/spectrwm/Manifest @@ -1,2 +1,3 @@ DIST spectrwm-3.1.0.tar.gz 147206 BLAKE2B abcce22bc7859dbcc109f02ea832d65091c842562579d47cd1dd83c5de82a015b02343972d4d85cf291b63bfbaf0e901616cca94d911014672ffc35436bdd3c1 SHA512 dd8e16361b979a55b210a88a1ae5d53e7086fd854e92320e09b6407d374580cc271c0e974e38606481ab57a504a86e16293edee967d251b043a1eb65e8c77687 DIST spectrwm-3.2.0.tar.gz 150691 BLAKE2B a90fb556f0572709df51272a259724c3a497ac3b9852722646058ffb92914ca49581f3f95884c8a6bab2cb6475c4c3b475ff7ed3ea0ff125e76f202696dfd2bd SHA512 038d7fc5716fbca324a078a311939ec23db6ff53e9ef33b2804c687838e729f0e7bb7f724c539e8ac8efed9607358962d4dd742db7f1a30bf3c6ab72eade1039 +DIST spectrwm-3.3.0.tar.gz 161806 BLAKE2B 07470511486c7b5c61e65eb33e5a9ec7fbfec97390057311fab27bd5608d428b3a53c379fe6c5436000b4847769db9d175154e696b39d3175175bae173e8e68e SHA512 743affffd0437641a760ae29ccbd0084baee3354dadc48f3fc9ab70bffa2413ffe3af67f1223413aa1bbf8c679fbae1fbbdd71a840b3e44f5df83b527f63c1cc diff --git a/x11-wm/spectrwm/metadata.xml b/x11-wm/spectrwm/metadata.xml index 6f49eba8f49..c67d4dcaca5 100644 --- a/x11-wm/spectrwm/metadata.xml +++ b/x11-wm/spectrwm/metadata.xml @@ -1,5 +1,8 @@ - + + bkohler@gentoo.org + Ben Kohler + diff --git a/x11-wm/spectrwm/spectrwm-3.3.0.ebuild b/x11-wm/spectrwm/spectrwm-3.3.0.ebuild new file mode 100644 index 00000000000..6d515135678 --- /dev/null +++ b/x11-wm/spectrwm/spectrwm-3.3.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit desktop multilib toolchain-funcs + +DESCRIPTION="Small dynamic tiling window manager for X11" +HOMEPAGE="https://github.com/conformal/spectrwm" +SRC_URI="https://github.com/conformal/spectrwm/archive/${PN^^}_${PV//./_}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !x11-wm/scrotwm + x11-misc/dmenu +" +DEPEND=" + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXrandr + x11-libs/libXt + x11-libs/xcb-util +" +PATCHES=( + "${FILESDIR}"/${PN}-3.2.0-gentoo.patch +) +S=${WORKDIR}/${PN}-${PN^^}_${PV//./_} + +src_prepare() { + sed -i -e '/LICENSE.md/d' linux/Makefile || die + default +} + +src_compile() { + tc-export CC PKG_CONFIG + emake -C linux PREFIX="${EROOT}/usr" LIBDIR="${EROOT}/usr/$(get_libdir)" +} + +src_install() { + emake -C linux PREFIX="${EROOT}/usr" LIBDIR="${EROOT}/usr/$(get_libdir)" \ + SYSCONFDIR="${EROOT}/etc" DOCDIR="${EROOT}/usr/share/doc/${P}" \ + DESTDIR="${D}" install + + dodoc README.md ${PN}_*.conf {initscreen,screenshot}.sh +}