diff options
author | Sam James <sam@gentoo.org> | 2022-09-09 09:58:42 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-09-09 09:58:42 +0200 |
commit | 2df04e9a0178530cd570367604c333372bf4a203 (patch) | |
tree | 9367e49e93f24f48397fb88835b8789d5dfe909c /dev-cpp/notcurses/notcurses-3.0.5-r1.ebuild | |
parent | dev-cpp/argparse: drop multilib, EAPI 8 (diff) | |
download | gentoo-2df04e9a0178530cd570367604c333372bf4a203.tar.gz gentoo-2df04e9a0178530cd570367604c333372bf4a203.tar.bz2 gentoo-2df04e9a0178530cd570367604c333372bf4a203.zip |
dev-cpp/notcurses: drop multilib
No multilib reverse-dependencies.
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-cpp/notcurses/notcurses-3.0.5-r1.ebuild')
-rw-r--r-- | dev-cpp/notcurses/notcurses-3.0.5-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-cpp/notcurses/notcurses-3.0.5-r1.ebuild b/dev-cpp/notcurses/notcurses-3.0.5-r1.ebuild new file mode 100644 index 000000000000..53d4a8c6d2f4 --- /dev/null +++ b/dev-cpp/notcurses/notcurses-3.0.5-r1.ebuild @@ -0,0 +1,51 @@ +# 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" + +DEPEND="dev-libs/libunistring:= + media-video/ffmpeg:= + sys-libs/gpm + sys-libs/ncurses:=" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -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 +} |