summaryrefslogtreecommitdiff
path: root/media-gfx
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/Manifest.gzbin37980 -> 37981 bytes
-rw-r--r--media-gfx/ueberzugpp/Manifest4
-rw-r--r--media-gfx/ueberzugpp/metadata.xml1
-rw-r--r--media-gfx/ueberzugpp/ueberzugpp-2.8.5.ebuild67
4 files changed, 71 insertions, 1 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz
index 61551c757dfe..fa3cd0c11605 100644
--- a/media-gfx/Manifest.gz
+++ b/media-gfx/Manifest.gz
Binary files differ
diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest
index dfcbb67557d7..31c859a43a9c 100644
--- a/media-gfx/ueberzugpp/Manifest
+++ b/media-gfx/ueberzugpp/Manifest
@@ -1,5 +1,7 @@
DIST ueberzugpp-2.8.3.tar.gz 42663 BLAKE2B 4889cc2ac7b22541c7d1c89d1a60cd6d091b4ce996f4c8b3166707cec236db3a28a72def0a9a9379d2fdb55cb0390c02e9996007abc3331da390a911843ebdcc SHA512 f3cc95e8b6ce06b30c2fcb749cb5cf0c77f982c3eb3e0e12fd34cad6820e9a7ae91ee3ff6f325edc7b764f69e33f2c9a8a2b4d34d3f22a87fb8c6e4f6dfed59e
DIST ueberzugpp-2.8.4.tar.gz 43906 BLAKE2B db36ea8dc74713673ac7ea9f62f12fd9d4f77e12030db3920eb193523599f6bd6f520faa821cacb18192c699439cae35f18bb208056f4c92d6f50b02f5fac014 SHA512 402887a8734bb034c3cd0975ddd6e584f865f6545726d5bf033f59552e0a026883dd845080cccee5340217d1782c70fb2e309bfda36207627d0455c5cc7b75db
+DIST ueberzugpp-2.8.5.tar.gz 48985 BLAKE2B 046e72786f51c0ece068a1046532ea7e5acfa01ee4880a9db8c9dd38aed229b66f56ee18831e82efd84fef20183bea160dc7f3194507e253aa46cad85f76a280 SHA512 f4d1ad45d121521ae158fe5c7ff845a7ac0150b4effdd0d856f9cab69c0f5bfeb34648113323a3c98412630c945c96825132e805b2bacb037a8c88762dd799ea
EBUILD ueberzugpp-2.8.3.ebuild 1254 BLAKE2B 41779645d479c73f1c5107569af4f2b393e66a554b2e8d3e12fe259991c8f4fadec66b77851a89ddf8882cab6eb2f0b076b0326f5dbec2dc8b4b85615466fe9f SHA512 5c25a1e3837953485d206d6cca186513a1f0dae1fc7df3bb404bdd5afc6d62e3285c604986ffa2f2abfd353f806ff86ff80dfcf292f87582cb77209bb80f4fab
EBUILD ueberzugpp-2.8.4.ebuild 1271 BLAKE2B 52ca5ba8a99ea787bbed19226dafa6922a06b0d3f47badf9e5007933249da7e43aff5524258f5d3531dcf255ad0b5eed65cf658bd9aae9429389cbb7cc7dc1ee SHA512 f8e512c21415536428ecb00c607ade458adefbd8d078b2dac5e38ffe2c263131b6bdaf020b887d568a38935ba4f5604b0f580bc2bfd07600cbf78928800bde79
-MISC metadata.xml 466 BLAKE2B 1b66e3eafc1ae675c7474eb49d83cde60bad83cdf26d12d360ca3226aa4a7053053618bfa0e84ab8f7a0f5f89a0bfcf6eed1720b72c55e194fed9d81f0f07fbc SHA512 f67164b9c0678fc88d7017ecc241584e955ff0735aff0c58708f2211a56164f07cb3fc5e5ad727fa230d13f0550ec076f83e827ee2675684119caee7d5234a8f
+EBUILD ueberzugpp-2.8.5.ebuild 1443 BLAKE2B df1580d2a45b433d8e7ab86ddd05560f6eadd06eb8a958b55e0be2c74fa0c58090b09d23df09a2d28fd763d9e27a527b085b70e58e2028e322d4817bd4e0690e SHA512 08c59e56b181e34adeef0b0112c504d14806a0e3163fe4e0c371f3579d35cead88a00d4dadc3153d63ddf6fc2ea2627eb48f0ce23896a68001e8f7dc9bae057b
+MISC metadata.xml 546 BLAKE2B 799aec60c10714c7c4a35d7b8f914bf03a5bd8d9522c67ad17545669b06ccf9280fd44ccbeb06103829b05f04244eab734e7331cb3da4d8bca59956adb8b0570 SHA512 b103cd4ae2d86baa204d230e5a8cabcee55bfe3254fbc5dcc88c2d8e5698d760c6174a0208b4074679a95fdf5ef5d95fee58fc0b009316dda9cb44c5b478a4a0
diff --git a/media-gfx/ueberzugpp/metadata.xml b/media-gfx/ueberzugpp/metadata.xml
index 19342d5360ec..407eee6aebee 100644
--- a/media-gfx/ueberzugpp/metadata.xml
+++ b/media-gfx/ueberzugpp/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="opencv">Use <pkg>media-libs/opencv</pkg> for additional image formats and OpenCL accelerated scaling</flag>
+ <flag name="sway">Enable support for <pkg>gui-wm/sway</pkg> on wayland</flag>
</use>
<upstream>
<remote-id type="github">jstkdng/ueberzugpp</remote-id>
diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.8.5.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.8.5.ebuild
new file mode 100644
index 000000000000..3d6109418aae
--- /dev/null
+++ b/media-gfx/ueberzugpp/ueberzugpp-2.8.5.ebuild
@@ -0,0 +1,67 @@
+# 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 sway"
+
+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:=
+ sys-apps/util-linux
+ X? (
+ x11-libs/libxcb:=
+ x11-libs/xcb-util-image
+ )
+ opencv? ( media-libs/opencv:= )
+ sway? ( dev-libs/wayland )
+ !media-gfx/ueberzug"
+DEPEND="
+ ${RDEPEND}
+ dev-cpp/cli11
+ dev-cpp/ms-gsl
+ dev-cpp/nlohmann_json
+ X? ( x11-base/xorg-proto )
+ sway? ( dev-libs/wayland-protocols )"
+BDEPEND="
+ sway? (
+ dev-util/wayland-scanner
+ kde-frameworks/extra-cmake-modules
+ )"
+
+src_configure() {
+ CMAKE_BUILD_TYPE=Release # install target wants this
+
+ local mycmakeargs=(
+ -DENABLE_OPENCV=$(usex opencv)
+ -DENABLE_SWAY=$(usex sway)
+ -DENABLE_TURBOBASE64=no # not packaged
+ -DENABLE_X11=$(usex X)
+ -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}
+}