commit:     b82dce7250b37f95640639873d53165e350653b4
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 18 04:02:40 2022 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 18 04:34:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b82dce72

app-misc/anki-bin: update icon URL

Closes: https://bugs.gentoo.org/870688
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/anki-bin/Manifest               | 1 +
 app-misc/anki-bin/anki-bin-2.1.54.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest
index 8075610b3..709f07855 100644
--- a/app-misc/anki-bin/Manifest
+++ b/app-misc/anki-bin/Manifest
@@ -1,4 +1,5 @@
 DIST anki-bin-2.1.49.zip 9859031 BLAKE2B 
efe67559e090fbca990022f0dba9cff5f608ecbdf6d1a38cf682dfe8676458d77dbd0a12f68c19f24a74e8b006c7226c356bd9b03bc9c767ed1c063e3ab749d6
 SHA512 
cb6d4d65ad63d6a850a4bfd11f91e274f99afefe4eb988da8e72a73e062b3f477ffa5d7e6aac7baa0bb7efd8fafc599c10d36d44e6ab76d8ca2e7ebc83c32c3e
+DIST anki-bin-2.1.54.png 34595 BLAKE2B 
7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88
 SHA512 
c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
 DIST anki-bin-2.1.54.zip 10987565 BLAKE2B 
9ef71f62694f02dab59b7fd54a110df9a3748c373aed52f230dbc2335f881a78e130027559527a6ab1959e21f0337ab13ae89623ae22cf87351133f3cc7aa571
 SHA512 
d842309251d28218607177140a099f8b190b6f4b9ffb632c33aa0f9423118dd1424e59c70a0c93e57ad08c504cc36650590fda37b107e95bbbfb33521fbca87a
 DIST anki.png 34595 BLAKE2B 
7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88
 SHA512 
c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7
 DIST aqt-2.1.49.zip 2199372 BLAKE2B 
319eae4de573bfb07537faa3f3cef18f920dae55c230ce473dc08f5ebf4480df5f7a7d1b875ba7bc3c7147b596288f622db317f7eda835715bd6272e09da64f7
 SHA512 
65696fb36a5cd0cd9209eee483ffa31b2a9370d90e307140fd1d3ad647c7e6a63d24046dc521704fa78bf15895a0d6e57f72915cd161e1bb03a8bcbecb8099f0

diff --git a/app-misc/anki-bin/anki-bin-2.1.54.ebuild 
b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
index 388a9e9c3..ec35b0130 100644
--- a/app-misc/anki-bin/anki-bin-2.1.54.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.54.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://apps.ankiweb.net/";
 SRC_URI="
        
https://files.pythonhosted.org/packages/cp39/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp39-abi3-manylinux_2_28_x86_64.whl
 -> ${P}.zip
        
https://files.pythonhosted.org/packages/py3/a/aqt/aqt-${PV}-py3-none-any.whl -> 
aqt-${PV}.zip
-       https://raw.githubusercontent.com/ankitects/anki/${PV}/qt/linux/anki.png
+       
https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.png
 -> ${P}.png
 "
 
 LICENSE="AGPL-3"
@@ -59,6 +59,6 @@ src_install() {
        python_domodule aqt-${PV}.dist-info
        printf "#!/usr/bin/python3\nimport sys;from aqt import 
run;sys.exit(run())" > runanki
        python_newscript runanki anki
-       doicon "${DISTDIR}"/anki.png
+       newicon "${DISTDIR}"/${P}.png ${MY_PN}.png
        make_desktop_entry /usr/bin/anki Anki anki Education
 }

Reply via email to