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 B458715817D for ; Sun, 9 Jun 2024 16:04:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09F2EE2A88; Sun, 9 Jun 2024 16:04:45 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E0633E2A88 for ; Sun, 9 Jun 2024 16:04:44 +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 E09DA33C1C1 for ; Sun, 9 Jun 2024 16:04:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77D481A4A for ; Sun, 9 Jun 2024 16:04:42 +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: <1717949068.ea40646a5b32093f24d3bc279ebcc67a1004aa85.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.6.ebuild X-VCS-Directories: media-gfx/ueberzugpp/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: ea40646a5b32093f24d3bc279ebcc67a1004aa85 X-VCS-Branch: master Date: Sun, 9 Jun 2024 16:04:42 +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: 1593c880-6c5e-4697-9d32-1744ed609f03 X-Archives-Hash: 25a05533c62dc9deb6e39392390c4aef commit: ea40646a5b32093f24d3bc279ebcc67a1004aa85 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Jun 9 15:31:44 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Jun 9 16:04:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea40646a media-gfx/ueberzugpp: add 2.9.6 Signed-off-by: Ionen Wolkens gentoo.org> media-gfx/ueberzugpp/Manifest | 1 + media-gfx/ueberzugpp/ueberzugpp-2.9.6.ebuild | 79 ++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest index 3ea3915ee642..17dbd46ae11d 100644 --- a/media-gfx/ueberzugpp/Manifest +++ b/media-gfx/ueberzugpp/Manifest @@ -1 +1,2 @@ DIST ueberzugpp-2.9.5.tar.gz 69268 BLAKE2B 9a31c7d5135ca0c5b85e250f9cbb5fb10e22344a7c6bf5393a04ec928580844470b24b0471aa609a83a0f1cbfed17944aabdec9ee5d6ddffe90720fa46bf80ad SHA512 43576ba504ec66a909c170122db808a8ae55535d54cad09172590af2790c981b1bfba6ba0f749a5ca9881a15cfdcdb0c34fbb2533f72011a786fd1413d1f91c4 +DIST ueberzugpp-2.9.6.tar.gz 69379 BLAKE2B 86d29724ff768536bef2385d456d61509db58c8e83fe0c9711684f86b70e1e45d1d1bb7b970a036c408f575e8d31659b336111cfcc0dc39f7867010e56d9e79b SHA512 bb70933cbc887cc3967c6011f0616d056f5723f333f6cfd70e7a3dd785791b83b9855c0b3d0c901efc59d65ba113462946bc0f08d57cf845ec6c59ec861da874 diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.9.6.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.9.6.ebuild new file mode 100644 index 000000000000..d3d4f397c2d9 --- /dev/null +++ b/media-gfx/ueberzugpp/ueberzugpp-2.9.6.ebuild @@ -0,0 +1,79 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic toolchain-funcs + +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 dbus 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 ) + ) + dbus? ( sys-apps/dbus ) + opencv? ( media-libs/opencv:= ) + opengl? ( media-libs/libglvnd ) + wayland? ( dev-libs/wayland ) + !media-gfx/ueberzug +" +DEPEND=" + ${RDEPEND} + dev-cpp/cli11 + dev-cpp/nlohmann_json + dev-cpp/range-v3 + X? ( x11-base/xorg-proto ) + wayland? ( dev-libs/wayland-protocols ) +" +BDEPEND=" + wayland? ( + dev-util/wayland-scanner + kde-frameworks/extra-cmake-modules + ) +" + +src_configure() { + if use X && tc-is-clang && has_version sys-libs/libcxx; then + # X support makes use of C++20's std::jthread which is currently + # marked experimental (at least) in <=libcxx-18 (should limit + # version in above libcxx check whenever this becomes unnecessary) + append-cxxflags $(test-flags-CXX -fexperimental-library) + fi + + # 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_DBUS=$(usex dbus) + -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 +}