From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1291520-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 1D57E13835A
	for <garchives@archives.gentoo.org>; Tue,  8 Jun 2021 07:39:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 11CFCE0863;
	Tue,  8 Jun 2021 07:39:31 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id EE5F4E0863
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Jun 2021 07:39:30 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0B01C340B1E
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Jun 2021 07:39:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 95EC57A0
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Jun 2021 07:39:28 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1623137929.bdd497f5df935e2a60afcd1ecab978fcd8e24557.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/notcurses/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-cpp/notcurses/Manifest dev-cpp/notcurses/notcurses-2.3.1.ebuild
X-VCS-Directories: dev-cpp/notcurses/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: bdd497f5df935e2a60afcd1ecab978fcd8e24557
X-VCS-Branch: master
Date: Tue,  8 Jun 2021 07:39:28 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f033f7cd-fb51-4a09-9519-bc6118a5bb0a
X-Archives-Hash: 86e03c256f2eee39819a6d6c34633d4e

commit:     bdd497f5df935e2a60afcd1ecab978fcd8e24557
Author:     nick black <dankamongmen <AT> gmail <DOT> com>
AuthorDate: Sun May 23 09:29:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  8 07:38:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd497f5

dev-cpp/notcurses: add 2.3.1

Signed-off-by: nick black <nickblack <AT> linux.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/notcurses/Manifest               |  2 ++
 dev-cpp/notcurses/notcurses-2.3.1.ebuild | 50 ++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-cpp/notcurses/Manifest b/dev-cpp/notcurses/Manifest
index 1534de2f89c..4ce90b84601 100644
--- a/dev-cpp/notcurses/Manifest
+++ b/dev-cpp/notcurses/Manifest
@@ -1,2 +1,4 @@
 DIST notcurses-2.2.8.tar.gz 11255362 BLAKE2B d56f48ecfcfc107d696bb1da029afba8c8a29ea6f0d6317ccdd42d895d890c0cc1d46120566c2f60bd554c2a57aa60409276632216608b29469421a1c22cecf2 SHA512 7455ad1dfbeda68a0b2c35ba3bb28eab3bc0be1ca4db12ce0e3662cf12f1e541dec506c9896624f77ef8032ae6b644ee85ac5abf2272f54fb1c9038b33214892
+DIST notcurses-2.3.1.tar.gz 11744925 BLAKE2B f0b64b70aa898f083383150690a00ddee0355dab6208548c43c44fda5ae2ad96ec2ce63035321813b9f1dfc6c18ee29611917d84a118c84ccbbf39c823a50119 SHA512 2faecd40cce48e24af85049eeb2fc319e48d3a5710a72f72fca1804f4275c5c8cf36906a3f8297966452b6d11c4ef7029b713994d8455ef10ea90f258d06e2ce
 DIST notcurses-doc-2.2.8.tar.gz 115654 BLAKE2B c770f81a3ad4071f75e84caaa4370f26e68ced2489586ae857a8e3c2cf998e0d7b5d84b8fd09150ace51898731150e499f648ad2e6d5be442df11c648ba58ccd SHA512 1a2c8931bd4f68dfdd2fa921d06b639d5fa382d826d5c9e0186b4d0160f220f3f32b1eb19f17136c4d452c8afd9f6fff1b4f463a11d847ef9216ddb94b5c8ab8
+DIST notcurses-doc-2.3.1.tar.gz 120206 BLAKE2B f0e82cde6f5f9f6274c07ebb582a74f81b4fbff0340e5f83f5a3d19a6608b3a264ed6eecaff9a5497099ad32328da3c3e894f9157fd073deb560f8c5a58012e7 SHA512 89b18f316b50962e9f0e46cfde07e93f8f581130ce0ba7f19c3f800a7262bc7a30144765f765e0a852f35e6a8fe88805cc19c7e868ed8514a465611fd42aae6f

diff --git a/dev-cpp/notcurses/notcurses-2.3.1.ebuild b/dev-cpp/notcurses/notcurses-2.3.1.ebuild
new file mode 100644
index 00000000000..db8a559116e
--- /dev/null
+++ b/dev-cpp/notcurses/notcurses-2.3.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="Blingful TUIs and character graphics"
+HOMEPAGE="https://notcurses.com"
+SRC_URI="https://github.com/dankamongmen/notcurses/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/dankamongmen/notcurses/releases/download/v${PV}/notcurses-doc-${PV}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/libunistring
+	media-video/ffmpeg
+	>=sys-libs/readline-8.0"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DUSE_DOCTEST=OFF
+		-DUSE_MULTIMEDIA=ffmpeg
+		-DUSE_PANDOC=OFF
+		-DUSE_QRCODEGEN=OFF
+		-DUSE_STATIC=OFF
+	)
+	cmake-multilib_src_configure
+}
+
+src_compile() {
+	cmake-multilib_src_compile
+}
+
+src_test() {
+	multilib_src_test
+}
+
+src_install() {
+	cmake-multilib_src_install
+
+	# we use this tortured form lest we try, every time we release a
+	# x.y.1 or x.y.3, to install the source dir as a man page.
+	# exploit the fact that there's a bijection from html<>man.
+	for i in ../*.html ; do
+		doman ../$(basename ${i} .html || die)
+	done
+}