From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0CEC1584F2 for ; Wed, 12 Mar 2025 10:15:14 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id ADD96343163 for ; Wed, 12 Mar 2025 10:15:14 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D1B25110475; Wed, 12 Mar 2025 10:14:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C8F63110473 for ; Wed, 12 Mar 2025 10:14:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81F5D34314F for ; Wed, 12 Mar 2025 10:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B134A28F1 for ; Wed, 12 Mar 2025 10:14:46 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1741774304.44f872775eec3d190acfcbbc1ef3e30d97e89874.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/notcurses/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/notcurses/notcurses-3.0.8-r1.ebuild X-VCS-Directories: dev-cpp/notcurses/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 44f872775eec3d190acfcbbc1ef3e30d97e89874 X-VCS-Branch: master Date: Wed, 12 Mar 2025 10:14:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dc6e3f89-fc57-4660-bf9d-6ffa086653cc X-Archives-Hash: 059973f9a4764f47d101d61b173b6959 commit: 44f872775eec3d190acfcbbc1ef3e30d97e89874 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Mar 12 08:46:29 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Mar 12 10:11:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f87277 dev-cpp/notcurses: use ffmpeg-compat It is possible fixes already exist for ffmpeg-7 on this package, but not planning to look into that myself. Bug: https://bugs.gentoo.org/948466 Signed-off-by: Ionen Wolkens gentoo.org> dev-cpp/notcurses/notcurses-3.0.8-r1.ebuild | 59 +++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/dev-cpp/notcurses/notcurses-3.0.8-r1.ebuild b/dev-cpp/notcurses/notcurses-3.0.8-r1.ebuild new file mode 100644 index 000000000000..ffadcdbcf4ea --- /dev/null +++ b/dev-cpp/notcurses/notcurses-3.0.8-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake ffmpeg-compat + +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-compat:6= + sys-libs/gpm + sys-libs/ncurses:=" +RDEPEND="${DEPEND}" + +src_configure() { + # TODO: fix with >=ffmpeg-7 then drop compat (bug #948466) + ffmpeg_compat_setup 6 + ffmpeg_compat_add_flags + + 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 +}