diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-06-10 07:01:55 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-06-10 07:08:19 -0400 |
commit | 3c3802ccbaffdb34eb19ecbb4c4785a193bd0bf9 (patch) | |
tree | e66997ec3a608ce1065b5c5decbfd8d34d1aad36 | |
parent | media-gfx/ueberzugpp: update wayland local desc (diff) | |
download | gentoo-3c3802ccbaffdb34eb19ecbb4c4785a193bd0bf9.tar.gz gentoo-3c3802ccbaffdb34eb19ecbb4c4785a193bd0bf9.tar.bz2 gentoo-3c3802ccbaffdb34eb19ecbb4c4785a193bd0bf9.zip |
media-gfx/ueberzugpp: add 2.8.7
It can install itself properly now, so can drop the src_install.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r-- | media-gfx/ueberzugpp/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/ueberzugpp/ueberzugpp-2.8.7.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest index e96cf779fca8..2ea21e43cfcf 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.6.tar.gz 51156 BLAKE2B 8eb661f86c55a0dcd0bc78e70437a59df4783919769e8e3514fa385e30ee44c8bdf58e47824882d11eb9bf94be2836c44b983b8d67bc2e576f60432a65dcb70d SHA512 86f10e593277d240d5d348acd81ffdf23814250d694fd34f06bd461c908fba81cfdfdb1b3b104a851b3703a1e186ef57f5bf14eda9a59a9305894e8998247fb3 +DIST ueberzugpp-2.8.7.tar.gz 53658 BLAKE2B 7d6c8ea082360f98bcce90cdc0eb0d8c5fc6e4765eece225be778c07f1cf91e6550e2c74b75f4edb1eaa8eaf5fd1861493c05610343693aafc428adb1d784fda SHA512 e418576f1c01919cd8997d8bcc4169405ef85f6ae74f28790e37a1ad82bbdb1ee3296396243e5ea9d3b99ffb40a9608d0345c51650cbb4b097191c3ce64f578d diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.8.7.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.8.7.ebuild new file mode 100644 index 000000000000..1db7ca1cf3bc --- /dev/null +++ b/media-gfx/ueberzugpp/ueberzugpp-2.8.7.ebuild @@ -0,0 +1,56 @@ +# 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_WAYLAND=$(usex wayland) + -DENABLE_X11=$(usex X) + -DFETCHCONTENT_FULLY_DISCONNECTED=yes + ) + + cmake_src_configure +} |