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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A9D11382C5 for ; Sun, 21 Mar 2021 08:08:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5F78E08C3; Sun, 21 Mar 2021 08:08:04 +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 8E312E08C3 for ; Sun, 21 Mar 2021 08:08:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 32C5233BED4 for ; Sun, 21 Mar 2021 08:08:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96DDF56F for ; Sun, 21 Mar 2021 08:08:01 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1616314000.cabc623be4ee53b9e0a58018c87de83ededaa097.juippis@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/metadata.xml dev-cpp/notcurses/notcurses-2.2.3.ebuild X-VCS-Directories: dev-cpp/notcurses/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: cabc623be4ee53b9e0a58018c87de83ededaa097 X-VCS-Branch: master Date: Sun, 21 Mar 2021 08:08:01 +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: 26467637-4a41-4420-94a5-e179f86acb65 X-Archives-Hash: 8ee454d84d9fafd568823dc254a356d7 commit: cabc623be4ee53b9e0a58018c87de83ededaa097 Author: nick black gmail com> AuthorDate: Wed Feb 10 10:23:57 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Mar 21 08:06:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cabc623b dev-cpp/notcurses: initial ebuild 2.2.3 Notcurses is a library for creating blingful TUIs and terminal graphics. It supports 8bpc RGB color, Unicode, pixel graphics using Sixel or the Kitty protocol, and sane multithreading. Signed-off-by: nick black gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19402 Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/notcurses/Manifest | 2 ++ dev-cpp/notcurses/metadata.xml | 22 ++++++++++++++ dev-cpp/notcurses/notcurses-2.2.3.ebuild | 51 ++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) diff --git a/dev-cpp/notcurses/Manifest b/dev-cpp/notcurses/Manifest new file mode 100644 index 00000000000..44dc9a74987 --- /dev/null +++ b/dev-cpp/notcurses/Manifest @@ -0,0 +1,2 @@ +DIST notcurses-2.2.3.tar.gz 10861361 BLAKE2B e7b487e84b5defbb1208f355c85f7178b05f412c2a746a8bcecb2da7db8df32da563aeb1f1f218014a2ff9803f0984889e4341d59f585add49c944d4707e5cd4 SHA512 9c718a39352cc10e4f4cb24cd7940ccc7ac7ad1f5890f1a87166267b3c24011629464a4720f08c2b8bbf0fab2c5cb9b31fba7a43bc62ae65dff894019adece7d +DIST notcurses-doc-2.2.3.tar.gz 89550 BLAKE2B a42c74f95166e48ecff99a05d66925869a44a44c4faa867cca663d94ee340748417d6560d022fdb90c7761c19285b0c4838b75843a3d26d25182977f68a0d6ce SHA512 b61f829d1ad5f69147a7b4fe139db406d5a26683b55d72251f3e313c17f591ad4e9e868577fbecf86c4ac9959c942e244927fb29a2e44996fadde7946493ccc8 diff --git a/dev-cpp/notcurses/metadata.xml b/dev-cpp/notcurses/metadata.xml new file mode 100644 index 00000000000..3fe0567d3e8 --- /dev/null +++ b/dev-cpp/notcurses/metadata.xml @@ -0,0 +1,22 @@ + + + + + dankamongmen@gmail.com + nick black + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Notcurses facilitates the creation of modern TUI programs, + making full use of Unicode and 24-bit TrueColor. It presents + an API similar to that of Curses, and rides atop Terminfo. + + + Notcurses facilita la creación de programas TUI actuales, + haciendo un uso completo de Unicode y color real de 24 bits. + Presenta una API similar a la de Curses y funciona sobre Terminfo. + + diff --git a/dev-cpp/notcurses/notcurses-2.2.3.ebuild b/dev-cpp/notcurses/notcurses-2.2.3.ebuild new file mode 100644 index 00000000000..e605c199a79 --- /dev/null +++ b/dev-cpp/notcurses/notcurses-2.2.3.ebuild @@ -0,0 +1,51 @@ +# 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 doc? ( https://github.com/dankamongmen/notcurses/releases/download/v${PV}/notcurses-doc-${PV}.tar.gz )" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+doc" + +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 + if use doc ; then + # 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) + done + fi +}