From 8e1ffbb33cec77a6429f4f220ca604db45c9a0d2 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 11 Jul 2024 19:08:30 +0300 Subject: [PATCH] app-emulation/bottles: drop 51.12 Signed-off-by: Alfred Wingate --- app-emulation/bottles/Manifest | 1 - app-emulation/bottles/bottles-51.12.ebuild | 151 --------------------- 2 files changed, 152 deletions(-) delete mode 100644 app-emulation/bottles/bottles-51.12.ebuild diff --git a/app-emulation/bottles/Manifest b/app-emulation/bottles/Manifest index 81b8f1b..f0dd6ff 100644 --- a/app-emulation/bottles/Manifest +++ b/app-emulation/bottles/Manifest @@ -1,3 +1,2 @@ DIST bottles-51.11.tar.gz 2268391 BLAKE2B 1c97bf73307f6f6325346b73afeaae009b7942527d0bf0cc2ac8de51933ad6021821f63c984130ee37c215acb13e5d929d25078a1574316fdfea1d8f4b4074f1 SHA512 42c503a4910a8e6c408caecd723edf1405aa034558d61313937a69c7d5ffb20ba4675fc9022775491cbbe6ba4a35ffac508b4721f9c971c57cbcb888345d546b -DIST bottles-51.12.tar.gz 2275632 BLAKE2B 3dc644e241140929236388ecfd71525065c9d46205bed78959added6360966df3587b0e67a385a302b95e3385eb4dddcf664807d5a8b660f269a151fe875ee07 SHA512 91b385cd21f369af3e8967cfedd811cd5da885a01b26bb90702e32895c941427ab99e0b24c881fcf5644a04ee5d9d7e48340b15dcb5d0aaaccdc655e1cdab750 DIST bottles-51.13.tar.gz 2275879 BLAKE2B eca6fe11529acd2181b4307cd18d327992f3810aa8c7c7fde0eeaf4d9988bf543305b29e28258c70e659855104beaae7782735fff3773f313efc7b3f1fd663d3 SHA512 a23b64275721ac890cce5d66ecf8b1a4cb85d00e18b372c27adc9190a1d9314eaed594a16833a5b44f77214c1c183f5e9bf739ee54e722a6997145ddaf8f1e59 diff --git a/app-emulation/bottles/bottles-51.12.ebuild b/app-emulation/bottles/bottles-51.12.ebuild deleted file mode 100644 index b320135..0000000 --- a/app-emulation/bottles/bottles-51.12.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit gnome2-utils python-single-r1 meson xdg optfeature - -DESCRIPTION="Run Windows software and games on Linux" -HOMEPAGE="https://usebottles.com/" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/bottlesdevs/Bottles/" -else - SRC_URI="https://github.com/bottlesdevs/Bottles/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/Bottles-${PV}" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3" -SLOT="0" - -IUSE="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -# Very annoying to figure out the deps -# Script for getting python modules: -# https://gitlab.com/Parona/my-scripts/-/blob/master/scripts/python_deps.sh -# Runtime programs needed can be quickly found with: -# grep -r "shutil.which" -# But look at context to gauge if they are optional or not -# -# BDPEPEND dependencies can be thankfully gathered from the meson.build files -# DEPEND are instrospection files which can be found as such -# find . -name "*.blp" -exec grep -Eh "^using " {} + | sed 's/using \([A-Za-z]*\) \([0-9.]*\);/\1-\2.typelib/' -# And in similar vein find runtime required introspection files, similar deal with getting typelib file as above -# grep -r "gi.require_version - -# vkbasalt could be optional but vkbasalt-cli isnt -# It could work without wine but(!) it still requires all the runtime dependencies for wine -# so easier to depend on wine to get it for free - -DEPEND=" - gui-libs/gtk:4[introspection] - gui-libs/libadwaita[introspection] -" -RDEPEND=" - ${PYTHON_DEPS} - ${DEPEND} - app-arch/cabextract - app-arch/p7zip - gui-libs/gtksourceview[introspection] - media-gfx/imagemagick - >=sys-libs/glibc-2.32 - x11-apps/xdpyinfo - || ( - app-emulation/wine-vanilla[X] - app-emulation/wine-staging[X] - app-emulation/wine-proton[X(+)] - ) - $(python_gen_cond_dep ' - app-arch/patool[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/charset-normalizer[${PYTHON_USEDEP}] - dev-python/FVS[${PYTHON_USEDEP}] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/icoextract[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}] - dev-python/orjson[${PYTHON_USEDEP}] - dev-python/pathvalidate[${PYTHON_USEDEP}] - dev-python/pefile[${PYTHON_USEDEP}] - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pycurl[${PYTHON_USEDEP}] - dev-python/pygobject[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/vkbasalt-cli[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ') -" -BDEPEND=" - ${PYTHON_DEPS} - dev-util/blueprint-compiler - dev-libs/glib:2 - sys-devel/gettext - test? ( - $(python_gen_cond_dep ' - dev-python/pytest[${PYTHON_USEDEP}] - ') - ) -" - -EPYTEST_DESELECT=( - # tests that check execution time are flaky in the right circumstances - # (like compiling llvm at the same time type circumstance) - "bottles/tests/backend/state/test_events.py::test_set_reset" - "bottles/tests/backend/state/test_events.py::test_simple_event" - "bottles/tests/backend/state/test_events.py::test_wait_after_done_event" -) - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_configure() { - if [[ "${PV}" == "9999" ]]; then - local emesonargs=( - -Ddevel=true - ) - fi - meson_src_configure -} - -src_install() { - meson_src_install - python_optimize "${D}/usr/share/bottles/" - python_fix_shebang "${D}/usr/" -} - -src_test() { - epytest -} - -pkg_preinst() { - xdg_pkg_preinst - gnome2_schemas_savelist -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update - optfeature "gamemode support" games-util/gamemode - optfeature "gamescope support" games-wm/gamescope - optfeature "vmtouch support" dev-utils/vmtouch - #optfeature "MangoHub support" games-util/mangohub - #optfeature "obs-vkcapture support" media-video/obs-vkcapture - - if has_version app-emulation/wine-vanilla[llvm-libunwind] || \ - has_version app-emulation/wine-staging[llvm-libunwind] || \ - has_version app-emulation/wine-proton[llvm-libunwind]; then - ewarn "With llvm-libunwind all the runners downloaded from bottles are most likely broken" - ewarn "So when using llvm-libunwind system wide it is recommended to stick to runners compiled by your system" - ewarn "More information:" - ewarn "https://gitlab.com/src_prepare/src_prepare-overlay/-/issues/49" - ewarn "https://gitlab.com/src_prepare/src_prepare-overlay/-/merge_requests/394#note_1735168806" - fi -}