diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-06 03:21:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-06 03:21:28 +0100 |
commit | 681aad60df032a891dbbfc38f3ea4b404d6a8579 (patch) | |
tree | da5eff2b4d9c8cca5f6df280543b43707f372f69 /x11-wm/matwm2 | |
parent | 2092ebe8b45cc45ad3357e2ccb2c37d5c1eaba2a (diff) |
gentoo auto-resync : 06:08:2023 - 03:21:27
Diffstat (limited to 'x11-wm/matwm2')
-rw-r--r-- | x11-wm/matwm2/Manifest | 1 | ||||
-rw-r--r-- | x11-wm/matwm2/matwm2-0.1.2_pre3-r3.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/x11-wm/matwm2/Manifest b/x11-wm/matwm2/Manifest index 64cedcb8e756..00db10c2a2aa 100644 --- a/x11-wm/matwm2/Manifest +++ b/x11-wm/matwm2/Manifest @@ -2,4 +2,5 @@ AUX matwm2-0.1.2_pre3-destdir-fix.patch 1104 BLAKE2B 696ddba152f6283bf317d6edab9 AUX matwm2.desktop 69 BLAKE2B 6eda01e92285ecb8e56e701c2d63995223274b31f140e5f30fc0b7f806bfbf0de2c7efc592e9aac2de56b2cb831deb145d4e4d424353e1515f48b98d2516dc83 SHA512 1308539065599bf807580868510ea772bc09b5e06c6cc184ece5faf100fb14cd424f47e030bc77d62525b7751c874e7313b73444b85ab07076f31bacdcf24e3e DIST matwm2-0.1.2_pre3.tar.gz 860231 BLAKE2B 5734798c1833a02783c9ff7ed52c2b0ef95d5c3b3edbc51a4e8440f45109b6f3e6cf85f64ce37c9dcbfff2e22843b7f57c23abcd2f5012ffa53fac0cbfbd766b SHA512 30c55c6090015432bf99853f136baebb5b4c1301d5f922dc933e0141caf18d6891a982bd89e22e065c146c0c5c570d0e8aebb7e4c708dddde9b0570b7ed5f9ba EBUILD matwm2-0.1.2_pre3-r2.ebuild 1360 BLAKE2B ec613b02bcf616dd8b1e4d326117bcdbf200a8fac55960cb35cab9b7d730561368fe79b331651e4abc3cfc15f2eb05c654adc13b9f517a3611a297a64e882f5b SHA512 67c38f4f96e66f8d786876a2fff864d395ca05d37df551939b88baf3c1cca033e3eb3d91bc10294747fc177d2a290fb3deb93338b5cb7b8a2b35b2527651d686 +EBUILD matwm2-0.1.2_pre3-r3.ebuild 1363 BLAKE2B 42e78f5f7b009c28062e9ed680324012bb12bd00ca1ed1d67d2ee94695776c1f4e81f7e7e7d89fa945ebc34b8b0252dccb63cc0895754d4a58defde6022f9712 SHA512 59112852c437c08667d74dde107043a58b3bd2f538c9c05ae5e9782b117f1176e642ba84a81bf473a028dc62619ad090974e23c4e04a0360dc58481bf7fb3d38 MISC metadata.xml 245 BLAKE2B bb1fa134a1ab0bee07b6649f4f2d45777c09e2492ead1b3afc8e39539b73704f75fe1fafb4392b7cb871a831469cc52c7f6da25b74840492df0124ffd99c8a01 SHA512 7146afd91997f6db5f7c6a33e81c9ab6305b22d00b73c60bb04597b47266887d3fee30b75541f8cb167979e7337ec805256cd4455de661ed1e9f5b79a6c08554 diff --git a/x11-wm/matwm2/matwm2-0.1.2_pre3-r3.ebuild b/x11-wm/matwm2/matwm2-0.1.2_pre3-r3.ebuild new file mode 100644 index 000000000000..2ed16e0d950a --- /dev/null +++ b/x11-wm/matwm2/matwm2-0.1.2_pre3-r3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo toolchain-funcs + +MY_PV="${PV//_/}" + +DESCRIPTION="Simple EWMH compatible window manager with titlebars and frames" +HOMEPAGE="https://github.com/segin/matwm2" +SRC_URI="https://github.com/segin/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}/${PN}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug xft xinerama" + +RDEPEND=" + x11-libs/libXext + x11-libs/libX11 + xft? ( x11-libs/libXft ) + xinerama? ( x11-libs/libXinerama )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-destdir-fix.patch ) + +src_prepare() { + default + + # Let the package manager handle stripping + sed -e 's/install -s/install/g' -i Makefile.in || die +} + +src_configure() { + # configure is not autotools based + local myconfigureargs=( + --prefix="${EPREFIX}/usr" + --mandir="${EPREFIX}/usr/share/man" + --cc="$(tc-getCC)" + $(usev debug --enable-debug) + $(usev !xft --disable-xft) + $(usev !xinerama --disable-xinerama) + ) + + edo ./configure "${myconfigureargs[@]}" +} + +src_install() { + default + + docompress -x /usr/share/doc/${PF}/default_matwmrc + dodoc default_matwmrc + + insinto /usr/share/xsessions + doins "${FILESDIR}"/${PN}.desktop + + exeinto /etc/X11/Sessions + newexe - ${PN} <<-EOF + #!/bin/sh + ${PN} + EOF +} |