public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2022-12-29 10:44 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2022-12-29 10:44 UTC (permalink / raw
  To: gentoo-commits

commit:     c10f5362b6c2059ebe564dfe561da8c0d5fd97b4
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 10:44:01 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 10:44:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10f5362

sys-power/switcheroo-control: add freedesktop-gitlab upstream metadata

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-power/switcheroo-control/metadata.xml b/sys-power/switcheroo-control/metadata.xml
index 572c7daf2ccf..88197da5238c 100644
--- a/sys-power/switcheroo-control/metadata.xml
+++ b/sys-power/switcheroo-control/metadata.xml
@@ -4,4 +4,7 @@
 	<maintainer type="person">
 		<email>pacho@gentoo.org</email>
 	</maintainer>
+	<upstream>
+		<remote-id type="freedesktop-gitlab">hadess/switcheroo-control</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2024-10-04  2:30 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-10-04  2:30 UTC (permalink / raw
  To: gentoo-commits

commit:     67ff96e24e3a46748b7739b7187229023b2637d5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  4 02:29:48 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  4 02:29:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ff96e2

sys-power/switcheroo-control: enable py3.13

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index 33f57d5665a8..4b45fc2ad074 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit meson python-single-r1 systemd
 


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2024-02-02 12:44 Arthur Zamarin
  0 siblings, 0 replies; 24+ messages in thread
From: Arthur Zamarin @ 2024-02-02 12:44 UTC (permalink / raw
  To: gentoo-commits

commit:     0098f33ba22885c034a8d3f22d42b61ccce16889
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  2 12:41:19 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb  2 12:41:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0098f33b

sys-power/switcheroo-control: Stabilize 2.6-r2 ppc64, #921319

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index e4cae48d99f8..33f57d5665a8 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2023 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ SLOT="0"
 IUSE="gtk-doc selinux test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-12-25 11:25 Fabian Groffen
  0 siblings, 0 replies; 24+ messages in thread
From: Fabian Groffen @ 2023-12-25 11:25 UTC (permalink / raw
  To: gentoo-commits

commit:     a2408e5e8ca34463ad5ceaff11b8465012c95ef9
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 11:25:00 2023 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 11:25:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2408e5e

sys-power/switcheroo-control-2.6-r2: fix for Prefix, #917566

Closes: https://bugs.gentoo.org/917566
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index 472ca361e95c..e4cae48d99f8 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -56,7 +56,7 @@ src_configure() {
 
 src_install() {
 	meson_src_install
-	python_fix_shebang "${D}"/usr/bin/switcherooctl
+	python_fix_shebang "${ED}"/usr/bin/switcherooctl
 	newinitd "${FILESDIR}"/${PN}-init.d ${PN}
 }
 


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-12-18 10:19 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2023-12-18 10:19 UTC (permalink / raw
  To: gentoo-commits

commit:     c62d2848eb6509f280017b8c8d6d4849dd7a5bdc
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 09:25:15 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 10:19:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62d2848

sys-power/switcheroo-control: disable py3.9

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index 1b8aa27af2c3..472ca361e95c 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit meson python-single-r1 systemd
 


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-12-18 10:19 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2023-12-18 10:19 UTC (permalink / raw
  To: gentoo-commits

commit:     218ef96b9ffa00a4d5c9bb980334408f082d006c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 09:24:26 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 10:19:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218ef96b

sys-power/switcheroo-control: enable py3.12

Closes: https://bugs.gentoo.org/917030
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index 36faca9d3eef..1b8aa27af2c3 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 
 inherit meson python-single-r1 systemd
 


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-11-14 21:49 Kenton Groombridge
  0 siblings, 0 replies; 24+ messages in thread
From: Kenton Groombridge @ 2023-11-14 21:49 UTC (permalink / raw
  To: gentoo-commits

commit:     3ae9378d1f9e5983d411b01c6fe3da43ae312949
Author:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  6 15:42:50 2023 +0000
Commit:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 21:47:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ae9378d

sys-power/switcheroo-control: add USE=selinux

Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index d8788ef9cf76..36faca9d3eef 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/86ea54
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="gtk-doc test"
+IUSE="gtk-doc selinux test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
@@ -21,6 +21,7 @@ RDEPEND="${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
 	>=dev-libs/glib-2.56.0:2
 	>=dev-libs/libgudev-232:=
+	selinux? ( sec-policy/selinux-switcheroo )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-08-10  7:29 Jakov Smolić
  0 siblings, 0 replies; 24+ messages in thread
From: Jakov Smolić @ 2023-08-10  7:29 UTC (permalink / raw
  To: gentoo-commits

commit:     a16371ec0065691d89007274aeb7a7ac4471a567
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 10 07:29:01 2023 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Aug 10 07:29:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16371ec

sys-power/switcheroo-control: Keyword 2.6-r2 riscv, #911784

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index 6f2be4f50c10..f5618d418467 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -15,7 +15,7 @@ SLOT="0"
 IUSE="gtk-doc test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-KEYWORDS="amd64 ~arm ~arm64 ~loong"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv"
 
 RDEPEND="${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-08-06 11:29 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2023-08-06 11:29 UTC (permalink / raw
  To: gentoo-commits

commit:     a7e7d56e50340a9482d8264b69abda7bf8c89fe6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 11:29:16 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 11:29:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e7d56e

sys-power/switcheroo-control: Keyword 2.6-r2 arm, #911784

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index c99b6f103dad..247c920690cf 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -15,7 +15,7 @@ SLOT="0"
 IUSE="gtk-doc test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-KEYWORDS="amd64 ~loong"
+KEYWORDS="amd64 ~arm ~loong"
 
 RDEPEND="${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-08-06 11:29 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2023-08-06 11:29 UTC (permalink / raw
  To: gentoo-commits

commit:     86cb29c3e999fdc6968335aac960d540f66cadbc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 11:29:17 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 11:29:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86cb29c3

sys-power/switcheroo-control: Keyword 2.6-r2 arm64, #911784

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index 247c920690cf..6f2be4f50c10 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -15,7 +15,7 @@ SLOT="0"
 IUSE="gtk-doc test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-KEYWORDS="amd64 ~arm ~loong"
+KEYWORDS="amd64 ~arm ~arm64 ~loong"
 
 RDEPEND="${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-08-06  9:08 WANG Xuerui
  0 siblings, 0 replies; 24+ messages in thread
From: WANG Xuerui @ 2023-08-06  9:08 UTC (permalink / raw
  To: gentoo-commits

commit:     5ba5b27a9de852662941e12827ef5b69a52482e1
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 09:08:10 2023 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 09:08:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba5b27a

sys-power/switcheroo-control: keyword 2.6-r2 for ~loong

Bug: https://bugs.gentoo.org/911784
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index 37d903674a98..c99b6f103dad 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -15,7 +15,7 @@ SLOT="0"
 IUSE="gtk-doc test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-KEYWORDS="amd64"
+KEYWORDS="amd64 ~loong"
 
 RDEPEND="${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-03-03 14:11 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2023-03-03 14:11 UTC (permalink / raw
  To: gentoo-commits

commit:     462bb0f5ffa22c751146b7e71a0a4c8070070234
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 14:00:50 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 14:10:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=462bb0f5

sys-power/switcheroo-control: Fix typos

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index e6b508a9c0f4..37d903674a98 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -61,9 +61,9 @@ src_install() {
 
 pkg_postinst() {
 	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		elog "You to enable the service:"
+		elog "You need to enable the service:"
 		if systemd_is_booted; then
-			elog "# systemctl enable switcheroo-control"
+			elog "# systemctl enable ${PN}"
 		else
 			elog "# rc-update add ${PN} default"
 		fi


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-02-27 15:12 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2023-02-27 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     aed2097130e19618bb971068565d9406ad6f1c69
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 14:30:44 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 14:30:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed20971

sys-power/switcheroo-control: drop 2.6, 2.6-r1

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../switcheroo-control-2.6-r1.ebuild               | 64 ----------------------
 .../switcheroo-control-2.6.ebuild                  | 53 ------------------
 2 files changed, 117 deletions(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild
deleted file mode 100644
index b89e15d6d645..000000000000
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2021-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit meson python-any-r1 systemd
-
-DESCRIPTION="D-Bus service to check the availability of dual-GPU"
-HOMEPAGE="https://gitlab.freedesktop.org/hadess/switcheroo-control/"
-SRC_URI="https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/86ea54ac7ddb901b6bf6e915209151f8/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="gtk-doc test"
-
-KEYWORDS="amd64"
-
-RDEPEND="
-	>=dev-libs/glib-2.56.0:2
-	>=dev-libs/libgudev-232:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	dev-util/gdbus-codegen
-	gtk-doc? ( dev-util/gtk-doc )
-	test? (
-	        $(python_gen_any_dep 'dev-python/python-dbusmock[${PYTHON_USEDEP}]')
-		dev-util/umockdev
-	)
-"
-
-RESTRICT="!test? ( test )"
-
-python_check_deps() {
-	use test || return 0
-	python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
-}
-
-src_configure() {
-	local emesonargs=(
-		-Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
-		$(meson_use gtk-doc gtk_doc)
-		$(meson_use test tests)
-	)
-	meson_src_configure
-}
-
-src_install() {
-	meson_src_install
-	python_fix_shebang "${D}"/usr/bin/switcherooctl
-	newinitd "${FILESDIR}"/${PN}-init.d ${PN}
-}
-
-pkg_postinst() {
-	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		elog "You to enable the service:"
-		if systemd_is_booted; then
-			elog "# systemctl enable switcheroo-control"
-		else
-			elog "# rc-update add ${PN} default"
-		fi
-	fi
-}

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
deleted file mode 100644
index b4d8bf68db8f..000000000000
--- a/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 2021-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit meson python-any-r1
-
-DESCRIPTION="D-Bus service to check the availability of dual-GPU"
-HOMEPAGE="https://gitlab.freedesktop.org/hadess/switcheroo-control/"
-SRC_URI="https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/86ea54ac7ddb901b6bf6e915209151f8/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="gtk-doc test"
-
-KEYWORDS="amd64"
-
-RDEPEND="
-	>=dev-libs/glib-2.56.0:2
-	>=dev-libs/libgudev-232:=
-	sys-apps/systemd
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	gtk-doc? ( dev-util/gtk-doc )
-	test? (
-	        $(python_gen_any_dep 'dev-python/python-dbusmock[${PYTHON_USEDEP}]')
-		dev-util/umockdev
-	)
-"
-
-RESTRICT="!test? ( test )"
-
-python_check_deps() {
-	use test || return 0
-	python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
-}
-
-src_configure() {
-	local emesonargs=(
-		$(meson_use gtk-doc gtk_doc)
-		$(meson_use test tests)
-	)
-	meson_src_configure
-}
-
-pkg_postinst() {
-	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		elog "You need to run systemd and enable the service:"
-		elog "# systemctl enable switcheroo-control"
-	fi
-}


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-02-11  8:43 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2023-02-11  8:43 UTC (permalink / raw
  To: gentoo-commits

commit:     115665d53ea9fb698b0bef80de8a920da07570d4
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 08:43:17 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 08:43:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115665d5

sys-power/switcheroo-control: stabilize 2.6-r2 for amd64

Closes: https://bugs.gentoo.org/891749
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
index 904ca86aeeaa..e6b508a9c0f4 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -15,7 +15,7 @@ SLOT="0"
 IUSE="gtk-doc test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-01-27 20:38 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2023-01-27 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     fe26dafd89a74727711ce0213d5d93772fee9e7c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 20:36:24 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 20:38:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe26dafd

sys-power/switcheroo-control: Fix python handling

Bug: https://bugs.gentoo.org/891749
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../switcheroo-control-2.6-r2.ebuild               | 71 ++++++++++++++++++++++
 1 file changed, 71 insertions(+)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
new file mode 100644
index 000000000000..904ca86aeeaa
--- /dev/null
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit meson python-single-r1 systemd
+
+DESCRIPTION="D-Bus service to check the availability of dual-GPU"
+HOMEPAGE="https://gitlab.freedesktop.org/hadess/switcheroo-control/"
+SRC_URI="https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/86ea54ac7ddb901b6bf6e915209151f8/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="gtk-doc test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~amd64"
+
+RDEPEND="${PYTHON_DEPS}
+	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
+	>=dev-libs/glib-2.56.0:2
+	>=dev-libs/libgudev-232:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
+	dev-util/gdbus-codegen
+	gtk-doc? ( dev-util/gtk-doc )
+	test? (
+		$(python_gen_cond_dep 'dev-python/python-dbusmock[${PYTHON_USEDEP}]')
+		dev-util/umockdev
+	)
+"
+
+RESTRICT="!test? ( test )"
+
+python_check_deps() {
+	if use test; then
+		python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]" &&
+		python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
+	else
+		python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
+	fi
+}
+
+src_configure() {
+	local emesonargs=(
+		-Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
+		$(meson_use gtk-doc gtk_doc)
+		$(meson_use test tests)
+	)
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+	python_fix_shebang "${D}"/usr/bin/switcherooctl
+	newinitd "${FILESDIR}"/${PN}-init.d ${PN}
+}
+
+pkg_postinst() {
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		elog "You to enable the service:"
+		if systemd_is_booted; then
+			elog "# systemctl enable switcheroo-control"
+		else
+			elog "# rc-update add ${PN} default"
+		fi
+	fi
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-01-22 12:46 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2023-01-22 12:46 UTC (permalink / raw
  To: gentoo-commits

commit:     0408faa52e79bf0f5b2aeb9d17d22a86c4a45404
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 22 12:41:31 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 12:45:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0408faa5

sys-power/switcheroo-control: stabilize 2.6-r1 for amd64

Closes: https://bugs.gentoo.org/891385
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild
index 51cbadfc96e3..b89e15d6d645 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="GPL-3"
 SLOT="0"
 IUSE="gtk-doc test"
 
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
 	>=dev-libs/glib-2.56.0:2


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2023-01-02  9:58 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2023-01-02  9:58 UTC (permalink / raw
  To: gentoo-commits

commit:     2785c08fa57a128d53db2df82a804f870409a219
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 09:56:58 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 09:56:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2785c08f

sys-power/switcheroo-control: Add missing dep

Closes: https://bugs.gentoo.org/888861
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild
index c44f0662b570..ecce4e3c68ce 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,6 +22,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
+	dev-util/gdbus-codegen
 	gtk-doc? ( dev-util/gtk-doc )
 	test? (
 	        $(python_gen_any_dep 'dev-python/python-dbusmock[${PYTHON_USEDEP}]')


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2022-12-29 10:44 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2022-12-29 10:44 UTC (permalink / raw
  To: gentoo-commits

commit:     6748725db4aec61990c9493cef340bb189cc28b2
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 10:44:13 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 10:44:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6748725d

sys-power/switcheroo-control: drop 2.4

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/Manifest              |  1 -
 .../switcheroo-control-2.4.ebuild                  | 42 ----------------------
 2 files changed, 43 deletions(-)

diff --git a/sys-power/switcheroo-control/Manifest b/sys-power/switcheroo-control/Manifest
index 0df8a9135e34..14c2fac1ed9e 100644
--- a/sys-power/switcheroo-control/Manifest
+++ b/sys-power/switcheroo-control/Manifest
@@ -1,2 +1 @@
-DIST switcheroo-control-2.4.tar.xz 27964 BLAKE2B f85014ad6696e301bafd75b694f5c130498171d95b0330d2996568737cbcd677eef5256bc47638bf87d178d6fe099f3c53bd710a1534db20f1dbe5fbe51681c7 SHA512 47f071b17cbb520d862800ef2d8389ada1130be96a8c1efed9be6793081b5826355ad30b0feeba1cc9eda792b4c943ffc852d12648b0c5e74f25c207d151c1c3
 DIST switcheroo-control-2.6.tar.xz 29996 BLAKE2B 98204a1d0f3b92cc2b98ad9f382313aed4da5877ac6be607c48ee9386bd25087301e249907a7e1385eea357f0a3ce5fb2936fac688923dfa3555a9870f0d2e58 SHA512 ac8867a839ae958676f5c5c7bb4c25cbbcf70eb35a696bb3d80b388c31a9722e75311c041c4c60b8f1d00f405af97dd9173e99780a2be3c621ac759c4986a2d2

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
deleted file mode 100644
index edf3b3edbb4b..000000000000
--- a/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit meson
-
-DESCRIPTION="D-Bus service to check the availability of dual-GPU"
-HOMEPAGE="https://gitlab.freedesktop.org/hadess/switcheroo-control/"
-SRC_URI="https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/accd4a9492979bfd91b587ae7e18d3a2/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="gtk-doc test"
-
-KEYWORDS="amd64"
-
-RDEPEND="
-	>=dev-libs/glib-2.56.0:2
-	>=dev-libs/libgudev-232:=
-	sys-apps/systemd
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	gtk-doc? ( dev-util/gtk-doc )
-	test? ( dev-util/umockdev )
-"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-	local emesonargs=(
-		$(meson_use gtk-doc gtk_doc)
-	)
-	meson_src_configure
-}
-
-pkg_postinst() {
-	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		elog "You need to run systemd and enable the service:"
-		elog "# systemctl enable switcheroo-control"
-	fi
-}


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2022-12-01 22:24 Jakov Smolić
  0 siblings, 0 replies; 24+ messages in thread
From: Jakov Smolić @ 2022-12-01 22:24 UTC (permalink / raw
  To: gentoo-commits

commit:     cfc2d36fe4a388509f645c9f04a050a767b97cc9
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 22:24:05 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 22:24:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc2d36f

sys-power/switcheroo-control: Stabilize 2.6 amd64, #883921

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
index 14ec8f0eb790..f4e1e1be7f45 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
@@ -14,7 +14,7 @@ LICENSE="GPL-3"
 SLOT="0"
 IUSE="gtk-doc test"
 
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
 	>=dev-libs/glib-2.56.0:2


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2022-08-11  9:49 Sam James
  0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2022-08-11  9:49 UTC (permalink / raw
  To: gentoo-commits

commit:     c595a4b370bffd20fcbb8b67adc9a3ec0d5a47bb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 09:46:18 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 09:46:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c595a4b3

sys-power/switcheroo-control: fix PythonAnyMismatchedDepHasVersionCheck

has_version was checking DEPEND, not BDEPEND, so change to python_has_version for
better defaults (defaults to BDEPEND) but also nicer output.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
index 93e64ab5b467..14ec8f0eb790 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
@@ -34,7 +34,7 @@ RESTRICT="!test? ( test )"
 
 python_check_deps() {
 	use test || return 0
-	has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
+	python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2022-07-20 13:13 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2022-07-20 13:13 UTC (permalink / raw
  To: gentoo-commits

commit:     3949027c0bf2c8ca374179c9ec32302ca10b1962
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 13:00:06 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 13:00:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3949027c

sys-power/switcheroo-control: add 2.6

Closes: https://bugs.gentoo.org/834963
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/Manifest              |  1 +
 .../switcheroo-control-2.6.ebuild                  | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/sys-power/switcheroo-control/Manifest b/sys-power/switcheroo-control/Manifest
index e6b1cd94e504..0df8a9135e34 100644
--- a/sys-power/switcheroo-control/Manifest
+++ b/sys-power/switcheroo-control/Manifest
@@ -1 +1,2 @@
 DIST switcheroo-control-2.4.tar.xz 27964 BLAKE2B f85014ad6696e301bafd75b694f5c130498171d95b0330d2996568737cbcd677eef5256bc47638bf87d178d6fe099f3c53bd710a1534db20f1dbe5fbe51681c7 SHA512 47f071b17cbb520d862800ef2d8389ada1130be96a8c1efed9be6793081b5826355ad30b0feeba1cc9eda792b4c943ffc852d12648b0c5e74f25c207d151c1c3
+DIST switcheroo-control-2.6.tar.xz 29996 BLAKE2B 98204a1d0f3b92cc2b98ad9f382313aed4da5877ac6be607c48ee9386bd25087301e249907a7e1385eea357f0a3ce5fb2936fac688923dfa3555a9870f0d2e58 SHA512 ac8867a839ae958676f5c5c7bb4c25cbbcf70eb35a696bb3d80b388c31a9722e75311c041c4c60b8f1d00f405af97dd9173e99780a2be3c621ac759c4986a2d2

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
new file mode 100644
index 000000000000..93e64ab5b467
--- /dev/null
+++ b/sys-power/switcheroo-control/switcheroo-control-2.6.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit meson python-any-r1
+
+DESCRIPTION="D-Bus service to check the availability of dual-GPU"
+HOMEPAGE="https://gitlab.freedesktop.org/hadess/switcheroo-control/"
+SRC_URI="https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/86ea54ac7ddb901b6bf6e915209151f8/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="gtk-doc test"
+
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=dev-libs/glib-2.56.0:2
+	>=dev-libs/libgudev-232:=
+	sys-apps/systemd
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	gtk-doc? ( dev-util/gtk-doc )
+	test? (
+	        $(python_gen_any_dep 'dev-python/python-dbusmock[${PYTHON_USEDEP}]')
+		dev-util/umockdev
+	)
+"
+
+RESTRICT="!test? ( test )"
+
+python_check_deps() {
+	use test || return 0
+	has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
+}
+
+src_configure() {
+	local emesonargs=(
+		$(meson_use gtk-doc gtk_doc)
+		$(meson_use test tests)
+	)
+	meson_src_configure
+}
+
+pkg_postinst() {
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		elog "You need to run systemd and enable the service:"
+		elog "# systemctl enable switcheroo-control"
+	fi
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2022-03-13 18:36 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2022-03-13 18:36 UTC (permalink / raw
  To: gentoo-commits

commit:     9bb2e372bb3f8b0be5789f816f394fe6c81a7320
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 13 18:36:19 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Mar 13 18:36:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb2e372

sys-power/switcheroo-control: Fix tests

Closes: https://bugs.gentoo.org/834882
Thanks-to: Toralf Förster
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.4.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
index 8916604271ba..edf3b3edbb4b 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 inherit meson
 
 DESCRIPTION="D-Bus service to check the availability of dual-GPU"
@@ -10,7 +10,7 @@ SRC_URI="https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/accd4a
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="gtk-doc"
+IUSE="gtk-doc test"
 
 KEYWORDS="amd64"
 
@@ -22,8 +22,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
 	gtk-doc? ( dev-util/gtk-doc )
+	test? ( dev-util/umockdev )
 "
 
+RESTRICT="!test? ( test )"
+
 src_configure() {
 	local emesonargs=(
 		$(meson_use gtk-doc gtk_doc)


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2021-05-02 19:06 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2021-05-02 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     6a2d7c1502c3ec854048aeb0b0849dffb8322758
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun May  2 19:06:03 2021 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun May  2 19:06:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a2d7c15

sys-power/switcheroo-control: Stabilize

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/switcheroo-control-2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
index 9712cad1e58..8916604271b 100644
--- a/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
+++ b/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
@@ -12,7 +12,7 @@ LICENSE="GPL-3"
 SLOT="0"
 IUSE="gtk-doc"
 
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
 	>=dev-libs/glib-2.56.0:2


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/
@ 2021-03-28 10:19 Pacho Ramos
  0 siblings, 0 replies; 24+ messages in thread
From: Pacho Ramos @ 2021-03-28 10:19 UTC (permalink / raw
  To: gentoo-commits

commit:     2477c71cbcffbfa9581be40a741bd365906dadeb
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 28 10:18:13 2021 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Mar 28 10:19:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2477c71c

sys-power/switcheroo-control: New package

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/switcheroo-control/Manifest              |  1 +
 sys-power/switcheroo-control/metadata.xml          |  7 ++++
 .../switcheroo-control-2.4.ebuild                  | 39 ++++++++++++++++++++++
 3 files changed, 47 insertions(+)

diff --git a/sys-power/switcheroo-control/Manifest b/sys-power/switcheroo-control/Manifest
new file mode 100644
index 00000000000..e6b1cd94e50
--- /dev/null
+++ b/sys-power/switcheroo-control/Manifest
@@ -0,0 +1 @@
+DIST switcheroo-control-2.4.tar.xz 27964 BLAKE2B f85014ad6696e301bafd75b694f5c130498171d95b0330d2996568737cbcd677eef5256bc47638bf87d178d6fe099f3c53bd710a1534db20f1dbe5fbe51681c7 SHA512 47f071b17cbb520d862800ef2d8389ada1130be96a8c1efed9be6793081b5826355ad30b0feeba1cc9eda792b4c943ffc852d12648b0c5e74f25c207d151c1c3

diff --git a/sys-power/switcheroo-control/metadata.xml b/sys-power/switcheroo-control/metadata.xml
new file mode 100644
index 00000000000..020b40648ee
--- /dev/null
+++ b/sys-power/switcheroo-control/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>pacho@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>

diff --git a/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild b/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
new file mode 100644
index 00000000000..9712cad1e58
--- /dev/null
+++ b/sys-power/switcheroo-control/switcheroo-control-2.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson
+
+DESCRIPTION="D-Bus service to check the availability of dual-GPU"
+HOMEPAGE="https://gitlab.freedesktop.org/hadess/switcheroo-control/"
+SRC_URI="https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/accd4a9492979bfd91b587ae7e18d3a2/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="gtk-doc"
+
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=dev-libs/glib-2.56.0:2
+	>=dev-libs/libgudev-232:=
+	sys-apps/systemd
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	gtk-doc? ( dev-util/gtk-doc )
+"
+
+src_configure() {
+	local emesonargs=(
+		$(meson_use gtk-doc gtk_doc)
+	)
+	meson_src_configure
+}
+
+pkg_postinst() {
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		elog "You need to run systemd and enable the service:"
+		elog "# systemctl enable switcheroo-control"
+	fi
+}


^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-10-04  2:30 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-29 10:44 [gentoo-commits] repo/gentoo:master commit in: sys-power/switcheroo-control/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2024-10-04  2:30 Sam James
2024-02-02 12:44 Arthur Zamarin
2023-12-25 11:25 Fabian Groffen
2023-12-18 10:19 Pacho Ramos
2023-12-18 10:19 Pacho Ramos
2023-11-14 21:49 Kenton Groombridge
2023-08-10  7:29 Jakov Smolić
2023-08-06 11:29 Sam James
2023-08-06 11:29 Sam James
2023-08-06  9:08 WANG Xuerui
2023-03-03 14:11 Pacho Ramos
2023-02-27 15:12 Pacho Ramos
2023-02-11  8:43 Pacho Ramos
2023-01-27 20:38 Pacho Ramos
2023-01-22 12:46 Pacho Ramos
2023-01-02  9:58 Pacho Ramos
2022-12-29 10:44 Pacho Ramos
2022-12-01 22:24 Jakov Smolić
2022-08-11  9:49 Sam James
2022-07-20 13:13 Pacho Ramos
2022-03-13 18:36 Pacho Ramos
2021-05-02 19:06 Pacho Ramos
2021-03-28 10:19 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox