summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-06-07 03:55:31 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-06-07 04:43:05 -0400
commitf6668a83c459c5c9cf68286f820a0306fce5d33e (patch)
tree3d707a97de22b6ebf704e9016dd182b278f78584 /media-gfx/ueberzug
parentx11-wm/xpra: Set DISTUTILS_EXT=1 (diff)
downloadgentoo-f6668a83c459c5c9cf68286f820a0306fce5d33e.tar.gz
gentoo-f6668a83c459c5c9cf68286f820a0306fce5d33e.tar.bz2
gentoo-f6668a83c459c5c9cf68286f820a0306fce5d33e.zip
media-gfx/ueberzug: add 18.2.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-gfx/ueberzug')
-rw-r--r--media-gfx/ueberzug/Manifest1
-rw-r--r--media-gfx/ueberzug/ueberzug-18.2.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/media-gfx/ueberzug/Manifest b/media-gfx/ueberzug/Manifest
index 4e23a9b2d80d..389dede421c9 100644
--- a/media-gfx/ueberzug/Manifest
+++ b/media-gfx/ueberzug/Manifest
@@ -1 +1,2 @@
DIST ueberzug-18.2.0.tar.gz 56774 BLAKE2B cc843433ba01de1bfa65ac0bc5632094bd2b0a4dbc8d2638a21dceffb6f9019257b7116198802d822477c3e10c9d2a82c52d136697a58cbace01666b7188f20e SHA512 c2b93841c9d31b164dc23a841e4dc93d768c4a3b848fedbc56e4d80ec8a96c15af8d924948783da2bb57a42cd61320845d2a3d14899e156d06dc08713b42e5bd
+DIST ueberzug-18.2.1.tar.gz 56786 BLAKE2B 59dedf8db62a325e89de9ed57989b79efb0a39871a3001e656a2d2da2d205fd7a16b8fcc22394b8218fb85923f52cf493e3820e6a42fec4c0fb8af1d802107f9 SHA512 7a6d9af30296c272fac120b46da6818137e488dde3f71196c5eb272d84b11e504570953a4cf31b042b66fd2e8f0cb64bc6b7d6aebbe6b4abe70eef12ed2d5e44
diff --git a/media-gfx/ueberzug/ueberzug-18.2.1.ebuild b/media-gfx/ueberzug/ueberzug-18.2.1.ebuild
new file mode 100644
index 000000000000..2afd0aa989c6
--- /dev/null
+++ b/media-gfx/ueberzug/ueberzug-18.2.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+inherit distutils-r1
+
+DESCRIPTION="Command line util to draw images on terminals by using child windows"
+HOMEPAGE="https://github.com/ueber-devel/ueberzug/"
+SRC_URI="https://github.com/ueber-devel/ueberzug/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXres"
+RDEPEND="
+ ${COMMON_DEPEND}
+ dev-python/attrs[${PYTHON_USEDEP}]
+ dev-python/docopt[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ !media-gfx/ueberzugpp"
+DEPEND="
+ ${COMMON_DEPEND}
+ x11-base/xorg-proto"
+
+python_install() {
+ distutils-r1_python_install
+
+ # https://github.com/ueber-devel/ueberzug/issues/9
+ rm -r -- "${D}$(python_get_sitedir)"/ueberzug/X || die
+}