public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/solaar/
Date: Sun, 28 Nov 2021 00:47:43 +0000 (UTC)	[thread overview]
Message-ID: <1638060459.2c4daac3073e3ac44e6ea594d291a08f4b65374a.robbat2@gentoo> (raw)

commit:     2c4daac3073e3ac44e6ea594d291a08f4b65374a
Author:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
AuthorDate: Wed Nov 24 22:24:56 2021 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Nov 28 00:47:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c4daac3

app-misc/solaar: add 1.0.7

Closes: https://bugs.gentoo.org/819081
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com>
(cherry picked from commit 26847f74573724273c09a7990bb5d0cf83dff3a5)
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/23071

 app-misc/solaar/Manifest            |  1 +
 app-misc/solaar/solaar-1.0.7.ebuild | 69 +++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/app-misc/solaar/Manifest b/app-misc/solaar/Manifest
index 6b211be32604..932ba896d504 100644
--- a/app-misc/solaar/Manifest
+++ b/app-misc/solaar/Manifest
@@ -1 +1,2 @@
 DIST solaar-1.0.5.tar.gz 920452 BLAKE2B 44aa0f9abd63629a5a4e737c14e468922c4aa501341717d595f045c5f40369ade6ff296120931557f1e8f04b99aa4f690454aa8f6bceaa526f370f93b312f6d6 SHA512 28603c30f0e9f2f0fe2549722062548031c69a0d9c98f732fdd8fbb51ed1d55ef033262113b2f88044a68f8b26c8c51fb0b45d4f4689fb3619e143d159618c47
+DIST solaar-1.0.7.tar.gz 1265664 BLAKE2B 6bb221d603dc74bf21ac44ca6611d817889285c8711c565b7393b875a934bf9125fc366569c1f677d657463484f2ec5fa077703f311ef2aec74e9f6813a5f1d7 SHA512 24b6b861f90d5747f150afb38b32041885b61cbf7df7794d780b311aef50d334347d5c5c722a0a7d5de3f91b96228e90e2a61dc108054452f46750a04340df83

diff --git a/app-misc/solaar/solaar-1.0.7.ebuild b/app-misc/solaar/solaar-1.0.7.ebuild
new file mode 100644
index 000000000000..cad0500253bc
--- /dev/null
+++ b/app-misc/solaar/solaar-1.0.7.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit linux-info udev xdg distutils-r1
+
+DESCRIPTION="Linux Device Manager for Logitech Unifying Receivers and Paired Devices"
+HOMEPAGE="https://pwr-solaar.github.io/Solaar/"
+if [[ ${PV} =~ 9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/pwr-Solaar/Solaar"
+else
+	SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV/_rc/rc}.tar.gz -> ${P/_rc/rc}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~x86"
+	S="${WORKDIR}"/Solaar-${PV/_rc/rc}
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc appindicator libnotify"
+
+RDEPEND="
+	acct-group/plugdev
+	$(python_gen_cond_dep '
+		dev-python/psutil[${PYTHON_USEDEP}]
+		dev-python/pygobject:3[${PYTHON_USEDEP}]
+		dev-python/python-xlib[${PYTHON_USEDEP}]
+		>=dev-python/pyudev-0.13[${PYTHON_USEDEP}]
+		dev-python/pyyaml[${PYTHON_USEDEP}]
+
+	')
+	x11-libs/gtk+:3[introspection]
+	appindicator? ( dev-libs/libappindicator:3[introspection] )
+	libnotify? ( x11-libs/libnotify[introspection] )"
+# libappindicator & libnotify are entirely optional and detected at runtime
+
+CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW"
+
+python_prepare_all() {
+	# don't autostart (bug #494608)
+	sed -i \
+		-e '/yield autostart_path/d' \
+		setup.py || die
+
+	sed -i -r \
+		-e '/yield.*udev.*rules.d/{s,/etc,/lib,g}' \
+		setup.py || die
+
+	# grant plugdev group rw access
+	sed -i 's/#MODE=/MODE=/' rules.d/42-logitech-unify-permissions.rules || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	dodoc docs/devices.md
+	if use doc; then
+		dodoc -r docs/*
+	else
+		newdoc docs/index.md README.md
+	fi
+	udev_dorules "${S}"/rules.d/42-logitech-unify-permissions.rules
+}


             reply	other threads:[~2021-11-28  0:47 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-28  0:47 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-26 15:16 [gentoo-commits] repo/gentoo:master commit in: app-misc/solaar/ Arthur Zamarin
2024-10-25 21:25 Sam James
2024-05-22 13:19 Matt Jolly
2024-05-17  5:57 Matt Turner
2024-05-17  5:57 Matt Turner
2024-05-17  5:57 Matt Turner
2024-05-17  5:57 Matt Turner
2023-10-03 17:18 Mart Raudsepp
2023-06-12 20:46 Sam James
2023-06-12 20:43 Sam James
2023-05-01 12:34 Michał Górny
2023-04-27 15:00 Pacho Ramos
2023-04-25  3:55 Sam James
2023-04-25  3:55 Sam James
2023-04-14  2:55 Robin H. Johnson
2023-02-27 15:12 Pacho Ramos
2023-01-04  4:56 Sam James
2023-01-04  3:28 Sam James
2022-06-06 11:02 Jakov Smolić
2022-06-06 11:02 Jakov Smolić
2022-05-24 15:05 Matt Turner
2022-05-24 15:05 Matt Turner
2022-03-25 19:47 Florian Schmaus
2022-03-21 16:59 Robin H. Johnson
2022-03-21 16:59 Robin H. Johnson
2022-03-21 16:59 Robin H. Johnson
2022-01-11  5:01 Robin H. Johnson
2021-04-14 18:04 Matt Turner
2021-04-11 11:11 Sam James
2021-04-11 11:06 Sam James
2021-02-28  4:27 Matt Turner
2021-02-28  2:31 Matt Turner
2021-02-27 19:26 Matt Turner
2021-02-27 19:26 Matt Turner
2020-12-02 23:31 Thomas Deutschmann
2020-12-02 22:49 Sam James
2020-12-02 22:15 Sam James
2020-07-27 21:45 Robin H. Johnson
2020-05-22  5:18 Matt Turner
2020-05-22  4:42 Robin H. Johnson
2020-05-18  6:16 Robin H. Johnson
2020-05-12  4:55 Robin H. Johnson
2020-05-12  4:55 Robin H. Johnson
2020-03-24 19:47 Robin H. Johnson
2020-03-23 20:55 Robin H. Johnson
2020-03-23 19:26 Robin H. Johnson
2020-02-05 21:21 Michał Górny
2019-12-22 19:44 Joonas Niilola
2019-09-15 16:49 Joonas Niilola
2019-09-13 12:58 Michał Górny
2018-06-27 17:49 Pacho Ramos
2016-11-09 11:17 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1638060459.2c4daac3073e3ac44e6ea594d291a08f4b65374a.robbat2@gentoo \
    --to=robbat2@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox