summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2021-11-11 13:21:45 -0500
committerRick Farina <zerochaos@gentoo.org>2021-11-11 13:21:56 -0500
commit155c066f59bf48324903101026d0e0cac771c0b4 (patch)
tree60b7de29a2709117b7ff1731474a59e8b696a0f7 /app-misc
parentdev-python/gatt-python: initial ebuild (diff)
downloadgentoo-155c066f59bf48324903101026d0e0cac771c0b4.tar.gz
gentoo-155c066f59bf48324903101026d0e0cac771c0b4.tar.bz2
gentoo-155c066f59bf48324903101026d0e0cac771c0b4.zip
app-misc/siglo: initial ebuild
if your eyes bleed when you read this, help is welcome Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/siglo/Manifest1
-rw-r--r--app-misc/siglo/metadata.xml8
-rw-r--r--app-misc/siglo/siglo-0.9.5.ebuild50
3 files changed, 59 insertions, 0 deletions
diff --git a/app-misc/siglo/Manifest b/app-misc/siglo/Manifest
new file mode 100644
index 000000000000..7990963e047b
--- /dev/null
+++ b/app-misc/siglo/Manifest
@@ -0,0 +1 @@
+DIST siglo-0.9.5.tar.gz 38574 BLAKE2B e593914ab21deaeaaeddafa59545282dfe737e8aa935a53ada444d504499bc03cd1e17f7dca2813d39d30234504742471c2ba2ed94d603c785f7626fa73561fa SHA512 0ed5f9311c680b377c9233dd7db8b00cea3d376933529dadc46c574e12b33a0b9db1b8e1c66fa60dc088a5d0ebb62ac5c1b1b0b00f0e2143ff0f285980938227
diff --git a/app-misc/siglo/metadata.xml b/app-misc/siglo/metadata.xml
new file mode 100644
index 000000000000..382e03b1550d
--- /dev/null
+++ b/app-misc/siglo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina (Zero_Chaos)</name>
+ </maintainer>
+</pkgmetadata>
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
+}