commit: 514a1ca81699cf03d32ed92f9a6721be1c5cc557 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sat May 13 06:20:00 2023 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sat May 13 07:26:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514a1ca8
media-gfx/ueberzugpp: add 2.8.2 Seems to fix 2.8.1's major issues. Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> media-gfx/ueberzugpp/Manifest | 1 + media-gfx/ueberzugpp/ueberzugpp-2.8.2.ebuild | 59 ++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest index 952bf5556761..4287097d023b 100644 --- a/media-gfx/ueberzugpp/Manifest +++ b/media-gfx/ueberzugpp/Manifest @@ -1,2 +1,3 @@ DIST ueberzugpp-2.8.0.tar.gz 38768 BLAKE2B 80c879196339e3ce8fc5aeb2a87df8d3785021f72e5c0e47c55026d5cefc8cd3caa2174fea8413c642f54190970480488a6ec09d93e765b59dcf6616369dfbb7 SHA512 a5fceec97300cc3ada6c087fadc3b2d70f574207c5fd3f682c1a56b877c2b76ff40abe0ae76767e22ae82742be2bedee782e0ec86d200d28a15061bc1b4c2696 DIST ueberzugpp-2.8.1.tar.gz 41270 BLAKE2B 249c10aafe33d83ceedd9632d2518fdbf724e07f49539704a6dd2ef0c3c942017c64b9ade3142cefa45ac19299176cd0a91b5a49f7467e2b04466e901b2a5c73 SHA512 d7f7e08a713c7e882f6de37f0d39913fdd6d3ca2c40e4520bac56a01cfcdbf6cc7095128602f15ec95b824b240e91ad231ac85fe651216708ba378ae5eeff7a1 +DIST ueberzugpp-2.8.2.tar.gz 42004 BLAKE2B 44fea9fa7367f38d4a93e8dabc2cba21a693ef5dcc7f0d652ddf363ba0e236ba0190e27781a3c350558163b498b8c042693872e8937776312eb8c9aa848e71ca SHA512 0f726cbef3a107e0bc040bec8eea31d4b153b4e43bf04f6ea3038fe30a2141f06686fd77bcb44c73fcd32084a7740b740ef3343b30be848fa46bd4162b8095e9 diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.8.2.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.8.2.ebuild new file mode 100644 index 000000000000..29694cec2261 --- /dev/null +++ b/media-gfx/ueberzugpp/ueberzugpp-2.8.2.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" +KEYWORDS="~amd64" +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/ms-gsl + 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} +}