diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-05-28 17:10:44 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-05-28 17:44:39 -0400 |
commit | 202ccbb277160af2785fbe5e92edd98631579dc6 (patch) | |
tree | a95f3bbef35123aad5e809dd0cb20eb31566792a /media-gfx/ueberzugpp | |
parent | media-gfx/ueberzugpp: rename sway USE to wayland (diff) | |
download | gentoo-202ccbb277160af2785fbe5e92edd98631579dc6.tar.gz gentoo-202ccbb277160af2785fbe5e92edd98631579dc6.tar.bz2 gentoo-202ccbb277160af2785fbe5e92edd98631579dc6.zip |
media-gfx/ueberzugpp: add 2.8.6
Wish this had a test suite given there's visible regressions every
new releases. This one seem to have positioning and scaling issues
with ytfzf but at least it doesn't leave 100% cpu processes behind
making it more usable.
2.8.4 seems to be the more usable version right now, so this is
being added masked alongside 2.8.5.
(still more useful than the original ueberzug either way, hopefully
releases settle down a bit)
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.6.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest index 8758660bc89a..92e0be3d2c9f 100644 --- a/media-gfx/ueberzugpp/Manifest +++ b/media-gfx/ueberzugpp/Manifest @@ -1,2 +1,3 @@ DIST ueberzugpp-2.8.4.tar.gz 43906 BLAKE2B db36ea8dc74713673ac7ea9f62f12fd9d4f77e12030db3920eb193523599f6bd6f520faa821cacb18192c699439cae35f18bb208056f4c92d6f50b02f5fac014 SHA512 402887a8734bb034c3cd0975ddd6e584f865f6545726d5bf033f59552e0a026883dd845080cccee5340217d1782c70fb2e309bfda36207627d0455c5cc7b75db DIST ueberzugpp-2.8.5.tar.gz 48985 BLAKE2B 046e72786f51c0ece068a1046532ea7e5acfa01ee4880a9db8c9dd38aed229b66f56ee18831e82efd84fef20183bea160dc7f3194507e253aa46cad85f76a280 SHA512 f4d1ad45d121521ae158fe5c7ff845a7ac0150b4effdd0d856f9cab69c0f5bfeb34648113323a3c98412630c945c96825132e805b2bacb037a8c88762dd799ea +DIST ueberzugpp-2.8.6.tar.gz 51156 BLAKE2B 8eb661f86c55a0dcd0bc78e70437a59df4783919769e8e3514fa385e30ee44c8bdf58e47824882d11eb9bf94be2836c44b983b8d67bc2e576f60432a65dcb70d SHA512 86f10e593277d240d5d348acd81ffdf23814250d694fd34f06bd461c908fba81cfdfdb1b3b104a851b3703a1e186ef57f5bf14eda9a59a9305894e8998247fb3 diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.8.6.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.8.6.ebuild new file mode 100644 index 000000000000..e1196341687e --- /dev/null +++ b/media-gfx/ueberzugpp/ueberzugpp-2.8.6.ebuild @@ -0,0 +1,68 @@ +# 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 wayland" + +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 + ) + opencv? ( media-libs/opencv:= ) + 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() { + local mycmakeargs=( + -DENABLE_OPENCV=$(usex opencv) + -DENABLE_TURBOBASE64=no # not packaged + -DENABLE_WLROOTS=$(usex wayland) + -DENABLE_X11=$(usex X) + -DFETCHCONTENT_FULLY_DISCONNECTED=yes + ) + + cmake_src_configure +} + +src_install() { + # cmake install target is basic (misses the man page and symlinks) and + # is gated behind CMAKE_BUILD_TYPE, simpler to do manual for now + dobin "${BUILD_DIR}"/ueberzug + dosym ueberzug /usr/bin/${PN} + + doman docs/${PN}.1 + dosym ${PN}.1 /usr/share/man/man1/ueberzug.1 + + einstalldocs +} |