diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
commit | e9d044d4b9b71200a96adfa280848858c0f468c9 (patch) | |
tree | 1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /app-misc/siglo/siglo-0.9.5.ebuild | |
parent | fc2f1018fc323ef2c6572734a9b130427cba76a6 (diff) |
gentoo resync : 13.11.2021
Diffstat (limited to 'app-misc/siglo/siglo-0.9.5.ebuild')
-rw-r--r-- | app-misc/siglo/siglo-0.9.5.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/siglo/siglo-0.9.5.ebuild b/app-misc/siglo/siglo-0.9.5.ebuild new file mode 100644 index 000000000000..4f32696ab50e --- /dev/null +++ b/app-misc/siglo/siglo-0.9.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_9 ) +inherit gnome2-utils python-single-r1 meson xdg + +DESCRIPTION="GTK app to sync InfiniTime watch with PinePhone" +HOMEPAGE="https://github.com/alexr4535/siglo" +SRC_URI="https://github.com/alexr4535/siglo/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +DEPEND="" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/gatt-python[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + ')" +BDEPEND="${PYTHON_DEPS}" + +#tests seem to fail +RESTRICT="test" + +src_configure() { + python_setup + sed -i "s#python.find_installation('python3').path()#\'${EPYTHON}\'#" src/meson.build + meson_src_configure +} + +src_install() { + meson_src_install + python_fix_shebang "${ED}/usr/bin" + python_optimize +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |