From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1410862-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 19E8E158094
	for <garchives@archives.gentoo.org>; Wed, 22 Jun 2022 08:48:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 491F4E0817;
	Wed, 22 Jun 2022 08:48:26 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2B7AFE0817
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Jun 2022 08:48:26 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4AF50341B60
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Jun 2022 08:48:25 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C6134448
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Jun 2022 08:48:23 +0000 (UTC)
From: "Marc Schiffbauer" <mschiff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" <mschiff@gentoo.org>
Message-ID: <1655887687.1ae89a73f410828cc4dbaf1453d99c9f1dd5e738.mschiff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/tuxedo-control-center-bin/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-laptop/tuxedo-control-center-bin/Manifest app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.4.ebuild
X-VCS-Directories: app-laptop/tuxedo-control-center-bin/
X-VCS-Committer: mschiff
X-VCS-Committer-Name: Marc Schiffbauer
X-VCS-Revision: 1ae89a73f410828cc4dbaf1453d99c9f1dd5e738
X-VCS-Branch: master
Date: Wed, 22 Jun 2022 08:48:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: ee5c859e-f104-4c1b-b93c-4112054dc9b7
X-Archives-Hash: 44ce1621ba1abe8ad19003f7af71a7b1

commit:     1ae89a73f410828cc4dbaf1453d99c9f1dd5e738
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 07:25:49 2022 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 08:48:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ae89a73

app-laptop/tuxedo-control-center-bin: add 1.1.4

Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>

 app-laptop/tuxedo-control-center-bin/Manifest      |  1 +
 .../tuxedo-control-center-bin-1.1.4.ebuild         | 80 ++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/app-laptop/tuxedo-control-center-bin/Manifest b/app-laptop/tuxedo-control-center-bin/Manifest
index 0728cf17a5c0..d2ba4def57f4 100644
--- a/app-laptop/tuxedo-control-center-bin/Manifest
+++ b/app-laptop/tuxedo-control-center-bin/Manifest
@@ -1 +1,2 @@
 DIST tuxedo-control-center_1.1.0.rpm 71893232 BLAKE2B f41702ba7faae2375e95a0bfe838dace738eb9f34364bac78bba405ca791c0b055ff7c7a05572172b04ec1acd87dad7e3abc29df06bba84296a8bc4c76d5d9c5 SHA512 3b98f27ada98ff77d0fc84425042dc63431fcd169ba28f5a0585589846e8dca1405a9d258bdf90f86d0e363a827bafa80e58c8dd56e94042e3b0f0d726737e05
+DIST tuxedo-control-center_1.1.4.rpm 86231740 BLAKE2B be8b7d7c6de05601acd90a89b3e6bb89c5e251a94a18c7f1021e88797fbc1fc9c580545ca3d86e1ebf11f689d2454d4b6eac1736be0a31eabf28668d0ca0b32c SHA512 80e0c0f8ba81b8fe7bee2ec86b13a5f50c2a174b4260b7922a58df821a0b2ae89cd40c87e41c48de0a9e24a56ec1ad5123a664fc94123b95c05e61801db67072

diff --git a/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.4.ebuild b/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.4.ebuild
new file mode 100644
index 000000000000..887684f0006a
--- /dev/null
+++ b/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit rpm systemd xdg-utils
+
+MY_PN="${PN/-bin/}"
+
+DESCRIPTION="Tool to control performance, energy, fan and comfort settings on TUXEDO laptops"
+HOMEPAGE="https://github.com/tuxedocomputers/tuxedo-control-center"
+SRC_URI="https://rpm.tuxedocomputers.com/opensuse/15.2/x86_64/${MY_PN}_${PV}.rpm"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RESTRICT="strip splitdebug"
+
+DEPEND=">=app-laptop/tuxedo-keyboard-3.0.0"
+RDEPEND="${DEPEND}"
+# See bug #827729
+BDEPEND="app-arch/xz-utils[extra-filters]"
+
+S="${WORKDIR}"
+
+src_prepare() {
+	default
+	rm -rf usr/lib || die "could not remove usr/lib"
+	mkdir files || die "could not create files dir"
+}
+
+src_install() {
+	insinto /
+	doins -r usr opt
+	find . -type f -perm -a=x | while read f; do
+		fperms 0755 "${f/./}"
+	done
+
+	dosym ../../opt/tuxedo-control-center/tuxedo-control-center /usr/bin/tuxedo-control-center
+
+	insinto /usr/share/dbus-1/system.d/
+	doins opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/com.tuxedocomputers.tccd.conf
+
+	insinto /usr/share/polkit-1/actions
+	doins opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/de.tuxedocomputers.tcc.policy
+
+	systemd_dounit opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/tccd.service
+	systemd_dounit opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/tccd-sleep.service
+
+	newinitd "${FILESDIR}/tccd.initd" tccd
+}
+
+pkg_config() {
+	ebegin "Reloading systemd"
+	systemctl daemon-reload
+	eend $?
+	ebegin "Enabling and starting tccd.service"
+	systemctl enable --now tccd
+	eend $?
+	ebegin "Enabling and starting tccd-sleep.service"
+	systemctl enable --now tccd-sleep
+	eend $?
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+	elog
+	elog "You need to enable tccd and tccd-sleep service before running tuxedo-control-center"
+	elog
+	elog "For your convenience, if you use systemd, you may just call:"
+	elog "  emerge --config =app-laptop/${PF}"
+	elog
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}