diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-19 17:09:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-19 17:09:22 +0100 |
commit | 590c04803f88a968b4a750c0f420eb314e1fe968 (patch) | |
tree | a6d2f2550cb2a6ad9254aa1467aef77488ad32ad /media-gfx/ueberzugpp/ueberzugpp-2.9.2.ebuild | |
parent | 66d92fc8569d87a09ac014780528dcad2a12b6c6 (diff) |
gentoo auto-resync : 19:09:2023 - 17:09:22
Diffstat (limited to 'media-gfx/ueberzugpp/ueberzugpp-2.9.2.ebuild')
-rw-r--r-- | media-gfx/ueberzugpp/ueberzugpp-2.9.2.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
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 +} |