diff --git a/app-misc/anki-bin/Manifest b/app-misc/anki-bin/Manifest index 23778d40da..e5b45747b0 100644 --- a/app-misc/anki-bin/Manifest +++ b/app-misc/anki-bin/Manifest @@ -1,8 +1,10 @@ -DIST anki-bin-2.1.49.zip 9859031 BLAKE2B efe67559e090fbca990022f0dba9cff5f608ecbdf6d1a38cf682dfe8676458d77dbd0a12f68c19f24a74e8b006c7226c356bd9b03bc9c767ed1c063e3ab749d6 SHA512 cb6d4d65ad63d6a850a4bfd11f91e274f99afefe4eb988da8e72a73e062b3f477ffa5d7e6aac7baa0bb7efd8fafc599c10d36d44e6ab76d8ca2e7ebc83c32c3e DIST anki-bin-2.1.54.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05 DIST anki-bin-2.1.54.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220 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 +DIST anki-bin-2.1.55.1 2212 BLAKE2B 18dba4d3f7210b1fa765490617c4290b7a0f37abd75df6fdb395ea758fa2557789f595e0c0470c918ee988dfa5270df48dda095e8f6dce2aad597b0bba23db50 SHA512 50ee6633758b028c54b899d70cf582c54d4fdbb7e13f10921303db3a84d325ac689b48dbf4a5f03584748e89ad7820e14cd4646d7a3fa97919496f48a99cdb05 +DIST anki-bin-2.1.55.desktop 458 BLAKE2B 7311e2ea71b40bd586a547a14316ca5447d582c046c3850ec5f63637640401fa53e8cdb8799ca8d6b169e38dae3e507946f4fbe5057c0d48e92729033fc6514b SHA512 4666f855e488c0f3cdf2d071aeb373cf8eff96eefe71eb7bb67344fed66150b821d83bed4d4ec2966f63d2a6ede1701f1b19236a6a72e3002e70d2f404d55220 +DIST anki-bin-2.1.55.png 34595 BLAKE2B 7b8adeece0d666f819d2e579d04f00102d6a28fe5915b2d13ae0bbf72671f95610d2bb47235509756684d38e4be495b41b6b5814fa0ee2b303adc1c78ed54b88 SHA512 c5051738be8c766629a0ec4cbf95c5f554e7bbca2fb5103b3545f2c34a6fcfd87c1384bbd5239199a8491fa46889b299f5f6e1f23988e271402239cdc2a0a9e7 +DIST anki-bin-2.1.55.zip 11808071 BLAKE2B 0bb5435dca29a85ea6edee620005e2a17bd8259b288fd016aaaa91dbce3b676dc881b3be9bd10ee0f8601da63b4da34c8c229996961bdca61b64b48e063f9040 SHA512 87e5a220ca7714020a25937d581eddcfe5f11a6064410104d312e02b8fd133ab71e75578ab1e5b2abed6f58a0ecc105b26dfcdc6146d9e804e46df769c7acafb DIST aqt-2.1.54.zip 5245638 BLAKE2B 29d99cbc27ed07d71351ac3af546d376cf2bf94ce17a4a1e96f78d2cfeb49b8c750f02dc37da44d78ba83dfac41d9d241bf22f45f27fa4a1c4831be3534a9246 SHA512 7f915151a655a020fce5a6bbbe15adc37bfa0aaa33f588e7fb23a25e5ca6842efae6a9465e0b5c3f21ec806794ac723587fde46140a9469b5a7cabec1fc6bd64 +DIST aqt-2.1.55.zip 6224720 BLAKE2B 9daee99763714a9d2abcb800b5409ac18005464936280239022c65c5d6d2466d7a3043b6c189798538f16b16ebbd8db7961b02e29d9fc413b57da6ded0921e34 SHA512 1de8a9990f26a39f953f118609e1919f49a79b474d8b9a0f121b8de6211599e6aa5a854a8061ddb7db161da774323bf4d3fbc9fe47005eb77ef39bb258785b2d diff --git a/app-misc/anki-bin/anki-bin-2.1.49.ebuild b/app-misc/anki-bin/anki-bin-2.1.49.ebuild deleted file mode 100644 index 53b3ecbe66..0000000000 --- a/app-misc/anki-bin/anki-bin-2.1.49.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9} ) -inherit python-single-r1 desktop xdg - -MY_PN=${PN%-bin} -DESCRIPTION="A spaced-repetition memory training program (flash cards)" -HOMEPAGE="https://apps.ankiweb.net/" -SRC_URI=" - https://files.pythonhosted.org/packages/cp38/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}-cp38-abi3-manylinux2014_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 -" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -QA_PREBUILT="usr/lib/*" -DEPEND=" -$(python_gen_cond_dep ' - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/orjson-bin[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/waitress[${PYTHON_USEDEP}] - dev-python/send2trash[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/PyQtWebEngine[${PYTHON_USEDEP}] - dev-python/stringcase[${PYTHON_USEDEP}] - ') -" -RDEPEND="${DEPEND} - ${PYTHON_DEPS} - !app-misc/anki -" -BDEPEND="app-arch/unzip" - -S="${WORKDIR}" - -src_unpack() { - default -} - -src_install() { - python_domodule anki - python_domodule anki-${PV}.dist-info - python_domodule aqt - 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 - make_desktop_entry /usr/bin/anki Anki anki Education -} diff --git a/app-misc/anki-bin/anki-bin-2.1.54.ebuild b/app-misc/anki-bin/anki-bin-2.1.55.ebuild similarity index 77% rename from app-misc/anki-bin/anki-bin-2.1.54.ebuild rename to app-misc/anki-bin/anki-bin-2.1.55.ebuild index ec35b01309..d3b4b3b9b4 100644 --- a/app-misc/anki-bin/anki-bin-2.1.54.ebuild +++ b/app-misc/anki-bin/anki-bin-2.1.55.ebuild @@ -1,9 +1,9 @@ # Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_COMPAT=( python3_9 ) inherit python-single-r1 desktop xdg MY_PN=${PN%-bin} @@ -12,7 +12,9 @@ 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/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.desktop -> ${P}.desktop https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.png -> ${P}.png + https://raw.githubusercontent.com/ankitects/${MY_PN}/${PV}/qt/bundle/lin/${MY_PN}.1 -> ${P}.1 " LICENSE="AGPL-3" @@ -25,7 +27,6 @@ DEPEND=" $(python_gen_cond_dep ' dev-python/decorator[${PYTHON_USEDEP}] dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/orjson-bin[${PYTHON_USEDEP}] dev-python/distro[${PYTHON_USEDEP}] dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] @@ -49,16 +50,18 @@ BDEPEND="app-arch/unzip" S="${WORKDIR}" src_unpack() { - default + unpack ${P}.zip aqt-${PV}.zip } src_install() { - python_domodule anki - python_domodule anki-${PV}.dist-info - python_domodule aqt - python_domodule aqt-${PV}.dist-info + python_domodule anki anki-${PV}.dist-info _aqt aqt aqt-${PV}.dist-info printf "#!/usr/bin/python3\nimport sys;from aqt import run;sys.exit(run())" > runanki python_newscript runanki anki newicon "${DISTDIR}"/${P}.png ${MY_PN}.png - make_desktop_entry /usr/bin/anki Anki anki Education + newmenu "${DISTDIR}"/${P}.desktop ${MY_PN}.desktop + newman "${DISTDIR}"/${P}.1 ${MY_PN}.1 +} + +pkg_postinst() { + xdg_pkg_postinst } diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index 76fdb3f86d..6752746b60 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,2 +1 @@ -DIST fastfetch-1.7.5.tar.gz 449086 BLAKE2B b446abd550208c726d58b5e282107f5f7492bbd04439efda19194fd74bf87d2760a845c78431de124b925a52b74de0896197c80f65508fae2704e4786848a303 SHA512 134e088b3faa551108f65e693e8dad3c6def29b0086c86330cc7738854fddb49f30a2cb7cd61c12195723ddd47f33823906af3d8bff746e1da006b6fda45f85b DIST fastfetch-1.8.0.tar.gz 495237 BLAKE2B 151f45ea6753dc8333767beebb633732f2d375e4f9ce9019e30c2edbddf0f554864591e4536563df4f12494ce7a3e2e20e7492bcb66de896b1ad080570300378 SHA512 cbba45bb5338adf26bf188184e290fbf1a67791caee1432acd1030bd11622484506c9a5f267f7abca953c3a4f2e7d2ee5725c7e178a6284fdbfe05633b9db387 diff --git a/app-misc/fastfetch/fastfetch-1.7.5.ebuild b/app-misc/fastfetch/fastfetch-1.8.0-r1.ebuild similarity index 96% rename from app-misc/fastfetch/fastfetch-1.7.5.ebuild rename to app-misc/fastfetch/fastfetch-1.8.0-r1.ebuild index c9038f0156..cfc24057be 100644 --- a/app-misc/fastfetch/fastfetch-1.7.5.ebuild +++ b/app-misc/fastfetch/fastfetch-1.8.0-r1.ebuild @@ -87,3 +87,9 @@ src_configure() { cmake_src_configure } + +src_install() { + cmake_src_install + + rm -r "${ED}"/usr/share/licenses || die +} diff --git a/app-misc/fastfetch/fastfetch-1.8.0.ebuild b/app-misc/fastfetch/fastfetch-1.8.0.ebuild deleted file mode 100644 index c9038f0156..0000000000 --- a/app-misc/fastfetch/fastfetch-1.8.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Fast system information tool" -HOMEPAGE="https://github.com/LinusDierheimer/fastfetch" -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git" - [[ ${PV} == *9999 ]] && EGIT_BRANCH=master - [[ ${PV} == *d ]] && EGIT_BRANCH=dev - [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch" -else - SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="X chafa dbus gnome imagemagick opencl opengl osmesa pci sqlite vulkan wayland xcb xfce xrandr" - -# note - qa-vdb will always report errors because fastfetch loads the libs dynamically -RDEPEND=" - sys-libs/zlib - X? ( x11-libs/libX11 ) - chafa? ( media-gfx/chafa ) - dbus? ( sys-apps/dbus ) - gnome? ( - dev-libs/glib - gnome-base/dconf - ) - imagemagick? ( media-gfx/imagemagick:= ) - opencl? ( virtual/opencl ) - opengl? ( media-libs/libglvnd[X] ) - osmesa? ( media-libs/mesa[osmesa] ) - pci? ( sys-apps/pciutils ) - sqlite? ( dev-db/sqlite:3 ) - vulkan? ( media-libs/vulkan-loader ) - wayland? ( dev-libs/wayland ) - xcb? ( x11-libs/libxcb ) - xfce? ( xfce-base/xfconf ) - xrandr? ( x11-libs/libXrandr ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -REQUIRED_USE=" - xrandr? ( X ) - chafa? ( imagemagick ) -" - -src_configure() { - local fastfetch_enable_imagemagick7=no - local fastfetch_enable_imagemagick6=no - if use imagemagick; then - fastfetch_enable_imagemagick7=$(has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no) - fastfetch_enable_imagemagick6=$(has_version '