public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/dvtm/
Date: Fri,  7 Oct 2022 11:28:55 +0000 (UTC)	[thread overview]
Message-ID: <1665142094.053e6acf541a65c0dd708f9b23a8b7ff322f3613.sam@gentoo> (raw)

commit:     053e6acf541a65c0dd708f9b23a8b7ff322f3613
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Thu Oct  6 15:11:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 11:28:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053e6acf

app-misc/dvtm: update EAPI 6 -> 8

Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/27663
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/dvtm/dvtm-0.15-r6.ebuild | 62 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/app-misc/dvtm/dvtm-0.15-r6.ebuild b/app-misc/dvtm/dvtm-0.15-r6.ebuild
new file mode 100644
index 000000000000..85425583c5af
--- /dev/null
+++ b/app-misc/dvtm/dvtm-0.15-r6.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Dynamic virtual terminal manager"
+HOMEPAGE="https://www.brain-dump.org/projects/dvtm/"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="
+		https://github.com/martanne/dvtm
+		https://git.sr.ht/~martanne/dvtm
+		https://repo.or.cz/dvtm.git
+	"
+else
+	SRC_URI="https://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND=">=sys-libs/ncurses-6.1:=[unicode(+)]"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.15-gentoo.patch
+	"${FILESDIR}"/${PN}-0.15-stop-installing-terminfo.patch
+)
+
+src_prepare() {
+	default
+
+	restore_config config.h
+}
+
+src_compile() {
+	tc-export PKG_CONFIG
+	emake CC="$(tc-getCC)" ${PN}
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" STRIP=true install
+
+	insinto /usr/share/${PN}
+	newins config.h ${PF}.config.h
+
+	dodoc README.md
+
+	save_config config.h
+}
+
+pkg_postinst() {
+	elog "This ebuild has support for user defined configs"
+	elog "Please read this ebuild for more details and re-emerge as needed"
+	elog "if you want to add or remove functionality for ${PN}"
+}


             reply	other threads:[~2022-10-07 11:29 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-07 11:28 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-24 14:49 [gentoo-commits] repo/gentoo:master commit in: app-misc/dvtm/ Andreas Sturmlechner
2022-12-21 19:29 Sam James
2022-12-21 15:56 Arthur Zamarin
2022-12-21 15:56 Arthur Zamarin
2022-10-07 11:28 Sam James
2022-10-07 11:28 Sam James
2022-03-19 23:17 David Seifert
2022-02-05 21:02 Andreas Sturmlechner
2021-12-21  3:39 Yixun Lan
2021-11-15  2:35 Sam James
2021-11-14  9:19 Sam James
2020-09-26 19:40 Aaron Bauman
2018-04-21  9:23 Mikle Kolyada
2018-04-05 23:19 Thomas Deutschmann
2018-04-04 19:08 Aaron Bauman
2018-03-29  9:29 Chí-Thanh Christopher Nguyễn
2018-03-29  9:23 Chí-Thanh Christopher Nguyễn
2018-03-29  9:23 Chí-Thanh Christopher Nguyễn
2017-12-31 18:41 Jeroen Roovers
2017-12-25 14:43 David Seifert
2016-05-29 21:30 Chí-Thanh Christopher Nguyễn
2016-05-29 21:28 Chí-Thanh Christopher Nguyễn
2015-11-10 19:00 Markus Meier
2015-11-01 13:51 Mikle Kolyada
2015-10-30  9:18 Agostino Sarubbo

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=1665142094.053e6acf541a65c0dd708f9b23a8b7ff322f3613.sam@gentoo \
    --to=sam@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