diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-07-15 12:22:32 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-07-15 12:37:58 -0400 |
commit | 7808315a5bd46f68d7fecaf13a90c7765684ce96 (patch) | |
tree | 764c6cb71d4dcb90aa1ccbde92a0e1fc04ae8af9 /media-gfx | |
parent | net-im/telegram-desktop: Remove dependency on private Qt components (diff) | |
download | gentoo-7808315a5bd46f68d7fecaf13a90c7765684ce96.tar.gz gentoo-7808315a5bd46f68d7fecaf13a90c7765684ce96.tar.bz2 gentoo-7808315a5bd46f68d7fecaf13a90c7765684ce96.zip |
media-gfx/ueberzug: add 18.2.2
Only a 3 lines change for pillow-10 compat, didn't notice
it was broken given been using ueberzugpp lately.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/ueberzug/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/ueberzug/ueberzug-18.2.2.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/media-gfx/ueberzug/Manifest b/media-gfx/ueberzug/Manifest index bac9a671032d..23ff90b3a6b0 100644 --- a/media-gfx/ueberzug/Manifest +++ b/media-gfx/ueberzug/Manifest @@ -1 +1,2 @@ DIST ueberzug-18.2.1.tar.gz 56786 BLAKE2B 59dedf8db62a325e89de9ed57989b79efb0a39871a3001e656a2d2da2d205fd7a16b8fcc22394b8218fb85923f52cf493e3820e6a42fec4c0fb8af1d802107f9 SHA512 7a6d9af30296c272fac120b46da6818137e488dde3f71196c5eb272d84b11e504570953a4cf31b042b66fd2e8f0cb64bc6b7d6aebbe6b4abe70eef12ed2d5e44 +DIST ueberzug-18.2.2.tar.gz 56773 BLAKE2B dd3fdfe3820ac7344c574ab2031f0217b17a4b4ec4cd59f2447968abb6605a57ee77bab45f943f6d2501ad9c6e5ee3bf4c677f990814d676641bfe314e301dd4 SHA512 027d3b92711981d2334ba000cef9b424b01d962516432defaa287e2ca22d496a1f29c663f155838d74d91f26c355ac6af54c6513c33258676f315f9560e7256a diff --git a/media-gfx/ueberzug/ueberzug-18.2.2.ebuild b/media-gfx/ueberzug/ueberzug-18.2.2.ebuild new file mode 100644 index 000000000000..d0ad654cffdb --- /dev/null +++ b/media-gfx/ueberzug/ueberzug-18.2.2.ebuild @@ -0,0 +1,46 @@ +# 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" + +src_prepare() { + distutils-r1_src_prepare + + # fix version + [[ ${PV} == 18.2.2 ]] || die "drop version workaround" + sed -i "/^__version__/s/18.2.1/${PV}/" ueberzug/__init__.py || die +} + +python_install() { + distutils-r1_python_install + + # https://github.com/ueber-devel/ueberzug/issues/9 + rm -r -- "${D}$(python_get_sitedir)"/ueberzug/X || die +} |