media-gfx/ueberzugpp: add 2.9.4

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-02-26 06:41:01 -05:00
parent b09d1d4a8a
commit f8db5bf5a4
2 changed files with 72 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST ueberzugpp-2.9.2.tar.gz 66310 BLAKE2B cef413922765f10cea65616c935e67b8a7c86d51f04be5a7383cc009dc238005ffa68638a7099f3c6dcf1a9a4bb3d874806e5ea90cabc53939da499692e5de82 SHA512 560a61a861eea7cd33b9a97819a9d97f2b8686640d366152cdfb677ee7d8e094e21ace923e9c83ef2a71a672df6e7d286633fc48da5f3e546d130d40723e0dde
DIST ueberzugpp-2.9.3.tar.gz 68130 BLAKE2B d2431e4361b1845caf5c92b851a3d90bf004533ea3afa513e8106881ba868bf2c84665fde44c58f6ea6689b967746f9e70c44022470a39e11ec05a8cf5e31caa SHA512 c7113c947be68b53b31cede2521e411009473c4f9187a2a92e628bc812fa6d44dc0fd360ba1a735154a92b89129b1759411a3c6eaed8fc0ee8a1b45ac30d20cd
DIST ueberzugpp-2.9.4.tar.gz 67825 BLAKE2B 185919717cbbe97b98a44c2b91e244cf72bd760033b1a9d82e0d2f06db1d9b6d57557f57f4cedec8408d61e16658e90977569a63eb17a38afb36b134ff21889b SHA512 3d47874ecde4cc9030490c878851a21d94554538200ba41e87dd9f3aa760a6ed511aad573b820798492a82e4c49219cd4cdc79f5c99c6a80c322d09e618f82a6

View File

@@ -0,0 +1,71 @@
# Copyright 2023-2024 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/libexif
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/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() {
# 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
}