summaryrefslogtreecommitdiff
path: root/media-gfx/ueberzug
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-15 22:41:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-15 22:41:20 +0100
commit7a0f8a92967dc1c6eab8d6f66ec476905009a287 (patch)
treeb73eed0b6ba49f9ca7e90538a00999ac22531f9c /media-gfx/ueberzug
parent35d4e80ab08982deb97a95d1b47156c67b268492 (diff)
gentoo auto-resync : 15:07:2023 - 22:41:20
Diffstat (limited to 'media-gfx/ueberzug')
-rw-r--r--media-gfx/ueberzug/Manifest2
-rw-r--r--media-gfx/ueberzug/ueberzug-18.2.2.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/media-gfx/ueberzug/Manifest b/media-gfx/ueberzug/Manifest
index b2a2200070ed..929febd43b3f 100644
--- a/media-gfx/ueberzug/Manifest
+++ b/media-gfx/ueberzug/Manifest
@@ -1,3 +1,5 @@
DIST ueberzug-18.2.1.tar.gz 56786 BLAKE2B 59dedf8db62a325e89de9ed57989b79efb0a39871a3001e656a2d2da2d205fd7a16b8fcc22394b8218fb85923f52cf493e3820e6a42fec4c0fb8af1d802107f9 SHA512 7a6d9af30296c272fac120b46da6818137e488dde3f71196c5eb272d84b11e504570953a4cf31b042b66fd2e8f0cb64bc6b7d6aebbe6b4abe70eef12ed2d5e44
+DIST ueberzug-18.2.2.tar.gz 56773 BLAKE2B dd3fdfe3820ac7344c574ab2031f0217b17a4b4ec4cd59f2447968abb6605a57ee77bab45f943f6d2501ad9c6e5ee3bf4c677f990814d676641bfe314e301dd4 SHA512 027d3b92711981d2334ba000cef9b424b01d962516432defaa287e2ca22d496a1f29c663f155838d74d91f26c355ac6af54c6513c33258676f315f9560e7256a
EBUILD ueberzug-18.2.1.ebuild 938 BLAKE2B 854f26913a832ca5f6c8246772fc56222766f22aaad94297d0ef67bfb3f8941d281eaf3ceab31d5a7200e1fb6c1adafdce2412853ed17070fb0fa279782ec73b SHA512 b0ba2a6d798b5649474763c8dacbabc852bb2999236619ea584a565547329a25289e5ca44974aee091d516e1b4b526fc250bdb56b886bb4ab3621654c624ad4f
+EBUILD ueberzug-18.2.2.ebuild 1125 BLAKE2B 5fd82a13f36faaae19ac120a7e3f011ae344f20e73435e4870e730a36b87461bb04891866ab3b1be52df58d392571cd3ebfefad4da4f5e0f998980d9c2887b7e SHA512 93f9eb27b85967edfe22d1ad5b2864c089a58bb644d8d2db6228ab9d34a62dd71c4a7fbe5b0ec5608ad9d50713fe166de1e0c935a3e676886d24202490b56771
MISC metadata.xml 331 BLAKE2B 44d4e01eb445cdd5ecc879970295dccd3ba4c6d171d7e9cb41042200f5dc1ca01fc12b0c44c940d3e7045f5e44ad1ad4392125a62030bfd16edc3509a6689912 SHA512 b6ccd68127b77599f1008e595258583978523ebc200266eb234ec8732f914cc16d056fd84bec6feba5e455fade8ae7f963928e830c4a645c9b9a7c8b702eb4ac
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
+}