diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-05-21 15:07:03 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-05-21 15:09:39 -0400 |
commit | 742d8da97a8c4d47b791bb5462e080414dc7f998 (patch) | |
tree | b019aa7f7f836656a3000d7345527196a432f1f8 /media-gfx/ueberzugpp | |
parent | media-gfx/ueberzugpp: drop 2.8.0, 2.8.2 (diff) | |
download | gentoo-742d8da97a8c4d47b791bb5462e080414dc7f998.tar.gz gentoo-742d8da97a8c4d47b791bb5462e080414dc7f998.tar.bz2 gentoo-742d8da97a8c4d47b791bb5462e080414dc7f998.zip |
media-gfx/ueberzugpp: add 2.8.4
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-gfx/ueberzugpp')
-rw-r--r-- | media-gfx/ueberzugpp/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/ueberzugpp/ueberzugpp-2.8.4.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest index dbe36293b5a2..06d33080cf37 100644 --- a/media-gfx/ueberzugpp/Manifest +++ b/media-gfx/ueberzugpp/Manifest @@ -1 +1,2 @@ DIST ueberzugpp-2.8.3.tar.gz 42663 BLAKE2B 4889cc2ac7b22541c7d1c89d1a60cd6d091b4ce996f4c8b3166707cec236db3a28a72def0a9a9379d2fdb55cb0390c02e9996007abc3331da390a911843ebdcc SHA512 f3cc95e8b6ce06b30c2fcb749cb5cf0c77f982c3eb3e0e12fd34cad6820e9a7ae91ee3ff6f325edc7b764f69e33f2c9a8a2b4d34d3f22a87fb8c6e4f6dfed59e +DIST ueberzugpp-2.8.4.tar.gz 43906 BLAKE2B db36ea8dc74713673ac7ea9f62f12fd9d4f77e12030db3920eb193523599f6bd6f520faa821cacb18192c699439cae35f18bb208056f4c92d6f50b02f5fac014 SHA512 402887a8734bb034c3cd0975ddd6e584f865f6545726d5bf033f59552e0a026883dd845080cccee5340217d1782c70fb2e309bfda36207627d0455c5cc7b75db diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.8.4.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.8.4.ebuild new file mode 100644 index 000000000000..86718aa1b41b --- /dev/null +++ b/media-gfx/ueberzugpp/ueberzugpp-2.8.4.ebuild @@ -0,0 +1,60 @@ +# 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-gfx/chafa + 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} +} |