From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E974E15808C for ; Wed, 9 Feb 2022 22:57:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FD21E08ED; Wed, 9 Feb 2022 22:57:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 21C0FE08EB for ; Wed, 9 Feb 2022 22:57:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 8B6253430F7 for ; Wed, 9 Feb 2022 22:57:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6167C2F5 for ; Wed, 9 Feb 2022 22:57:33 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1644447413.a4f1882bfe30d44ef1da5b83b81f5339b8355ead.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xflux-gui/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xflux-gui/xflux-gui-1.2.0-r3.ebuild X-VCS-Directories: x11-misc/xflux-gui/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: a4f1882bfe30d44ef1da5b83b81f5339b8355ead X-VCS-Branch: master Date: Wed, 9 Feb 2022 22:57:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9ea70d80-5351-46b2-9dd3-08c8e1dabd0c X-Archives-Hash: 7dad976ceedfb07ddcf1e162398e89de commit: a4f1882bfe30d44ef1da5b83b81f5339b8355ead Author: Conrad Kostecki gentoo org> AuthorDate: Wed Feb 9 21:48:12 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Feb 9 22:56:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4f1882b x11-misc/xflux-gui: update EAPI 7 -> 8 Signed-off-by: Conrad Kostecki gentoo.org> x11-misc/xflux-gui/xflux-gui-1.2.0-r3.ebuild | 49 ++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/x11-misc/xflux-gui/xflux-gui-1.2.0-r3.ebuild b/x11-misc/xflux-gui/xflux-gui-1.2.0-r3.ebuild new file mode 100644 index 000000000000..dcbcc417a9ac --- /dev/null +++ b/x11-misc/xflux-gui/xflux-gui-1.2.0-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS="no" +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 gnome2-utils xdg-utils + +DESCRIPTION="A GUI for f.lux" +HOMEPAGE="https://github.com/xflux-gui/fluxgui/" +SRC_URI="https://github.com/${PN}/fluxgui/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/fluxgui-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* amd64 x86" + +PATCHES=( "${FILESDIR}/${P}-disable-gschemas-compiled.patch" ) + +RDEPEND=" + dev-libs/libappindicator:3 + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + x11-libs/libXxf86vm + x11-misc/xflux +" + +python_install() { + # Don't let the package compiling the schemas, + # as this could cause a file collision + export DISABLE_GSCHEMAS_COMPILED="true" + + distutils-r1_python_install +} + +pkg_postinst() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +}