summaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/Manifest.gzbin21916 -> 21928 bytes
-rw-r--r--x11-themes/gentoo-xcursors/Manifest2
-rw-r--r--x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2-r3.ebuild (renamed from x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2-r2.ebuild)23
3 files changed, 23 insertions, 2 deletions
diff --git a/x11-themes/Manifest.gz b/x11-themes/Manifest.gz
index 8259ce83cf33..70dd677ac13f 100644
--- a/x11-themes/Manifest.gz
+++ b/x11-themes/Manifest.gz
Binary files differ
diff --git a/x11-themes/gentoo-xcursors/Manifest b/x11-themes/gentoo-xcursors/Manifest
index 14364b362b05..d1e064a5bcb3 100644
--- a/x11-themes/gentoo-xcursors/Manifest
+++ b/x11-themes/gentoo-xcursors/Manifest
@@ -1,4 +1,4 @@
DIST gentoo-xcursors-0.3.2.tar.gz 2035025 BLAKE2B 520dbb3f8fe77bc915bb60c81f2abf4fce1ee6fb349ae5064ff5d2fa10c0af7ba2dd00dc0b36f992c96169214c4ebd28dceb1ba069e638e5efab7088ba804fe6 SHA512 5ccbd2e8be7bda4da0578c5a08d967dded9dc4c9163eb96f629c0eaa548f2e46e85f7301de44d5be707cc63a988b925c9c222863da5bac9095dc5170ca9c4aea
EBUILD gentoo-xcursors-0.3.2-r1.ebuild 1440 BLAKE2B a9b4bf070791fdec7be4d8966b63893807d8cea13eb2f6c0c542869185ec1b74cd00315d5423683b44e4edbe47fe75f48364da8e4048991e8104b951e144c964 SHA512 095534b14414735d5490862eb8224c48b06a729c691d040745cde1787bf99474d9653f148aad2bb2f57501919fedc757d0db018c605ce52578cb771422957c91
-EBUILD gentoo-xcursors-0.3.2-r2.ebuild 978 BLAKE2B 842ca140a8df11a290eb4138512c5ae6e41fc3ec80dda3cfa03b94754d57f1fd77954857f9760d8504a1d9eefe9719f5ab5bb9e371f49a7dc02d2a8891ca4594 SHA512 57e0c5806d184d32aa611f33a30bd05d9c26f74775e4636d4ce1c99475012ab95304b2cd9cd0020c9e225b7a277630099e255aa07b879f8cc8082a3adc62d815
+EBUILD gentoo-xcursors-0.3.2-r3.ebuild 1649 BLAKE2B a1fa8423b0e900b5899f4053287c2ce52cbf8a4e68a677d9ef45434abbdc6a1aff9ad56daa570b4eaec8cee1afea0414eeaa43cc061d9876f80cf1a3e7651add SHA512 f454fc13503667acf7f7274e3b2f18fbd1b0d85f31db78886b9aadc61d6a45440e200ccd6f5d9ce56a7a8739bb599d0405471c474865e6d966cf110c7690d79a
MISC metadata.xml 625 BLAKE2B a8b1dcb3b123b3ac1131ef60c143b3adf94d1459c6cd00a5d4e56e83f7701f6842838802cea3c7f53cb4105ba0b20a828fd8ee06fa0a93e0ccc3764c2ef53525 SHA512 b80de950edb24625458aeabf9dabb3567306f202f63dc0cdab77b30d80652f833412aab92f3d7e314486d6bcbc823e36fc2718c30293e1e8d704c58593258787
diff --git a/x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2-r2.ebuild b/x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2-r3.ebuild
index e76461648e2d..a891f268b288 100644
--- a/x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2-r2.ebuild
+++ b/x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2-r3.ebuild
@@ -10,7 +10,7 @@ S="${WORKDIR}/${PN}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
src_install() {
insinto /usr/share/icons
@@ -24,6 +24,27 @@ src_install() {
done
}
+pkg_preinst() {
+ # Needed until bug #834600 is solved
+ if [[ -n ${REPLACING_VERSIONS} ]] ; then
+ GENTOOCURSORS="${EROOT}/usr/share/cursors/xorg-x11"
+ if [[ -d "${GENTOOCURSORS}/gentoo" ]] ; then
+ rm -r "${GENTOOCURSORS}/gentoo" || die
+ fi
+ if [[ -d "${GENTOOCURSORS}/gentoo-blue" ]] ; then
+ rm -r "${GENTOOCURSORS}/gentoo-blue" || die
+ fi
+ if [[ -d "${GENTOOCURSORS}/gentoo-silver" ]] ; then
+ rm -r "${GENTOOCURSORS}/gentoo-silver" || die
+ fi
+
+ if [[ -L "${GENTOOCURSORS}"/gentoo.backup.0000 ]]; then
+ einfo "There are symlinks left from a previous failed upgrade."
+ einfo "Remove ${GENTOOCURSORS}/gentoo*.backup.* manually to get rid of them."
+ fi
+ fi
+}
+
pkg_postinst() {
einfo "To use this set of cursors, consult <https://wiki.gentoo.org/wiki/Cursor_themes>."
einfo "The three sets installed are gentoo, gentoo-silver and gentoo-blue."