summaryrefslogtreecommitdiff
path: root/media-gfx
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/Manifest.gzbin38003 -> 37997 bytes
-rw-r--r--media-gfx/gmic/Manifest5
-rw-r--r--media-gfx/gmic/files/gmic-3.2.5-relative_rpath.patch22
-rw-r--r--media-gfx/gmic/gmic-3.2.5.ebuild (renamed from media-gfx/gmic/gmic-3.2.4.ebuild)2
-rw-r--r--media-gfx/graphite2/Manifest1
-rw-r--r--media-gfx/graphite2/graphite2-1.3.14_p20210810-r2.ebuild123
-rw-r--r--media-gfx/ueberzugpp/Manifest4
-rw-r--r--media-gfx/ueberzugpp/metadata.xml2
-rw-r--r--media-gfx/ueberzugpp/ueberzugpp-2.8.7.ebuild56
9 files changed, 86 insertions, 129 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz
index b594d18d8f54..4d2c981cfcdb 100644
--- a/media-gfx/Manifest.gz
+++ b/media-gfx/Manifest.gz
Binary files differ
diff --git a/media-gfx/gmic/Manifest b/media-gfx/gmic/Manifest
index 9f7ed691ef82..262f363567d5 100644
--- a/media-gfx/gmic/Manifest
+++ b/media-gfx/gmic/Manifest
@@ -3,10 +3,11 @@ AUX gmic-3.2.0-grep38.patch 1330 BLAKE2B 22a241d8c574ca87691ec84107c718aa3640432
AUX gmic-3.2.0-makefile_automagic.patch 5397 BLAKE2B f5678cf7aba485c9d035fc34c0a2a75133567e6c4b91dc0a58f8511f8858c6c5facc4fced4fb4582a2336d03b68f6a5e95cc3490de0385e4a083568a20769c17 SHA512 904dbddee273c6ebb80d94e24a508043766e43c712464d02631fa584634248379f01e989749d218965afa593865883da2ebe267ac9b1755ca116573cdcfeeb73
AUX gmic-3.2.0-relative_rpath.patch 406 BLAKE2B cb92f21c090bfdb3c91aef60fc854fd21531ba8e7560458503ae0c123baf89a703057b870dc9a4366f179575373861696dedebd930c472a51644d4ef41553520 SHA512 8653697eea7da0b0db5ad9f7d8882a147a6aa9bd80085e6bfba21922431e52fa0b7e67c1c74afe8237a994861864f1df07ca2855c5d99bc0e69d0c630f11ebc7
AUX gmic-3.2.4-makefile_automagic.patch 5367 BLAKE2B 7f720d964746fdb745f7741b092f3b313d9d92fb885e4660cc869ee0cd11affd57ec405e6db4002bd1085d8809c9b5af310b78103cf036ca3a7af272adcc1f63 SHA512 bca841fbd9bbca0c89833fcc77c3921db1a3fd83a156b1d58c2d8cebdb025ff0c9ab5c29a2ff9e9ffefb739f9513a1e2844fd0746973423cfcd2ace60ab95743
+AUX gmic-3.2.5-relative_rpath.patch 759 BLAKE2B 0c6deda724d6f983e9d1cf3101862fc5c3096fecd5951fc185c814bdb8e59774a30591ec969b4121951c3a1662ab5cb4040d4e9b9cfaa463496fc90bc59a301f SHA512 9c5daf6ad03002867594fc48c19c19b1050d9e7be3cab161e8fbe2f84a5fc31ceece2241c0bfa6cc9eaced44a6ceb0d716f485ca04e62a1160530316e4a3d50c
DIST gmic_3.2.0.tar.gz 10933655 BLAKE2B 6b87acb2a356d3d0c00e795d8b66de75acffa1f87b63caf58986ab52730fcd58bb9dfa37caf057ac2ab2a58695dd783c09018305f21d258427d9c1e450d1c14d SHA512 2eccf179e865416ce5a6cc38fd5587fe79fb30cda381ca2bcb1e587f101a55c502422121d4696834bc25b6200aa3c2292ff30947f2704a610f46e61460685f5b
DIST gmic_3.2.2.tar.gz 11321544 BLAKE2B e6786fdb0342e1dfa62043837fedeea25961b375af5d1dde247be373c0ef3e35a556dc78d6dd09b5b4c4ead3b531e2bb6a7b671a400dc9d477b22f1c6c7da6b9 SHA512 be695107f8cceb94789aaa021ca431ead3e0a7f87533478df0942ea6ad94f81639de8af827bb24fbef1baccc6ded8d41b4f5386ed9ee37704c2483ea7596800e
-DIST gmic_3.2.4.tar.gz 11342611 BLAKE2B f189683e0d12e707c839009449804c9db7b8afc3ff02dd033e0f9b820e889f51f4ae84b0d1e790e836761384778f4da33d79bc7b159484bbf00ec9cf88df92b2 SHA512 0a261d6242b485d7661919c14680f25d7b15d175619d8115077808c5502edb4ed313f37b3b6c6981709751d49bc7df40332aaefc03e626303135a827a5d41daf
+DIST gmic_3.2.5.tar.gz 11352319 BLAKE2B 812e28119bcbe485a7551c7afc89d7efb2a46ba3d9cc31597fddcd4c4ba48fa040827eccd92c1abbef3035c057d432f6b7b783ff9067da8be2806a05902bdf35 SHA512 e453b83201fa7aff7dc193c529c6b81306e94990a03356488abbbe3acdf8eb6b07e12c16e496e9607bcb730258218b3431c489b3fd1434bb31e28727be7eae27
EBUILD gmic-3.2.0.ebuild 3456 BLAKE2B 5e98b8d4ce0bc98c91ce5f77a92833ca4a48a17986fdac664528981451a723061b469ab3b502f5cb9988768cd9afd5bf03edf51573169f1a0bd261386b65fd98 SHA512 209ab91667f7574fb5cdd9e42a54f444d6c96ff91b55a5677c3e4c05284eae79d48237eac8bda942408df9ca7a2aa3b50f4827364cdba5a865e9774b4fe475d5
EBUILD gmic-3.2.2.ebuild 3471 BLAKE2B ca9e659dee49ae79135a998ba11109cafb0eb829ad0c5c1345b34fef1baabbf568e04a8d8c4ab428603a060417fd940f07d2d9c6bcb94ad98f6ee715106cb9d5 SHA512 8d9036a0d4f44725e50de73ce1812d0ee50b023ae11ababd4be3c9e8577f2168a65c4e133945c1009f56346b4470f9e2a78616b863732e76a9071357f22a55d7
-EBUILD gmic-3.2.4.ebuild 3471 BLAKE2B be12be0edcdc0cfb5bcc336058f4445b36dc3c168c9a007584860792c616ec3aba206d4397ac97f9f6ebfcdb39678f652d2e07a94a637dbf53b9fade6d9bc6d1 SHA512 9b8522d8c15a82cbed44e4a255487750d6a08cf4342c94a53d0cb25a73859a6ab180dabf6094cea5e587276fec2645188a6e75e808e1600ebf40ae5d3663524c
+EBUILD gmic-3.2.5.ebuild 3471 BLAKE2B 877f5bcbf0b15e202ca28fdd35e6b5b38883cba8f808647c9a75cc6357b53b62eb66c5e54431afb4122028bdcff01cb79382163c2eba7387621ceb0af7f3edbd SHA512 f76eb11a0827bd026b3e234342e446bbc08e0ca8ba0a78a040dcd7a592b4749343a56def6f9f9eed81243f1a57dbbf45e9bc7fef1dc6735c52f9355459e1059b
MISC metadata.xml 466 BLAKE2B 672259377cf7d693bc2493557b22150ddd3504d5bcb3f7b11c8e7e9a8ff591573503e5c9481d8a81e27757d4ebe205dd51a0fb57c0e691461988bc99fc714fc5 SHA512 62d65a13a3061fb31954fc08d753f6df7d76c262dc1c14304c1473dbe3f3412fb77cf808f0f205dc73d124f6dd1104c13d9dc79194eba702a0acdfb112fe6530
diff --git a/media-gfx/gmic/files/gmic-3.2.5-relative_rpath.patch b/media-gfx/gmic/files/gmic-3.2.5-relative_rpath.patch
new file mode 100644
index 000000000000..113aa57c34c5
--- /dev/null
+++ b/media-gfx/gmic/files/gmic-3.2.5-relative_rpath.patch
@@ -0,0 +1,22 @@
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -188,7 +188,7 @@
+ ifndef NO_SRIPDLIB
+ MANDATORY_CFLAGS += -std=c++11 -pedantic
+ endif
+-MANDATORY_LIBS += -L. -L$(PREFIX)/$(LIB) -Wl,-rpath,.
++MANDATORY_LIBS += -L. -L$(PREFIX)/$(LIB)
+ ifdef IS_GCC
+ MANDATORY_CFLAGS += -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label
+ GCC_VER_GTEQ5 = $(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 5)
+--- a/gmic-qt/gmic_qt.pro
++++ b/gmic-qt/gmic_qt.pro
+@@ -434,7 +434,7 @@
+
+ equals(GMIC_DYNAMIC_LINKING, "on" )|equals(GMIC_DYNAMIC_LINKING, "ON" ) {
+ message(Dynamic linking with libgmic)
+- LIBS += -Wl,-rpath,. $$GMIC_PATH/libgmic.so
++ LIBS += $$GMIC_PATH/libgmic.so
+ }
+
+ equals(GMIC_DYNAMIC_LINKING, "off" )|equals(GMIC_DYNAMIC_LINKING, "OFF" ) {
diff --git a/media-gfx/gmic/gmic-3.2.4.ebuild b/media-gfx/gmic/gmic-3.2.5.ebuild
index c8691f8d98b3..e49f4fe6fe0d 100644
--- a/media-gfx/gmic/gmic-3.2.4.ebuild
+++ b/media-gfx/gmic/gmic-3.2.5.ebuild
@@ -63,8 +63,8 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-3.1.6-ar_so.patch
"${FILESDIR}"/${PN}-3.2.0-grep38.patch
- "${FILESDIR}"/${PN}-3.2.0-relative_rpath.patch
"${FILESDIR}"/${PN}-3.2.4-makefile_automagic.patch
+ "${FILESDIR}"/${PN}-3.2.5-relative_rpath.patch
)
pkg_pretend() {
diff --git a/media-gfx/graphite2/Manifest b/media-gfx/graphite2/Manifest
index a923501c08ad..924074b02720 100644
--- a/media-gfx/graphite2/Manifest
+++ b/media-gfx/graphite2/Manifest
@@ -5,6 +5,5 @@ AUX graphite2-1.3.14-no-libtool-file.patch 2336 BLAKE2B a349e721264de1477aee5aa3
AUX graphite2-1.3.5-fix-gcc-linking.patch 580 BLAKE2B 7ab4d1848e0b0fdbd682fc81747a426c9bee7e2d0f72991dc963c955ba910035c6246d88f7eaded9c4a742a10470fd304ab2dd3fb1750795b8b9791ccfc0cfb8 SHA512 1e01c764f72204f30c916dcdc4f5bc7a4757d73275bb2007bf0c1f2e9898f138aa6c0581addc587e125cf6cbf9d5db725cb3d8a69875978a14ab316d2d561467
AUX graphite2-1.3.5-includes-libs-perl.patch 836 BLAKE2B 0429d214ff7fd9b903e1d3bcaf0af3e6b29a0269581390f64950e42e41280e482fc9cfda9bfe24ef166eb6c24d21377a15fca4264fec69d902d8ba18810bdb01 SHA512 26ab6dda13d758a5e4237c8b5d207d3c5111afbb11b2c3984cd742913c3c7932559b23b5ea9f774f1c6373eb0f761a9400dccc95876740b3cd06c44084a10965
DIST graphite2-1.3.14_p20210810.tar.gz 6656693 BLAKE2B 63a7d96b58f2779d8a4a353e1a986212b884fdf780fedcb83b22dcef2f7678d44c88c14ece2d09dc745df505a4a3825ce61d7c84bd05fd4e98c23d6e86e9326d SHA512 be54c1386578970cf65c1860336a113268181753c1e2a139e37ceeafcfa76e3162086879c54094d70cd0d36ad5852a95390aaa69572d875921e9481f1ae508ff
-EBUILD graphite2-1.3.14_p20210810-r2.ebuild 2987 BLAKE2B 93a0c3d352ca87d9ca8c002a596a8e019efcd611b9d0812024e28795fd24903510b00c1102ab712a3487f0db8e88051a7945d0f0d82a691ecc169e067ff6032e SHA512 ed2829f1e421ad514dab62ab30203cab018d5e85a8e2aa062a8276a2b2a0c1ff8b4354f6676778c71aa97bf05c1292b3844b804352d97e2f4b5979d230d595ca
EBUILD graphite2-1.3.14_p20210810-r3.ebuild 3105 BLAKE2B 817ed1614e7902d944959e1a63b08311f863f24f6f8e0a88acf072aad5871b6adc33b9890ffa3964a11c8d133eb0568ea5f734cdcf0115405d8c70a07d751a48 SHA512 86c638953bbaf51c8047d4455d8e3fd073e1ff4786bbb902115e18374d5b3d94a7da66836d54426d78092b5360d027acb06d5b9284a1f567462bc61cea97e6c7
MISC metadata.xml 393 BLAKE2B 27dcc3bcbc5a0ec32bb751ec3bb8788c2c85d5d7743f0243749a88ace9b5a3faaa10adc84731dbec3e37208efef41e3d4124de57005345927e848a7cbca6b098 SHA512 1086491557aff2d6f3552829550db85332c809d20ec1e3517bfa311fdfb2a5386cc4b624481b4fd7db7e48ab39bb5d76e048461352b74cdecf89d904ef52590b
diff --git a/media-gfx/graphite2/graphite2-1.3.14_p20210810-r2.ebuild b/media-gfx/graphite2/graphite2-1.3.14_p20210810-r2.ebuild
deleted file mode 100644
index 4334b997da88..000000000000
--- a/media-gfx/graphite2/graphite2-1.3.14_p20210810-r2.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-COMMIT=80c52493ef42e6fe605a69dcddd2a691cd8a1380
-GENTOO_DEPEND_ON_PERL="no"
-PYTHON_COMPAT=( python3_{9..11} )
-inherit perl-module python-any-r1 cmake-multilib
-
-DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems"
-HOMEPAGE="https://scripts.sil.org/cms/scripts/page.php?site_id=projects&item_id=graphite_home"
-SRC_URI="https://github.com/silnrsi/graphite/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/graphite-${COMMIT}"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="perl test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="perl? ( dev-lang/perl:= )"
-DEPEND="${RDEPEND}
- test? ( dev-libs/glib:2 )
-"
-BDEPEND="
- perl? (
- dev-lang/perl
- dev-perl/Locale-Maketext-Lexicon
- dev-perl/Module-Build
- )
- test? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep 'dev-python/fonttools[${PYTHON_USEDEP}]')
- media-libs/fontconfig
- perl? ( virtual/perl-Test-Simple )
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.3.5-includes-libs-perl.patch"
- "${FILESDIR}/${PN}-1.3.14-fix-cmake-files-libdir.patch"
- "${FILESDIR}/${PN}-1.3.14-no-libtool-file.patch"
- "${FILESDIR}/${PN}-1.3.14-fix-nodefaultlibs-deux.patch"
-)
-
-pkg_setup() {
- use perl && perl_set_version
- use test && python-any-r1_pkg_setup
-}
-
-python_check_deps() {
- has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
- cmake_src_prepare
- use test || cmake_comment_add_subdirectory tests
-}
-
-multilib_src_configure() {
- local mycmakeargs=(
- # Renamed VM_MACHINE_TYPE to GRAPHITE2_VM_TYPE
- -DGRAPHITE2_VM_TYPE=direct
- )
- # https://sourceforge.net/p/silgraphite/bugs/49/
- [[ ${CHOST} == powerpc*-apple* ]] && mycmakeargs+=(
- -DGRAPHITE2_NSEGCACHE:BOOL=ON
- )
-
- if use elibc_musl ; then
- # bug #829690
- if use ppc || use x86 ; then
- sed -e 's:${GRAPHITE_LINK_FLAGS}:-lssp_nonshared &:' \
- -i "${S}"/src/CMakeLists.txt || die
- fi
- fi
-
- cmake_src_configure
-
- # fix perl linking
- if multilib_is_native_abi && use perl; then
- # we rely on the fact that cmake_src_configure sets BUILD_DIR
- sed -e "s:@BUILD_DIR@:\"${BUILD_DIR}/src\":" \
- -i "${S}"/contrib/perl/Build.PL || die
- fi
-}
-
-src_compile() {
- cmake-multilib_src_compile
- if use perl; then
- cd contrib/perl || die
- perl-module_src_configure
- perl-module_src_compile
- fi
-}
-
-multilib_src_test() {
- if multilib_is_native_abi; then
- cmake_src_test
- else
- einfo "Cannot test since python is not multilib."
- fi
-}
-
-src_test() {
- cmake-multilib_src_test
- if use perl; then
- # Perl tests fail due to missing POD coverage...
- perl_rm_files "contrib/perl/t/pod.t" "contrib/perl/t/pod-coverage.t"
- cd contrib/perl || die
- perl-module_src_test
- fi
-}
-
-src_install() {
- cmake-multilib_src_install
- if use perl; then
- cd contrib/perl || die
- perl-module_src_install
- perl_delete_localpod
- fi
-}
diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest
index 9a5ddb46dfc0..3435e7d526f4 100644
--- a/media-gfx/ueberzugpp/Manifest
+++ b/media-gfx/ueberzugpp/Manifest
@@ -1,5 +1,7 @@
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
EBUILD ueberzugpp-2.8.4.ebuild 1271 BLAKE2B 52ca5ba8a99ea787bbed19226dafa6922a06b0d3f47badf9e5007933249da7e43aff5524258f5d3531dcf255ad0b5eed65cf658bd9aae9429389cbb7cc7dc1ee SHA512 f8e512c21415536428ecb00c607ade458adefbd8d078b2dac5e38ffe2c263131b6bdaf020b887d568a38935ba4f5604b0f580bc2bfd07600cbf78928800bde79
EBUILD ueberzugpp-2.8.6.ebuild 1475 BLAKE2B e24459bb64d7ef33f88926fc8dc554e12537d8212eaefb7e5744253c5ee2a362bc3192343c3ffb5a868521294c983a13a6a634d9605a2fbf94ddde0d45db9b36 SHA512 48d2b8d33ce1212dcb6bf69470c69d82e45648822af416cbfdde5ab1978909bc85602052c45d0ed4408cf2b7d898581382dccb53c04765ce49723cee98ff64b4
-MISC metadata.xml 569 BLAKE2B 6d4c0691acfb86d3db9f51a4e95608cff4d1ab484623fdebb2da8ea30ee8bf27344be2dc1e811b430f87468d82d875158883b08c736d656e1c29ee754a88b4a8 SHA512 348813a74227241734cc1ad907e21dc8fc9c1010ac05d8d5480416acc3fd2ed3e12d7c7feb36029b13237d07fb24ae04b17d95d7f7b550472196fc8467494171
+EBUILD ueberzugpp-2.8.7.ebuild 1174 BLAKE2B efcc29c6cff95318d31ec0427a2750e7e0f449b34b5f318417f7a713d0df753c784bba82617dfed29744a9a266d2fdd54d1d74cdb6123bf5298804ec3bfd5e36 SHA512 179148fbf94788572c466994a40d800a3a02e8ee1c60beaab2c7da1e65b2b95eb54939245becdfd23b361ed0dacc45e8451e3dbce7ff622f240ce1434fc9ebd9
+MISC metadata.xml 587 BLAKE2B f2f61d4bb44f3218a61897efcd92af977da2b595de6734e5e0f5a8284e6097e91d2f4a9078025125123ad0a36db95841d7b1ae4c0c0dff231862da5cf8feb907 SHA512 f3c85ab99d15536d70f5b951b14eb2693277168c59cadc5afaa3bd3222eb4c8dfd8f9b350d116fd75c22ada205c2b9a8d6185393b2b9083e8a83d7f5eeb6ae19
diff --git a/media-gfx/ueberzugpp/metadata.xml b/media-gfx/ueberzugpp/metadata.xml
index 3099100a6dd7..8728c0dd5768 100644
--- a/media-gfx/ueberzugpp/metadata.xml
+++ b/media-gfx/ueberzugpp/metadata.xml
@@ -7,7 +7,7 @@
</maintainer>
<use>
<flag name="opencv">Use <pkg>media-libs/opencv</pkg> for additional image formats and OpenCL accelerated scaling</flag>
- <flag name="wayland">Enable wayland support (only usable with some wlroots-based compositors)</flag>
+ <flag name="wayland">Enable wayland support (proper window positioning is only supported with some compositors)</flag>
</use>
<upstream>
<remote-id type="github">jstkdng/ueberzugpp</remote-id>
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
+}