diff --git a/gui-apps/meteo-qt/Manifest b/gui-apps/meteo-qt/Manifest index 7922ae8284..f68e3054a8 100644 --- a/gui-apps/meteo-qt/Manifest +++ b/gui-apps/meteo-qt/Manifest @@ -1 +1,2 @@ DIST meteo-qt-3.3.gh.tar.gz 931450 BLAKE2B 0f8128ba768510b278862e2dbe33267cb339cb6fb6299e6448f49a6d5efaf98db045bd07833695e2eea936ce78bece4bc62bb62322a1df43767438e72c26dc86 SHA512 e52d05b98b99ecc01b9d584cf15db495f5c1eaa6e3ac1f429542d9d43e3890b03d93e3c7a55059821a32ea614cce7bb104b9353c59da04f164b561c920cca415 +DIST meteo-qt-3.4.gh.tar.gz 970247 BLAKE2B 44980c54c4fd746b487192e621b84ec278db22fdea534646535f49535dc1937a815d79ede3870e49f14c95c051c73c90f4e1cdd25099ebf311bc3ecb540d727c SHA512 3e9221ba460a0be874c2e1edb8eac3d363bae68f7d333977196230e3d37f28b12ed1d02b3d729830fbcd68288994cc27d1d940989f36e44475bf8eb01529bbf1 diff --git a/gui-apps/meteo-qt/meteo-qt-3.4.ebuild b/gui-apps/meteo-qt/meteo-qt-3.4.ebuild new file mode 100644 index 0000000000..aa2f9f9ec8 --- /dev/null +++ b/gui-apps/meteo-qt/meteo-qt-3.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 qmake-utils xdg + +DESCRIPTION="A system tray application for the weather status" +HOMEPAGE="https://github.com/dglent/meteo-qt" +SRC_URI="https://github.com/dglent/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/PyQt5[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + dev-python/PyQt5 + dev-qt/linguist-tools +" + +src_compile() { + local -x PATH="$(qt5_get_bindir):${PATH}" + distutils-r1_src_compile +} + +python_install() { + mv "${BUILD_DIR}/install$(python_get_sitedir)/usr" "${ED}" || die + rm -r "${ED}/usr/share/doc" || die + + distutils-r1_python_install +}