diff --git a/gui-apps/waybar-tooltips/Manifest b/gui-apps/waybar-tooltips/Manifest index 2f72f64..80b4c44 100644 --- a/gui-apps/waybar-tooltips/Manifest +++ b/gui-apps/waybar-tooltips/Manifest @@ -1,3 +1,4 @@ DIST waybar-tooltips-0.0.3.gh.tar.gz 14556 BLAKE2B b3432acaf5ecaf4e8239b927bb72f1af5c516355790e06cfabd5fbaf49cd1fb2ec168f9e467fba7a7601cfb190baecaaaf985ee23175e3660249c4ec0a11c5df SHA512 3a934d4e084a35dde99e6823aeeb148675931cc7bd7e5ee3b005db360d491c864b59f6dfc96f92c7a76c02e40828aec07306db53265806a789f9271d61173405 DIST waybar-tooltips-0.0.4.gh.tar.gz 14582 BLAKE2B 262d25238eecad46c9800cb94eba4aae19b2d169c42f5055d427b0aef9369ad73236d6446750f55aa4ee1abdd7cc5ee87b9070e5c2a9abea9e924681c1d6d269 SHA512 915356a7f203e7c2514871b0a4952d263ad651abe33ce083711cc5b5abc9f8e9f628d7393df355f20cdde9ba6ebd82dc5482a6d44775b782896581526cb21540 DIST waybar-tooltips-0.0.5.gh.tar.gz 14684 BLAKE2B 1b62e2419aa93dc8cd831ae42fbb9f61cff812de2db6d9416c0d4bf5eb0d1efea7f81f206f31fbb79c7ef461191bc65e2d01eb8324d5e3806b40aad1a8f00b7e SHA512 8cbacb75a0dc4ef893a24cd9a0bd4fec3e5d4c39fabd050816260aa01ca5d65f9f3f87b0b5c650785f6691ca92bd856f3c3add9f2a1c3a8622f475ab2570d72b +DIST waybar-tooltips-0.0.6.gh.tar.gz 14767 BLAKE2B 2288d6cd795f31df3305d0b2bdc0c553f8e6aca00a3eab6bb3a30032a52d3f6a9708ef3f99241ca660745de3ac93b0c8794d5bd8a957e85ddaba0d998b42edb5 SHA512 1f2893ccbd96fd76edc7340e881f657ad882dfda38dadd64e89d28dbfddd1a3501ceba7b1238452207ec9bcbbd75a8f9ca80f62137d913e5d35c48941be0dcf5 diff --git a/gui-apps/waybar-tooltips/waybar-tooltips-0.0.6.ebuild b/gui-apps/waybar-tooltips/waybar-tooltips-0.0.6.ebuild new file mode 100644 index 0000000..c5c5519 --- /dev/null +++ b/gui-apps/waybar-tooltips/waybar-tooltips-0.0.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit python-r1 + +DESCRIPTION="Tooltips for Waybar" +HOMEPAGE="https://github.com/TheChymera/waybar-tooltips/" +SRC_URI="https://github.com/TheChymera/waybar-tooltips/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +KEYWORDS="~amd64 ~x86" + +LICENSE="GPL-3" +IUSE="khal weather" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +SLOT="0" + +RDEPEND=" + ${PYTHON_DEPS} + media-fonts/fontawesome + khal? ( + app-misc/khal[${PYTHON_USEDEP}] + ) + weather? ( + app-misc/ansiweather + ) +" + +khal_python_install() { + python_doscript "${S}/bin/waybar-tooltip-khal.py" +} + +src_install() { + if use khal; then + python_foreach_impl khal_python_install + fi + if use weather; then + dobin "${S}/bin/waybar-tooltip-weather" + fi +}