diff options
author | Sam James <sam@gentoo.org> | 2024-06-13 02:20:32 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-13 02:20:32 +0100 |
commit | 1125239f12b115df74d849fd174a8330b44355c9 (patch) | |
tree | 4a680d4b6522ed45989a1b49e1316bb7701be692 /x11-themes | |
parent | kde-plasma/plasma-meta: add ewarn for libc++ (diff) | |
download | gentoo-1125239f12b115df74d849fd174a8330b44355c9.tar.gz gentoo-1125239f12b115df74d849fd174a8330b44355c9.tar.bz2 gentoo-1125239f12b115df74d849fd174a8330b44355c9.zip |
x11-themes/comix-xcursors: add 0.10.0
Copy the approach that x11-themes/adwaita-icon-theme takes. Move to
a new location which isn't X specific.
Closes: https://bugs.gentoo.org/926866
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/comix-xcursors/Manifest | 4 | ||||
-rw-r--r-- | x11-themes/comix-xcursors/comix-xcursors-0.10.0.ebuild | 47 |
2 files changed, 51 insertions, 0 deletions
diff --git a/x11-themes/comix-xcursors/Manifest b/x11-themes/comix-xcursors/Manifest index db6126b4ba9f..dd5e4bc134ae 100644 --- a/x11-themes/comix-xcursors/Manifest +++ b/x11-themes/comix-xcursors/Manifest @@ -1,4 +1,8 @@ +DIST ComixCursors-0.10.0.tar.bz2 1753964 BLAKE2B 13ea09f12ea7a157471e8364c96413ccc7febfdf2a246c33a5e303d8acce0ee35a8f6ae9b55cc4c3af2cdeac113dab9f7cc776ea581f606b365bbb2f5d39fc39 SHA512 8440aeb7baa652d47793103a2197c0c94ca338a033a025cfa9dba2ed2f114fcbd03904f1a9e7cb7e071ad5c050ef42bf574d0a91db53d45506c8bb2f0fdf85c3 DIST ComixCursors-0.9.2.tar.bz2 1994280 BLAKE2B 1d3ab9d77e6a458157489cc24fc7cea0bd536a93135f0b1b257bc5b5b0dcdeb9446ce5d313c9b56a9de4806ed26c2e28be4e176b764a87bb905911a310adcccd SHA512 f88a9a32089c6b55b8a836d46a1ffb6a97174b23cd646e419d662305029d22ef4be63e9ac2afea930230959988bc585ef7bb5db5c121b59d7df39d0cf12ca626 +DIST ComixCursors-LH-0.10.0.tar.bz2 1758405 BLAKE2B 531b66bbfb89c250a747b972722572d89ffeed262b446f8e10f44d57f184c884562823a260c3835b035ee57a40143fe4b005163e8f162b93cceb1fe60aef6983 SHA512 db72874c972c8e62f85d1f8d8dac05510666ef8415c6b07a013a7cdc76cc780433b6fe6c1af859cebad621b97f1090e59213f3b31a9821956aca4d8e79cbf44b DIST ComixCursors-LH-0.9.2.tar.bz2 2001522 BLAKE2B 1655bbe87ff687693394ecfda3987aeae330128407e0fa45f8c4e6cfea865d96fb1844215b150ac533d07ea03b33de8c3c5caa58b5a9c79969252877b14838cf SHA512 da48306c917a7c2093cc54ce3718eaef041f180161caacd098d527316f39c4c0e8b37e2bfd62bee58b7d8a0c585ca4dc54312761b5b29d7935dd407feb04d626 +DIST ComixCursors-LH-Opaque-0.10.0.tar.bz2 1574331 BLAKE2B 0f46a6173b35515b75e0641648761c19045ab185b7d5db70fef53a2364599fe7e2abdb7b368fd2818ad4104d111586c8c12045b2b000e25041837f39f0a4d57f SHA512 a5a3021799a078241c7d71cab2d9abba2c0e1d2dfa63622c997b65898e1615aee1187820162af53cc26d33ff916abf1bac2beb957576e3cfd52b57a1bea15d7c DIST ComixCursors-LH-Opaque-0.9.2.tar.bz2 1800872 BLAKE2B d4f4b79ab67c0a6c5beae59afa1e3357538d8e9fd6a4bdfff64c4a14b921854a874aeb697f83c1fef74efb08b9389fbfb96ac187e436fa96cf879eeb86ef0e93 SHA512 06f4536aab0c39ef542fa3fa80d5e7913e7234f14d5bf7ad21f2f9c1dbb7cef413a440bc5272a02eacf0286eaf8a94871ca0e3fb5ee979f1cb4fc23b663e7009 +DIST ComixCursors-Opaque-0.10.0.tar.bz2 1569942 BLAKE2B 845aca22a97cb779a85b771e3eb978e2fe741ab659b090fff653d804e7e646786231fd22f149c35fff8c030c5355ba405338ce18f7e8aff06cd932480f6e420e SHA512 6122efd364b93fb10896c6a80cf84756a1ceec1d0fe7349d77f03618c72033e7d2370c451b7bb09dbdab827f28d8b23cdc8dcdb75c1835fe5b6d336668cf23c0 DIST ComixCursors-Opaque-0.9.2.tar.bz2 1792080 BLAKE2B c25817e265c8aad9ea0dcb8651ae0a77459774fc0f43541ef9f7c512476fe62220e7f13eb471e9b7cd740f7784f1ef9c81cf5f17d8260f9ba0552b0b760990b6 SHA512 1717e8a5b81ac71857dcd51e69bba7b02ea29734af41e407915ef72cc613085a3bab98da4566dec441ec70e144f95801adbf20aa941062c1f06aa9b5f64ba65c diff --git a/x11-themes/comix-xcursors/comix-xcursors-0.10.0.ebuild b/x11-themes/comix-xcursors/comix-xcursors-0.10.0.ebuild new file mode 100644 index 000000000000..685b9e914d66 --- /dev/null +++ b/x11-themes/comix-xcursors/comix-xcursors-0.10.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="ComixCursors" + +DESCRIPTION="X11 mouse theme with a comics feeling" +HOMEPAGE=" + https://limitland.de/comixcursors + https://gitlab.com/limitland/comixcursors +" +SRC_URI=" + https://limitland.gitlab.io/comixcursors/${MY_PN}-${PV}.tar.bz2 + lefthanded? ( https://limitland.gitlab.io/comixcursors/${MY_PN}-LH-${PV}.tar.bz2 ) + opaque? ( https://limitland.gitlab.io/comixcursors/${MY_PN}-Opaque-${PV}.tar.bz2 ) + lefthanded? ( opaque? ( https://limitland.gitlab.io/comixcursors/${MY_PN}-LH-Opaque-${PV}.tar.bz2 ) ) +" +S="${WORKDIR}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="lefthanded opaque" + +RDEPEND="x11-libs/libXcursor" + +src_install() { + insinto /usr/share/icons + doins -r "${S}"/* + + CURSOR_NAMES=() + for name in "${S}"/ComixCursors-* ; do + dosym -r "/usr/share/icons/${name##${S}/}/cursors" "/usr/share/cursors/xorg-x11/${name##${S}}" + CURSOR_NAMES+=( "${name##${S}/}" ) + done +} + +pkg_preinst() { + # Needed until bug #834600 is solved + local name + for name in "${CURSOR_NAMES[@]}" ; do + if [[ -d "${EROOT}/usr/share/cursors/xorg-x11/${name}" ]] ; then + rm -r "${EROOT}/usr/share/cursors/xorg-x11/${name}" || die + fi + done +} |