summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornick black <dankamongmen@gmail.com>2021-07-29 07:55:57 -0400
committerJoonas Niilola <juippis@gentoo.org>2021-07-31 10:54:12 +0300
commitd81b136a8d906f399cff09f20366fb1a1ba2d6a6 (patch)
tree5f7d2e7b02128c7d4325f983bcd78b1bf0d973d4 /dev-cpp
parentdev-ruby/unf_ext: cleanup (diff)
downloadgentoo-d81b136a8d906f399cff09f20366fb1a1ba2d6a6.tar.gz
gentoo-d81b136a8d906f399cff09f20366fb1a1ba2d6a6.tar.bz2
gentoo-d81b136a8d906f399cff09f20366fb1a1ba2d6a6.zip
dev-cpp/notcurses: 2.3.12 bump
Signed-off-by: Nick Black <dankamongmen@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/notcurses/Manifest2
-rw-r--r--dev-cpp/notcurses/notcurses-2.3.12.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-cpp/notcurses/Manifest b/dev-cpp/notcurses/Manifest
index 7a1cd0b1733a..8681826c2360 100644
--- a/dev-cpp/notcurses/Manifest
+++ b/dev-cpp/notcurses/Manifest
@@ -1,2 +1,4 @@
+DIST notcurses-2.3.12.tar.gz 12180246 BLAKE2B 9e5f5bfc6853b8ad04f33efa823b4365f496ae5ec854c40c19b1a17690c0f2ece4902673d13ce02f7ccf337393472fac60bce5fd63a0529fc3903195d0547282 SHA512 83cbc91fcee871aa88eca3857930e9767a743c889aa8a85bf5bf26d46ba739adfd8edf67bf53b92383de58cfdc9a761d0854a7689fb30a0d5d1e2872c27e5c48
DIST notcurses-2.3.6.tar.gz 11835854 BLAKE2B d701d032db2596c9772396862fb240e3f4797c699c13f331ae0aec8aaaf874fd3547f001c27af1d4cee7ea3e85c6d1fe5e74ef05da9832b197ab297a63badf60 SHA512 132a033adad18d261c12de8de0227fa2b3d91c3dc10680919b9401a09d7643fe16bd4b8fa1a868ded7d4fd9f002e437b8ea9b3c464a22fcdecd8f102a05a68b4
+DIST notcurses-doc-2.3.12.tar.gz 128286 BLAKE2B 048e799ffd17f980f6653e3b639238c529fc613677a7b4e413296e87b0abd7ade4e63518ad8dd944691b2cb9e77812bb32efb337a991366351872597f2df2081 SHA512 c1636a2a4ee72dde60adcf0ebadf3c2265901ae99337ed3e91dfe915c518703f69bd302a85fd5733ca490abe89bf5fb65994945cdf27dd27a0d13d800800c4e6
DIST notcurses-doc-2.3.6.tar.gz 124425 BLAKE2B 9edf3498b0f1ac9c0d6f9724715e33eeb6d008c515c16acb104ed92f066251e570b1cc9917e71465f21ed7d66702ae2f6c9aa303cca092b14a92b093048c413a SHA512 9bdbb6c1603dbcd1800ef6f72c2ae3f143625fd9be40f497df7473086f57a8fe6483e27db5905f0951f4e1ff4c988781cec71eb32d5fd574abb5aab2f7763c4e
diff --git a/dev-cpp/notcurses/notcurses-2.3.12.ebuild b/dev-cpp/notcurses/notcurses-2.3.12.ebuild
new file mode 100644
index 000000000000..db8a559116e6
--- /dev/null
+++ b/dev-cpp/notcurses/notcurses-2.3.12.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
+}