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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 693A7158094 for ; Fri, 7 Oct 2022 11:29:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A769EE08C3; Fri, 7 Oct 2022 11:28:59 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9153AE08C3 for ; Fri, 7 Oct 2022 11:28:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D85D63410B5 for ; Fri, 7 Oct 2022 11:28:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8EDF609 for ; Fri, 7 Oct 2022 11:28:55 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1665142094.053e6acf541a65c0dd708f9b23a8b7ff322f3613.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/dvtm/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/dvtm/dvtm-0.15-r6.ebuild X-VCS-Directories: app-misc/dvtm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 053e6acf541a65c0dd708f9b23a8b7ff322f3613 X-VCS-Branch: master Date: Fri, 7 Oct 2022 11:28:55 +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: 145d9767-7d17-4bcb-9f6b-1210e9d54049 X-Archives-Hash: f9656815dc8d3e81c033392a2409fa2d commit: 053e6acf541a65c0dd708f9b23a8b7ff322f3613 Author: Petr Vaněk atlas cz> AuthorDate: Thu Oct 6 15:11:49 2022 +0000 Commit: Sam James gentoo 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 atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/27663 Signed-off-by: Sam James 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}" +}