commit: 6c9c8a708269c8a9e146b3f9d5f35e4bfb985875 Author: Jonas Frei <freijon <AT> pm <DOT> me> AuthorDate: Fri Oct 31 19:25:19 2025 +0000 Commit: Jonas Frei <freijon <AT> pm <DOT> me> CommitDate: Fri Oct 31 19:25:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c9c8a70
gui-apps/espanso: drop 2.2.7 Signed-off-by: Jonas Frei <freijon <AT> pm.me> gui-apps/espanso/Manifest | 2 - gui-apps/espanso/espanso-2.2.7.ebuild | 80 ----------------------------------- 2 files changed, 82 deletions(-) diff --git a/gui-apps/espanso/Manifest b/gui-apps/espanso/Manifest index 2b51417250..8ecf1cd78d 100644 --- a/gui-apps/espanso/Manifest +++ b/gui-apps/espanso/Manifest @@ -1,4 +1,2 @@ -DIST espanso-2.2.7-crates.tar.xz 35661508 BLAKE2B 6178fd0a7f715efb2b622059610e8a5baea2605d8d2f4b7345c6cd5bd08b86f9449a409a7c510c9ee8acd59c19a30c9c3577fd62c8897e97d79a96b535ac9295 SHA512 0f7dfb3e3defb06c0396c5d93b9cb36a7467240ffaedd4d80c777757eedff43a9aba7560f575c2650333ddc67e6ad6ab8b5309cfc67cc9f9ad319237b58a1136 -DIST espanso-2.2.7.tar.gz 71744574 BLAKE2B 7cfb70f8a10d10f6286881c554be41471ca1d4245ec2cea07d9e82615f2a774d8d09188d3930df8f123cd30cfd5d9e56640ecf0e1a65b430c3e1196c39fba955 SHA512 0c544a584b28142955e4852583ea1f6e50a8d2aa6393266b8f9c6179038ca579a894f659ebc0fc55e5755904d2cbabe9bb6102f8b02e04ba2aa6bea0ee413042 DIST espanso-2.3.0-crates.tar.xz 35737972 BLAKE2B bec470b16c64831cab7ccc52ed1023c3d6df1f0aedf14122af2c2f5d18d526e80b41f974d0060e130b774ba2ae179a19fe4d10eeb865a011a50e1439e4c88525 SHA512 7205750da12bae82ffa95c429a5035754d831b5cb1e85b03c8745520a20dca4de8e28b7f1444f3f9c620bdb52cf3396430ea1a7bde27e34a2c9948fedba6b34d DIST espanso-2.3.0.tar.gz 71749236 BLAKE2B 9ff440c7244648a26ecae49d2cf2d8ed90e2e97d6f5e7972a442207a528e654dd970757238c537a466674e09c3ebfe194a6f21d5924f2ea712008536cb364ab6 SHA512 02ee8ce3a5b403d983c4bfd7e5984c3400eae6f20de639562202a9e899652fd408924af14275ccefadf3c6f20c70c9a3e4d038e7abdef2049ed333ae95efd3ac diff --git a/gui-apps/espanso/espanso-2.2.7.ebuild b/gui-apps/espanso/espanso-2.2.7.ebuild deleted file mode 100644 index a96864674d..0000000000 --- a/gui-apps/espanso/espanso-2.2.7.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RUST_MIN_VER="1.77.0" - -inherit cargo desktop fcaps linux-info systemd xdg - -DESCRIPTION="Cross-platform Text Expander written in Rust" -HOMEPAGE="https://espanso.org" -SRC_URI="https://github.com/espanso/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -DEPS_URI="https://github.com/freijon/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" -SRC_URI+=" ${DEPS_URI}" - -LICENSE="GPL-3" -# Dependent crate licenses -LICENSE+=" Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 ZLIB" -SLOT="0" -KEYWORDS="~amd64" -IUSE="wayland" - -DEPEND=" - acct-group/input - dev-libs/openssl - sys-apps/dbus - x11-libs/wxGTK - wayland? ( - x11-libs/libxkbcommon[wayland] - ) - !wayland? ( - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXtst - x11-libs/libxkbcommon[X] - ) -" -RDEPEND="${DEPEND}" - -QA_FLAGS_IGNORED="usr/bin/${PN}" - -pkg_setup() { - CONFIG_CHECK="~INPUT_UINPUT" - ERROR_INPUT_UINPUT="Espanso with Wayland needs the UINPUT" - ERROR_INPUT_UINPUT+=" input device driver to detect user inputs. Without it," - ERROR_INPUT_UINPUT+=" Espanso will not work as intended" - - # Now do the actual checks setup above, but only when using wayland - use wayland && linux-info_pkg_setup - rust_pkg_setup -} - -src_configure() { - local myfeatures=( - modulo - native-tls - $(usev wayland) - ) - cargo_src_configure --verbose --no-default-features -} - -src_compile() { - cargo_src_compile -p "${PN}" -} - -src_install() { - cargo_src_install --path "${PN}" - - newicon -s 128 "espanso/src/res/linux/icon.png" "${PN}.png" - domenu "espanso/src/res/linux/${PN}.desktop" - - # install the systemd-service (user level) - sed -i "s|{{{espanso_path}}}|/usr/bin/espanso|g" "espanso/src/res/linux/systemd.service" || die - systemd_newuserunit "espanso/src/res/linux/systemd.service" "${PN}.service" -} - -pkg_postinst() { - # See https://espanso.org/docs/install/linux/#adding-the-required-capabilities - use wayland && fcaps cap_dac_override "usr/bin/${PN}" -}
