diff options
author | Sam James <sam@gentoo.org> | 2022-10-17 23:01:09 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-17 23:01:09 +0100 |
commit | c075797d89f3bf6c2ddbbc681772e346c0ab44c5 (patch) | |
tree | 5b049436b497b56744b32510caf999c58d108c9d /dev-cpp | |
parent | app-misc/boxes: add libunistring dep; add xxd test dep (diff) | |
download | gentoo-c075797d89f3bf6c2ddbbc681772e346c0ab44c5.tar.gz gentoo-c075797d89f3bf6c2ddbbc681772e346c0ab44c5.tar.bz2 gentoo-c075797d89f3bf6c2ddbbc681772e346c0ab44c5.zip |
dev-cpp/notcurses: add 3.0.8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/notcurses/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/notcurses/notcurses-3.0.8.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-cpp/notcurses/Manifest b/dev-cpp/notcurses/Manifest index 7a9da35027f2..cf590785540d 100644 --- a/dev-cpp/notcurses/Manifest +++ b/dev-cpp/notcurses/Manifest @@ -1,2 +1,4 @@ DIST notcurses-3.0.5.tar.gz 10135637 BLAKE2B a0ce682dca69de15eb17b153a96e7159ae2ff00f36694dbd72caa6fe0938bf52a5a1e1319ca8f3f011c56fb51fcb23e1b029b6b3307153f8c8768a58fd150aa8 SHA512 81aef639afc78225c4eb81f5576b773a5714476f09062f5ff290c10d4ab6ad3d67646c836556a0404f638684bfc3774897f75408033f447a6a14529c5f9f04b6 +DIST notcurses-3.0.8.tar.gz 10146073 BLAKE2B 82540f37bbb27858692df5cf081f7ebbfebdf3c6024c4967d7402c86bbba4caeb8ff9ab4449c51c83b1a971c92af5dee1c53648ede80d8925c500398513f89ca SHA512 ed019daea4cc462043876d61c7798c7aa6a39e70671158388c8a108426172cefd7fd3dbac90d1a0eee1e26c9c1a7b16c98d49bd8be02fd39650dbdda67e545bb DIST notcurses-doc-3.0.5.tar.gz 148376 BLAKE2B d899a21e40b5c39ee455326c607301a73fbe63f7e5336323397441bdb127324b50c444de578de08752a735b38476549c54b3902a0f4675722db6667ecd383195 SHA512 88537f912b9044337542d0c2dfa3777f5837a6a9fdbbe9ba2152c2e2874fca1c54a73e9f6459b9bd78784f4b3042845e9dc3ef7018cf9be043c6111eda70a82e +DIST notcurses-doc-3.0.8.tar.gz 150000 BLAKE2B 8262157c051876302889c74e7986be928d9997e8b5e69028e2edf996df2f93078dcc584e2bb2860a74fecdc8e52c17d3448638f39036fe8acd8b54c0b6af3a39 SHA512 ff2d4a5fddfd775d862b4f1b93131d4600c3e15b1044b73a0b24fe5a6ffe6298960c4caab2848c4dc2ba2872d50fba49f86f34433e36b7e3f3782e920497defb diff --git a/dev-cpp/notcurses/notcurses-3.0.8.ebuild b/dev-cpp/notcurses/notcurses-3.0.8.ebuild new file mode 100644 index 000000000000..7966695b02fe --- /dev/null +++ b/dev-cpp/notcurses/notcurses-3.0.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +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" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/libunistring:= + media-video/ffmpeg:= + sys-libs/gpm + sys-libs/ncurses:=" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + -DUSE_DEFLATE=OFF + -DUSE_DOCTEST=OFF + -DUSE_GPM=ON + -DUSE_MULTIMEDIA=ffmpeg + -DUSE_PANDOC=OFF + -DUSE_QRCODEGEN=OFF + -DUSE_STATIC=OFF + ) + cmake_src_configure +} + +src_test() { + ewarn "Tests will fail if you don't have a UTF8 locale available," + ewarn "or if you're missing the proper terminfo database for your TERM." + + cmake_src_test +} + +src_install() { + cmake_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 +} |