-# Copyright © 2015-2018,2021-2022 Nick Bowler
+# Copyright © 2015-2018,2021-2023 Nick Bowler
# License GPLv3+: GNU General Public License version 3 or any later version.
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1
+inherit desktop distutils-r1
MY_P=Mnemosyne-$PV
default
}
+
+src_install () {
+ distutils-r1_src_install
+
+ rm -f "$D/usr/share/icons/mnemosyne.png"
+ newicon -s 256 pixmaps/mnemosyne_large.png $PN.png
+ newicon -s 128 pixmaps/mnemosyne.png $PN.png
+ newicon -s 22 pixmaps/mnemosyne_small.png $PN.png
+}