From 590c04803f88a968b4a750c0f420eb314e1fe968 Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Tue, 19 Sep 2023 17:09:22 +0100
Subject: gentoo auto-resync : 19:09:2023 - 17:09:22

---
 media-gfx/Manifest.gz                        | Bin 37511 -> 37511 bytes
 media-gfx/ueberzugpp/Manifest                |   2 +
 media-gfx/ueberzugpp/ueberzugpp-2.9.2.ebuild |  70 +++++++++++++++++++++++++++
 3 files changed, 72 insertions(+)
 create mode 100644 media-gfx/ueberzugpp/ueberzugpp-2.9.2.ebuild

(limited to 'media-gfx')

diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz
index ccda56bc16f8..6b4a42d41658 100644
Binary files a/media-gfx/Manifest.gz and b/media-gfx/Manifest.gz differ
diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest
index b7ead9b3d63b..ad3b0bd05130 100644
--- a/media-gfx/ueberzugpp/Manifest
+++ b/media-gfx/ueberzugpp/Manifest
@@ -1,3 +1,5 @@
 DIST ueberzugpp-2.9.1.tar.gz 65961 BLAKE2B a7aa8536d15d992004ffd783b0b87ec57528b4a6b6e24d0d63588d74436e055d1ed37d36683f663c35809d6e84b7b9dca11c660c64a11c9ca0125cae0dfba2a3 SHA512 a1dadf4cbbd602edbff88855289b6d4a75093fa7d6130c90affb2c54ca71866d73b0d2be3acaa40c1459165609f08511ffb507e0ee7ae09363c97d69a4bad879
+DIST ueberzugpp-2.9.2.tar.gz 66310 BLAKE2B cef413922765f10cea65616c935e67b8a7c86d51f04be5a7383cc009dc238005ffa68638a7099f3c6dcf1a9a4bb3d874806e5ea90cabc53939da499692e5de82 SHA512 560a61a861eea7cd33b9a97819a9d97f2b8686640d366152cdfb677ee7d8e094e21ace923e9c83ef2a71a672df6e7d286633fc48da5f3e546d130d40723e0dde
 EBUILD ueberzugpp-2.9.1.ebuild 1520 BLAKE2B 8167a370dd6acb6915a95963ecc2361d77620f9a360b4a7182664cc5a8aeecea22f559b3c06b45eaea4f96b80e646a1f9780381097e252c33b299cbed225fa00 SHA512 d245ff16e09604273f7f79a33a30dfc9d70b17025b01f285145584e36cee0c287a152ffa3c8215ba1a8a9ac4fd40e028b852d8e544ad30789b00e80c19404ea9
+EBUILD ueberzugpp-2.9.2.ebuild 1520 BLAKE2B 8167a370dd6acb6915a95963ecc2361d77620f9a360b4a7182664cc5a8aeecea22f559b3c06b45eaea4f96b80e646a1f9780381097e252c33b299cbed225fa00 SHA512 d245ff16e09604273f7f79a33a30dfc9d70b17025b01f285145584e36cee0c287a152ffa3c8215ba1a8a9ac4fd40e028b852d8e544ad30789b00e80c19404ea9
 MISC metadata.xml 694 BLAKE2B e39b88b981e8c6d55a41714197b03c014a6ffd95522eb0ff92559a178b193419bd587903c75271167fba097593ac15ecacdba3b0f23e7859c3f1fd9569b4f6c2 SHA512 e86e8942c84ec38c198b513b0eaf63d522017665d559a1843c08030ec6bc6a32d7f32651d5b283e3d82784b81ea15b7d81889ab0c68850f88733ae90add17060
diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.9.2.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.9.2.ebuild
new file mode 100644
index 000000000000..828290c2ec13
--- /dev/null
+++ b/media-gfx/ueberzugpp/ueberzugpp-2.9.2.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
+}
-- 
cgit v1.2.3