From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B218158649 for ; Fri, 12 May 2023 09:02:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 769F2E0BF1; Fri, 12 May 2023 09:02:48 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 5A4F5E0BF1 for ; Fri, 12 May 2023 09:02:48 +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 69E37335DAD for ; Fri, 12 May 2023 09:02:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F69CA6E for ; Fri, 12 May 2023 09:02:44 +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: <1683881978.9c5400955275cd01f1bb57c3543f53732bd6305b.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/ueberzugpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/ueberzugpp/Manifest media-gfx/ueberzugpp/ueberzugpp-2.8.1.ebuild X-VCS-Directories: media-gfx/ueberzugpp/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 9c5400955275cd01f1bb57c3543f53732bd6305b X-VCS-Branch: master Date: Fri, 12 May 2023 09:02:44 +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: b7705a23-1e9f-4479-b70b-86cf0013daae X-Archives-Hash: d78abf7f2f770904b8b1475953fca5e5 commit: 9c5400955275cd01f1bb57c3543f53732bd6305b Author: Ionen Wolkens gentoo org> AuthorDate: Fri May 12 06:59:07 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri May 12 08:59:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c540095 media-gfx/ueberzugpp: add 2.8.1 (unkeyworded) Initially tried to add this version, but has some code refactoring which seems(?) to break things -- e.g. with ytfzf thumbnails are too small (likely confusing terminal cols/rows with pixels), and kitty output just segfaults. Barely came out (few hours ago), so going to give it some time to see what's up. Signed-off-by: Ionen Wolkens gentoo.org> media-gfx/ueberzugpp/Manifest | 1 + media-gfx/ueberzugpp/ueberzugpp-2.8.1.ebuild | 59 ++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest index 6ada33d3f14a..952bf5556761 100644 --- a/media-gfx/ueberzugpp/Manifest +++ b/media-gfx/ueberzugpp/Manifest @@ -1 +1,2 @@ DIST ueberzugpp-2.8.0.tar.gz 38768 BLAKE2B 80c879196339e3ce8fc5aeb2a87df8d3785021f72e5c0e47c55026d5cefc8cd3caa2174fea8413c642f54190970480488a6ec09d93e765b59dcf6616369dfbb7 SHA512 a5fceec97300cc3ada6c087fadc3b2d70f574207c5fd3f682c1a56b877c2b76ff40abe0ae76767e22ae82742be2bedee782e0ec86d200d28a15061bc1b4c2696 +DIST ueberzugpp-2.8.1.tar.gz 41270 BLAKE2B 249c10aafe33d83ceedd9632d2518fdbf724e07f49539704a6dd2ef0c3c942017c64b9ade3142cefa45ac19299176cd0a91b5a49f7467e2b04466e901b2a5c73 SHA512 d7f7e08a713c7e882f6de37f0d39913fdd6d3ca2c40e4520bac56a01cfcdbf6cc7095128602f15ec95b824b240e91ad231ac85fe651216708ba378ae5eeff7a1 diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.8.1.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.8.1.ebuild new file mode 100644 index 000000000000..a4af8962ba58 --- /dev/null +++ b/media-gfx/ueberzugpp/ueberzugpp-2.8.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Drop in replacement for ueberzug written in C++" +HOMEPAGE="https://github.com/jstkdng/ueberzugpp/" +SRC_URI="https://github.com/jstkdng/ueberzugpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +# unkeyworded for testing, contains code refactoring and seem to have issues +KEYWORDS="" +IUSE="X opencv" + +RDEPEND=" + dev-cpp/tbb:= + dev-libs/glib:2 + dev-libs/libfmt:= + dev-libs/openssl:= + dev-libs/spdlog:= + media-libs/libsixel + media-libs/vips:= + net-libs/zeromq:= + X? ( + x11-libs/libxcb:= + x11-libs/xcb-util-image + ) + opencv? ( media-libs/opencv:= ) + !media-gfx/ueberzug" +DEPEND=" + ${RDEPEND} + dev-cpp/cli11 + dev-cpp/nlohmann_json + net-libs/cppzmq + X? ( x11-base/xorg-proto )" + +src_configure() { + CMAKE_BUILD_TYPE=Release # install target wants this + + local mycmakeargs=( + -DENABLE_OPENCV=$(usex opencv) + -DENABLE_X11=$(usex X) + -DENABLE_TURBOBASE64=no # not packaged + -DFETCHCONTENT_FULLY_DISCONNECTED=yes + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + # not handled by cmake, but upstream creates the pp symlink in their + # self-maintained AUR package and some scripts like ytfzf look for it + dosym ueberzug /usr/bin/${PN} +}