diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-09-19 08:42:50 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-19 08:42:58 -0400 |
commit | e038d390869c149a1a967a71820da1aa8a56c107 (patch) | |
tree | 5a473b25b86f506174ddf87644e57b015afd3467 /media-gfx | |
parent | dev-libs/libclc: 17.x is now 17.0.1 (diff) | |
download | gentoo-e038d390869c149a1a967a71820da1aa8a56c107.tar.gz gentoo-e038d390869c149a1a967a71820da1aa8a56c107.tar.bz2 gentoo-e038d390869c149a1a967a71820da1aa8a56c107.zip |
media-gfx/ueberzugpp: add 2.9.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/ueberzugpp/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/ueberzugpp/ueberzugpp-2.9.2.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest index 570f7edfa917..d77c7faf73ba 100644 --- a/media-gfx/ueberzugpp/Manifest +++ b/media-gfx/ueberzugpp/Manifest @@ -1 +1,2 @@ DIST ueberzugpp-2.9.1.tar.gz 65961 BLAKE2B a7aa8536d15d992004ffd783b0b87ec57528b4a6b6e24d0d63588d74436e055d1ed37d36683f663c35809d6e84b7b9dca11c660c64a11c9ca0125cae0dfba2a3 SHA512 a1dadf4cbbd602edbff88855289b6d4a75093fa7d6130c90affb2c54ca71866d73b0d2be3acaa40c1459165609f08511ffb507e0ee7ae09363c97d69a4bad879 +DIST ueberzugpp-2.9.2.tar.gz 66310 BLAKE2B cef413922765f10cea65616c935e67b8a7c86d51f04be5a7383cc009dc238005ffa68638a7099f3c6dcf1a9a4bb3d874806e5ea90cabc53939da499692e5de82 SHA512 560a61a861eea7cd33b9a97819a9d97f2b8686640d366152cdfb677ee7d8e094e21ace923e9c83ef2a71a672df6e7d286633fc48da5f3e546d130d40723e0dde 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 +} |