diff options
Diffstat (limited to 'x11-themes/adwaita-icon-theme')
-rw-r--r-- | x11-themes/adwaita-icon-theme/Manifest | 4 | ||||
-rw-r--r-- | x11-themes/adwaita-icon-theme/adwaita-icon-theme-43_p1.ebuild | 94 |
2 files changed, 98 insertions, 0 deletions
diff --git a/x11-themes/adwaita-icon-theme/Manifest b/x11-themes/adwaita-icon-theme/Manifest index 53adbe1f7208..7d76c51f1f70 100644 --- a/x11-themes/adwaita-icon-theme/Manifest +++ b/x11-themes/adwaita-icon-theme/Manifest @@ -1,8 +1,12 @@ DIST adwaita-icon-theme-3.32.0.tar.xz 18540012 BLAKE2B a82ca6758cdbf459ac617d3b3d834e4147c3a3c5e6ca7c705ed2d16e8cf0a1255f5ae999d7e930b9716585b8c498c220f1ab40fec929dde7679efd56f3b18a45 SHA512 9609732cd51c6794d4d86598818bb2a589b0f4b6b795e57f3507dad69b21ef1b2fc2e83e24e937428bbace32fcccf587a5771cbc02c5768206e704f0456a6d1d DIST adwaita-icon-theme-42.0.tar.xz 10407000 BLAKE2B 1ec998731b8da4ed17d7bb5887faba7a33721955836265c67efeffcf16bbb82e6f20750245b9b6d7dc4e816ec0e6ae71cb51a839debb0e070edf5d347d6260d5 SHA512 521bfd44fdc253f5fd01fcdfaa485669849ad73c35354ccfe9b358ba433cfa40ee6d68b70ec2268a4ce0631a48670b03b30811ca68e2e19f9430082454e02015 +DIST adwaita-icon-theme-43.tar.xz 10399380 BLAKE2B a8822d162f4c2c1ae0970a8c33175a5881748fb9868afe0d690cbf2b937d6f42cc37f8c4fffafd110557b62f17563c038126bc75c31364a6396074fce34c95bf SHA512 fe0c186c2dbe87ccf2373bde1bc5ab658e8cd64bf0e5a3b9cd1117d5c1bf2ef5cc83b76b7fae54fde1566a07b572d8bb9441f437e44813338195e191dbb2a021 DIST adwaita-icon-theme_42.0-2.debian.tar.xz 38420 BLAKE2B 49d88218881bd064394faa320a90e0ce1ef3a1295fbb1fbb276fb79f99f1caf7a6b1b1600ad6c648a6cb479e7bc429101cd0c327bcb8da64d50c7ea1e7a1c8fe SHA512 0bcbad6e63a05b3e916b76e6e6e5b629cf859d7bfa8e0edb53112967921cc00b9217270b663aadd36bde4bea38769345ea54593337cc0c524cf998266a4a3f65 DIST adwaita-icon-theme_42.0.orig-41.tar.xz 17086916 BLAKE2B 6899bf734a3f708e6596a4aeb2df426041dd46232a3cbd55f530fab2cc92277db74322a31a443e251a06c74bf7fad7d5f9394b63edb33fced5ce8987e5c87d3e SHA512 2a540f2b53cb64433780029ea70c2cfe8417ae7e619d8eefa59825e3ebcb8585acd4ccae25344c8e146a0ee0705ccbb39a2cb729a162534fd86a4ff24e505c86 +DIST adwaita-icon-theme_43-1.debian.tar.xz 38772 BLAKE2B a91929be7348e076e4210463489c812860a8fc85d1e31ef250b2be5f240a592dcb50da596debca9d384293e11fedf7ffa928e02473374335a65611f8d3f22cae SHA512 fc1a982d9f5d25d6b0f58798ee7df507d59f3bb4b5dc8e388e83c5cdf9994f2cbe321c0ec7a89bb45bd7dd41479791b5e7d9eb1b12518ea0c2cdf12c98624b1d +DIST adwaita-icon-theme_43.orig-41.tar.xz 17086916 BLAKE2B 6899bf734a3f708e6596a4aeb2df426041dd46232a3cbd55f530fab2cc92277db74322a31a443e251a06c74bf7fad7d5f9394b63edb33fced5ce8987e5c87d3e SHA512 2a540f2b53cb64433780029ea70c2cfe8417ae7e619d8eefa59825e3ebcb8585acd4ccae25344c8e146a0ee0705ccbb39a2cb729a162534fd86a4ff24e505c86 DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045 EBUILD adwaita-icon-theme-3.32.0.ebuild 1608 BLAKE2B 9fe50b4414ed37f44d8db02017e263c2ebbda88304422d56cead5eb65a0ffa74262241e5f41333ac823d6b0bdb04fcb28746ef7058be7fed349bcc34853f12e4 SHA512 a145ffb05832fbb569efa21c166cb004f94605dcfcc7c1b2a10080e9ae641902357d6f9d7a773bae3f43fa024c6ce3bf9231a93fc0366f46bda961930b5e2112 EBUILD adwaita-icon-theme-42.0_p2.ebuild 3738 BLAKE2B ac74d2d5709b54dab08e1f1ead63ebea770f5b90615416a8dab2b75b790304525c227530b70f105dae1e8b7b0ebacf5ba5872fe3847a6b8c3303993e93b4c940 SHA512 b40d2ba13317c8c2d8ea149a066f836acb4d968d9e8eceb63ddf921492e0d278d086b7680dc6e0a5a157ed75f1a573fcfde4c5f5928afcf4bb8e2ac3e18f78d9 +EBUILD adwaita-icon-theme-43_p1.ebuild 3016 BLAKE2B c17fea0fc92e6a43f95680f033c9feb18dbd31bb6b7cd336f8b0daa0129974e6cde6cf0b5b5fa05e1e3d09e24c641331cdf1dfc4013c633a126f7a66698bcdf5 SHA512 5cf47ed3552a1ae8b1df84e264b9f046b9c128106da115866dd9403b49523ff991ee6064f9af322f191050f936c324c81b7356ad83385bbe9baea8721d53ab74 MISC metadata.xml 278 BLAKE2B b97d99bcd4447233dcd68edc452577abf9ff7477fc98f5ea7f9e8981bce7bd617d3180f6b3fb009c646d38e67bdc4c2d62904b8271860d69f4d24e7ada421dbf SHA512 45ff14340f242e8fbae9a42188c5d36bd2c381a2660e5efd25127d46c357107d521db31d74b67e8a2d3e0e6ddd44d9dc203c679845cba6785a6f6b1bc7eed000 diff --git a/x11-themes/adwaita-icon-theme/adwaita-icon-theme-43_p1.ebuild b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-43_p1.ebuild new file mode 100644 index 000000000000..ae0367b097d5 --- /dev/null +++ b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-43_p1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit gnome2 python-any-r1 + +DESCRIPTION="GNOME default icon theme" +HOMEPAGE="https://gitlab.gnome.org/GNOME/adwaita-icon-theme" + +# Rely on Debian workaround until all involved upstreams agree on how to +# fix this: https://gitlab.gnome.org/GNOME/evolution/-/issues/1848 +SRC_URI="${SRC_URI/_p*}.tar.xz + branding? ( https://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz ) + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig-41.tar.xz + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz +" +LICENSE=" + || ( LGPL-3 CC-BY-SA-3.0 ) + branding? ( CC-BY-SA-4.0 ) +" +SLOT="0" +IUSE="branding" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +# gtk+:3 is needed for build for the gtk-encode-symbolic-svg utility +# librsvg is needed for gtk-encode-symbolic-svg to be able to read the source SVG via its pixbuf loader and at runtime for rendering scalable icons shipped by the theme +DEPEND=">=x11-themes/hicolor-icon-theme-0.10" +RDEPEND="${DEPEND} + >=gnome-base/librsvg-2.48:2 +" +BDEPEND="${PYTHON_DEPS} + >=gnome-base/librsvg-2.48:2 + sys-devel/gettext + virtual/pkgconfig + x11-libs/gtk+:3 +" +# This ebuild does not install any binaries +RESTRICT="binchecks strip" + +S="${WORKDIR}/${P/_p*}" + +src_prepare() { + if use branding; then + for i in 16 22 24 32 48; do + cp "${WORKDIR}"/tango-gentoo-v1.1/${i}x${i}/gentoo.png \ + "${S}"/Adwaita/${i}x${i}/places/start-here.png \ + || die "Copying gentoo logos failed" + done + cp "${WORKDIR}"/tango-gentoo-v1.1/scalable/gentoo.svg \ + "${S}"/Adwaita/scalable/places/start-here.svg || die + fi + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure GTK_UPDATE_ICON_CACHE=$(type -P true) + einfo "Configuring legacy icons" + cd "${WORKDIR}/${PN}-41.0" && gnome2_src_configure GTK_UPDATE_ICON_CACHE=$(type -P true) +} + +src_compile() { + gnome2_src_compile + einfo "Compiling legacy icons" + cd "${WORKDIR}/${PN}-41.0" && gnome2_src_compile +} + +pkg_preinst() { + # Needed until bug #834600 is solved + if [[ -d "${EROOT}"/usr/share/cursors/xorg-x11/Adwaita ]] ; then + rm -r "${EROOT}"/usr/share/cursors/xorg-x11/Adwaita || die + fi +} + +src_install() { + gnome2_src_install + + # Gentoo uses the following location for cursors too, but keep + # upstream path to prevent issues like bugs #838451, #834277, #834001 + dosym ../../../../usr/share/icons/Adwaita/cursors /usr/share/cursors/xorg-x11/Adwaita + + # Install missing icons, bug #844910 + # https://gitlab.gnome.org/GNOME/evolution/-/issues/1848 + einfo "Installing legacy icons" + cd "${WORKDIR}/${PN}-41.0" + emake DESTDIR="${WORKDIR}/debian/tmp-41" install + "${PYTHON}" "${WORKDIR}/debian/move-subset.py" \ + --icon-names-from-file="${WORKDIR}"/debian/legacy-icons-41.txt \ + --icon-names-from-file="${WORKDIR}"/debian/removed-icons-41.txt \ + "${WORKDIR}"/debian/tmp-41 \ + "${ED}" || die +} |