diff options
author | nick black <dankamongmen@gmail.com> | 2021-09-23 02:17:29 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-09-28 09:12:05 +0300 |
commit | 076253c41be3047838a56da58c6c7a0d81cb88e4 (patch) | |
tree | cd08b81d20eb91e957a51a87094df8fffe554b73 /dev-cpp/notcurses | |
parent | net-misc/cadaver: allow building with newer neon (diff) | |
download | gentoo-076253c41be3047838a56da58c6c7a0d81cb88e4.tar.gz gentoo-076253c41be3047838a56da58c6c7a0d81cb88e4.tar.bz2 gentoo-076253c41be3047838a56da58c6c7a0d81cb88e4.zip |
dev-cpp/notcurses: New upstream version 2.4.3
Signed-off-by: Nick Black <dankamongmen@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-cpp/notcurses')
-rw-r--r-- | dev-cpp/notcurses/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/notcurses/notcurses-2.4.3.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-cpp/notcurses/Manifest b/dev-cpp/notcurses/Manifest index ea7a7f3a0602..79a0a7fe7705 100644 --- a/dev-cpp/notcurses/Manifest +++ b/dev-cpp/notcurses/Manifest @@ -1,2 +1,4 @@ DIST notcurses-2.3.18.tar.gz 12146295 BLAKE2B e11960b1cf3591671751a02b716da0e1cc5caafa5a9bd12a7eb1f190aa3360270fb373ffe32fb854f26b9a8f25508e6e92436e1bc33d18480cf9c7e21582d336 SHA512 9b3d695e71014799330a5be77ee1e9e43d85e1bcbf9657c516f4c6ca6076651e3b40408fb3212cccfdfefc5643b6f504f7536eb674982049485effbb9e2233d4 DIST notcurses-doc-2.3.18.tar.gz 130180 BLAKE2B c280db393df33d54868eee0aee1bb4fe04c7100223251ac5ebeb416b13b3248039da58f1883a8adfc0657d69f38aab17c32e1b5597a7d611b7f1594f45700f50 SHA512 27dba504bf873680a7f2ca36739002d39d4e5b0f913d64b10926dda66a54d58eb019c7199f93ab04a6b7fb83ba3d646369e3a96d95a5ad548b7bd25f784bf823 +DIST notcurses-2.4.3.tar.gz 10070959 BLAKE2B 8be967d7f1d49936c12c46f4d9c54ac83e974e4f637fa224000a2459d4143590264dc75c4d36d55ec9cfaa0d737de3298e42156a25b3eef84109883b3e80e8ae SHA512 a16d4e8d8108f565fd6f073b9529b6d7d52569d5241ee0df7186b44800a82a5e488d275c01c6af045419a2ae960f14a99fffe0cf5d600b5901973d93d3c82f82 +DIST notcurses-doc-2.4.3.tar.gz 132158 BLAKE2B f96f41c659903e6fbac56318adf1de1b26dd7052e4c5958d60ff7f51c4c30ccf2a522f2581a69a7f54d1cd7774bb72fffc0bba760366294a261a7086611ff696 SHA512 7972d61cefcfa4cfdc3f6138202e1448c37dc2b3154307e4a7c0734e67b80919db75520f40f53c198c268f0f905720e75de4ef0ea7a6c0cd196a355b8dbf1e5c diff --git a/dev-cpp/notcurses/notcurses-2.4.3.ebuild b/dev-cpp/notcurses/notcurses-2.4.3.ebuild new file mode 100644 index 000000000000..238a985a305e --- /dev/null +++ b/dev-cpp/notcurses/notcurses-2.4.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/gpm + sys-libs/ncurses:= + >=sys-libs/readline-8.0:= + sys-libs/zlib" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DUSE_DOCTEST=OFF + -DUSE_GPM=ON + -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 +} |