public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/ueberzugpp/
Date: Sat, 11 May 2024 08:32:57 +0000 (UTC)	[thread overview]
Message-ID: <1715416355.3cf55884154c50efecececbe1d75bd43f7b0a98d.ionen@gentoo> (raw)

commit:     3cf55884154c50efecececbe1d75bd43f7b0a98d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 04:02:43 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat May 11 08:32:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cf55884

media-gfx/ueberzugpp: add 2.9.5

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-gfx/ueberzugpp/Manifest                |  1 +
 media-gfx/ueberzugpp/ueberzugpp-2.9.5.ebuild | 79 ++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest
index e49d5e6986a0..654a26a0ca94 100644
--- a/media-gfx/ueberzugpp/Manifest
+++ b/media-gfx/ueberzugpp/Manifest
@@ -1 +1,2 @@
 DIST ueberzugpp-2.9.4.tar.gz 67825 BLAKE2B 185919717cbbe97b98a44c2b91e244cf72bd760033b1a9d82e0d2f06db1d9b6d57557f57f4cedec8408d61e16658e90977569a63eb17a38afb36b134ff21889b SHA512 3d47874ecde4cc9030490c878851a21d94554538200ba41e87dd9f3aa760a6ed511aad573b820798492a82e4c49219cd4cdc79f5c99c6a80c322d09e618f82a6
+DIST ueberzugpp-2.9.5.tar.gz 69268 BLAKE2B 9a31c7d5135ca0c5b85e250f9cbb5fb10e22344a7c6bf5393a04ec928580844470b24b0471aa609a83a0f1cbfed17944aabdec9ee5d6ddffe90720fa46bf80ad SHA512 43576ba504ec66a909c170122db808a8ae55535d54cad09172590af2790c981b1bfba6ba0f749a5ca9881a15cfdcdb0c34fbb2533f72011a786fd1413d1f91c4

diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.9.5.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.9.5.ebuild
new file mode 100644
index 000000000000..d3d4f397c2d9
--- /dev/null
+++ b/media-gfx/ueberzugpp/ueberzugpp-2.9.5.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
+}


             reply	other threads:[~2024-05-11  8:33 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-11  8:32 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-19  2:24 [gentoo-commits] repo/gentoo:master commit in: media-gfx/ueberzugpp/ Ionen Wolkens
2024-06-28 14:45 Ionen Wolkens
2024-06-25 22:03 Sam James
2024-06-09 16:04 Ionen Wolkens
2024-05-26 18:19 Arthur Zamarin
2024-03-22  6:14 Arthur Zamarin
2024-03-20  7:17 Ionen Wolkens
2024-02-26 11:43 Ionen Wolkens
2024-02-25  1:19 Ionen Wolkens
2024-01-16  5:46 Viorel Munteanu
2023-10-10 20:20 Ionen Wolkens
2023-09-19 12:43 Ionen Wolkens
2023-09-18 11:57 Ionen Wolkens
2023-08-19 11:00 Ionen Wolkens
2023-08-19 11:00 Ionen Wolkens
2023-08-08  6:36 Ionen Wolkens
2023-08-06  4:32 Ionen Wolkens
2023-07-18  1:26 Ionen Wolkens
2023-06-23 22:10 Ionen Wolkens
2023-06-23 22:10 Ionen Wolkens
2023-06-10 11:09 Ionen Wolkens
2023-06-10 11:09 Ionen Wolkens
2023-06-01 11:45 Ionen Wolkens
2023-05-28 21:45 Ionen Wolkens
2023-05-28 21:45 Ionen Wolkens
2023-05-26 23:16 Ionen Wolkens
2023-05-26  2:39 Ionen Wolkens
2023-05-21 19:10 Ionen Wolkens
2023-05-21 19:10 Ionen Wolkens
2023-05-16  6:43 Ionen Wolkens
2023-05-13  7:27 Ionen Wolkens
2023-05-13  7:27 Ionen Wolkens
2023-05-12  9:02 Ionen Wolkens
2023-05-12  9:02 Ionen Wolkens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1715416355.3cf55884154c50efecececbe1d75bd43f7b0a98d.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox