diff options
author | Ben Kohler <bkohler@gentoo.org> | 2023-04-24 09:10:54 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2023-04-24 10:32:49 -0500 |
commit | 62133f931daed81faa5f7244795811b77b9ad12f (patch) | |
tree | 1cb9c3caeb7f1c7fc8309aeb1793575ae8244b88 /x11-wm | |
parent | x11-wm/spectrwm: drop 3.4.1 (diff) | |
download | gentoo-62133f931daed81faa5f7244795811b77b9ad12f.tar.gz gentoo-62133f931daed81faa5f7244795811b77b9ad12f.tar.bz2 gentoo-62133f931daed81faa5f7244795811b77b9ad12f.zip |
x11-wm/spectrwm: add 3.4.1_p20230310
Clean up deps as well.
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/spectrwm/Manifest | 1 | ||||
-rw-r--r-- | x11-wm/spectrwm/spectrwm-3.4.1_p20230310.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/Manifest b/x11-wm/spectrwm/Manifest index ae664f58c849..8e034ff088f0 100644 --- a/x11-wm/spectrwm/Manifest +++ b/x11-wm/spectrwm/Manifest @@ -1 +1,2 @@ DIST spectrwm-3.4.1_p20221224.tar.gz 166161 BLAKE2B 62dddfea9b80727d47bdfe61e4bf5ae5996e7bcdcaf76a37c29a3a448fcf4d19f6eeed75d7c13ca2c1e5c093c79503f00dfdde239d5022e700e27f75b7157e39 SHA512 424acf589ab137bdb8b7c010c757fde40a53b7bf70dc1c0ccf0df7e4a5ffce360cab02933f6eb7191e57ba594f4c8a6e732ac4bb8da0684d3889e9448e704edb +DIST spectrwm-efc458efa5730680a5ff3805f6cf9d88dc88748b.tar.gz 172141 BLAKE2B 0ae0f85dd40d170d3f68c8ab6763f251f3a901172a1bb39b0dbf45915c1f59044abd24c25f92b966efa0cee5824de6d4694012f98161438579891d70ee72faec SHA512 4e74585da0bfa65e83cc91786bf28ac5f61ddf1cbfb293064af802bd63c55e9bf9b78127e51ffc9348ea2ae77fc24503a6319e80438d9f72346c38636dcfb01a diff --git a/x11-wm/spectrwm/spectrwm-3.4.1_p20230310.ebuild b/x11-wm/spectrwm/spectrwm-3.4.1_p20230310.ebuild new file mode 100644 index 000000000000..b75adf5980fb --- /dev/null +++ b/x11-wm/spectrwm/spectrwm-3.4.1_p20230310.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +COMMIT=efc458efa5730680a5ff3805f6cf9d88dc88748b +inherit toolchain-funcs + +DESCRIPTION="Small dynamic tiling window manager for X11" +HOMEPAGE="https://github.com/conformal/spectrwm" +SRC_URI="https://github.com/conformal/spectrwm/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + elibc_musl? ( sys-libs/queue-standalone ) + x11-libs/libxcb + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXft + x11-libs/xcb-util + x11-libs/xcb-util-keysyms + x11-libs/xcb-util-wm +" +RDEPEND=" + ${DEPEND} + x11-misc/dmenu +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/spectrwm-3.4.1_p20221224-fix-cflags-ldflags.patch +) +S=${WORKDIR}/${PN}-${COMMIT} + +src_prepare() { + sed -i -e '/LICENSE.md/d' linux/Makefile || die + default +} + +src_compile() { + tc-export CC PKG_CONFIG + emake -C linux PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + emake -C linux PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + SYSCONFDIR="${EPREFIX}/etc" DOCDIR="${EPREFIX}/usr/share/doc/${P}" \ + DESTDIR="${D}" install + + dodoc README.md ${PN}_*.conf {initscreen,screenshot}.sh +} |