diff options
-rw-r--r-- | dev-cpp/notcurses/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/notcurses/notcurses-2.4.9.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-cpp/notcurses/Manifest b/dev-cpp/notcurses/Manifest index 069e97c8ca6d..448702fd164e 100644 --- a/dev-cpp/notcurses/Manifest +++ b/dev-cpp/notcurses/Manifest @@ -1,2 +1,4 @@ +DIST notcurses-2.4.9.tar.gz 10097240 BLAKE2B e73395eeadaf9cffa999566218f4f6b05696175d0e083c504d30c2bb1b870546fcca47e5d82a5e78a351f7f18e7679564dfebb1baeae73ba5f3238a0f94feb39 SHA512 c8774a8b413fb00a0051e4067419785d9fe958c56df0eeecb42c3e0430788bb039e355c8bbcdc63f0bcbc2c33ca0d130d05dbbfdb22a12bc4c9c8d1529976b33 +DIST notcurses-doc-2.4.9.tar.gz 136681 BLAKE2B d16d80bda84dd1ce96a0edc6dd9fab80b22dfd9284daff68d2f4fc28542fddfafcc42b40969b6e4655c750246004f2410d8a578a04036347de99ca11217cef40 SHA512 8bb490c8297a9cc8f99cac46172d5c2a6bc376725e03eaeb6a0495ed8a712d7c31998b7c8b511dfc1b69a3e082fdb1dba1e4d4d2d05cc5a9bddcc547e682fe4e DIST notcurses-2.4.5.tar.gz 10082686 BLAKE2B 7205f4b5864cf9c09342a4c171f16be85abe92c1ad445ff31aa180837628b897fee8ce702340b68457b729f741a67d360e233d4344244627ed7bffcc07ae9818 SHA512 0ad1f22b591fd36eea9917c50b51a7811aec9662edec475d5555896115b5c7d3e51487a3b1d67298cfc5472be367d7b8a71b6554811e8e3a4d9d781adc2d01eb DIST notcurses-doc-2.4.5.tar.gz 133547 BLAKE2B 65795b4f58eb9f905f17a58e7435579f1bc17e72d0aa8816f6dd7c9f41fc1b8568dc078a93c9184e6324e6c02d3187f36e95f41ba9cf8dbd3dd1be5074b55f11 SHA512 9c29fda1b13530931f7f1768b607371e553f8b1fbd573c4cd80bbfacafa2e9b2eaa2063c4c324e8d9878fe62f44c013ab2402126e97f484a4442e791922c3622 diff --git a/dev-cpp/notcurses/notcurses-2.4.9.ebuild b/dev-cpp/notcurses/notcurses-2.4.9.ebuild new file mode 100644 index 000000000000..56e13b2f06ae --- /dev/null +++ b/dev-cpp/notcurses/notcurses-2.4.9.ebuild @@ -0,0 +1,53 @@ +# 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/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 +} |