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 2807615800A for ; Tue, 8 Aug 2023 06:36:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 686FE2BC013; Tue, 8 Aug 2023 06:36:13 +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 487222BC013 for ; Tue, 8 Aug 2023 06:36:13 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 52C16335D72 for ; Tue, 8 Aug 2023 06:36:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3ECCF29 for ; Tue, 8 Aug 2023 06:36:10 +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: <1691476560.7a097d121d46c7588d136bb0f0a84da621d58f6e.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.9.0.ebuild X-VCS-Directories: media-gfx/ueberzugpp/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 7a097d121d46c7588d136bb0f0a84da621d58f6e X-VCS-Branch: master Date: Tue, 8 Aug 2023 06:36:10 +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: 13326c46-3498-4364-8f58-e9d80adcba1e X-Archives-Hash: d19c1f3c741613cfa3f1018fe98aa510 commit: 7a097d121d46c7588d136bb0f0a84da621d58f6e Author: Ionen Wolkens gentoo org> AuthorDate: Tue Aug 8 06:14:59 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Aug 8 06:36:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a097d12 media-gfx/ueberzugpp: add 2.9.0 Signed-off-by: Ionen Wolkens gentoo.org> media-gfx/ueberzugpp/Manifest | 1 + media-gfx/ueberzugpp/ueberzugpp-2.9.0.ebuild | 70 ++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest index fe565f147a40..f85b174ef9ec 100644 --- a/media-gfx/ueberzugpp/Manifest +++ b/media-gfx/ueberzugpp/Manifest @@ -1 +1,2 @@ DIST ueberzugpp-2.8.9.tar.gz 58717 BLAKE2B 5f7aaf1f3fafe1d512d9c284dba1e34d5b214f18ab06b8c02896f726cf09eae6c2482210d8cd2ba7d4909c91685e2bfdfd0fd07702cc18b2a122e489f1fe2494 SHA512 37ddc89a5e769815a0b86599ee81cf8024b7dcce2f7129c6b49210ac99749c5cb76b787a8547fa8d246ce3eee24c8d972852e6d18db617bbed7125569bee2c1a +DIST ueberzugpp-2.9.0.tar.gz 65829 BLAKE2B 55498b49077e2a85546d251efd082b67f811513d87064bb907e29ec5f4b72a22ed9c85be7296a5a9594fe1c520041c61b458acc96ac6f187106079b3429ace37 SHA512 4b21565a8ed2874f966fd5618fc043932dd9b310812be0e36b9c6548af11b773ca2d2977458ddd50db70e0fbe2d603c408480c5982e9538220c8c7173d30e6b2 diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.9.0.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.9.0.ebuild new file mode 100644 index 000000000000..828290c2ec13 --- /dev/null +++ b/media-gfx/ueberzugpp/ueberzugpp-2.9.0.ebuild @@ -0,0 +1,70 @@ +# 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" +KEYWORDS="~amd64" +IUSE="X opencv opengl wayland xcb-errors" +REQUIRED_USE="xcb-errors? ( X )" + +RDEPEND=" + dev-cpp/tbb:= + dev-libs/glib:2 + dev-libs/libfmt:= + dev-libs/openssl:= + dev-libs/spdlog:= + media-gfx/chafa + media-libs/libsixel + media-libs/vips:= + X? ( + x11-libs/libxcb:= + x11-libs/xcb-util-image + xcb-errors? ( x11-libs/xcb-util-errors ) + ) + opencv? ( media-libs/opencv:= ) + opengl? ( media-libs/libglvnd ) + wayland? ( dev-libs/wayland ) + !media-gfx/ueberzug +" +DEPEND=" + ${RDEPEND} + dev-cpp/cli11 + dev-cpp/ms-gsl + dev-cpp/nlohmann_json + X? ( x11-base/xorg-proto ) + wayland? ( dev-libs/wayland-protocols ) +" +BDEPEND=" + wayland? ( + dev-util/wayland-scanner + kde-frameworks/extra-cmake-modules + ) +" + +src_configure() { + # TODO?: wayfire plugin is skipped for now (needs wlroots which is + # likely to be messier), but could be handled if there is a demand + + local mycmakeargs=( + -DENABLE_OPENCV=$(usex opencv) + -DENABLE_OPENGL=$(usex opengl) + -DENABLE_TURBOBASE64=no # not packaged + -DENABLE_WAYLAND=$(usex wayland) + -DENABLE_X11=$(usex X) + -DENABLE_XCB_ERRORS=$(usex xcb-errors) + -DFETCHCONTENT_FULLY_DISCONNECTED=yes + ) + + cmake_src_configure +}