public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/matwm2/
Date: Wed, 29 Jun 2022 09:07:22 +0000 (UTC)	[thread overview]
Message-ID: <1656493632.f1a9b2784876f4e62ac2f79f00f44821921d2dcd.soap@gentoo> (raw)

commit:     f1a9b2784876f4e62ac2f79f00f44821921d2dcd
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 29 09:07:12 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 09:07:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a9b278

x11-wm/matwm2: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ..._pre3-r1.ebuild => matwm2-0.1.2_pre3-r2.ebuild} | 35 +++++++++++-----------
 1 file changed, 17 insertions(+), 18 deletions(-)

diff --git a/x11-wm/matwm2/matwm2-0.1.2_pre3-r1.ebuild b/x11-wm/matwm2/matwm2-0.1.2_pre3-r2.ebuild
similarity index 65%
rename from x11-wm/matwm2/matwm2-0.1.2_pre3-r1.ebuild
rename to x11-wm/matwm2/matwm2-0.1.2_pre3-r2.ebuild
index c6e017074c9d..468d8e602220 100644
--- a/x11-wm/matwm2/matwm2-0.1.2_pre3-r1.ebuild
+++ b/x11-wm/matwm2/matwm2-0.1.2_pre3-r2.ebuild
@@ -1,33 +1,31 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit toolchain-funcs
+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"
-S="${WORKDIR}/${PN}-${MY_PV}/${PN}"
 
 RDEPEND="
 	x11-libs/libXext
 	x11-libs/libX11
 	xft? ( x11-libs/libXft )
-	xinerama? ( x11-libs/libXinerama )
-"
-DEPEND="
-	${RDEPEND}
-	virtual/pkgconfig
-"
+	xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
-PATCHES=( "${FILESDIR}/${P}-destdir-fix.patch" )
+PATCHES=( "${FILESDIR}"/${P}-destdir-fix.patch )
 
 src_prepare() {
 	default
@@ -42,24 +40,25 @@ src_configure() {
 		--prefix="${EPREFIX}/usr"
 		--mandir="${EPREFIX}/usr/share/man"
 		--cc="$(tc-getCC)"
-		$(usex debug "--enable-debug" "")
-		$(usex xft "" "--disable-xft")
-		$(usex xinerama "" "--disable-xinerama")
+		$(usev debug --enable-debug)
+		$(usev !xft --disable-xft)
+		$(usev !xinerama --disable-xinerama)
 	)
 
-	./configure "${myconfigureargs[@]}" || die
+	edo ./configure "${myconfigureargs[@]}"
 }
 
 src_install() {
 	default
 
-	docompress -x "${EPREFIX}/usr/share/doc/${PF}"/default_matwmrc
+	docompress -x /usr/share/doc/${PF}/default_matwmrc
 	dodoc default_matwmrc
 
 	insinto /usr/share/xsessions
 	doins "${FILESDIR}"/${PN}.desktop
 
-	echo ${PN} > "${T}"/${PN} || die
 	exeinto /etc/X11/Sessions
-	doexe "${T}"/${PN}
+	newexe - matwm2 <<- _EOF_
+		matwm2
+	_EOF_
 }


             reply	other threads:[~2022-06-29  9:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29  9:07 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-05 22:29 [gentoo-commits] repo/gentoo:master commit in: x11-wm/matwm2/ Sam James
2018-04-28  1:16 Matt Turner
2017-03-26 18:02 Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1656493632.f1a9b2784876f4e62ac2f79f00f44821921d2dcd.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox