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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB43A1382C5 for ; Wed, 14 Apr 2021 14:34:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 091F5E09C8; Wed, 14 Apr 2021 14:34:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE1B5E09C8 for ; Wed, 14 Apr 2021 14:34:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF74A340D50 for ; Wed, 14 Apr 2021 14:34:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21BB9649 for ; Wed, 14 Apr 2021 14:34:39 +0000 (UTC) From: "Avis Drożniak" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Avis Drożniak" Message-ID: <1618410854.cde86d3bccc78396f2e3c3838679efaef7a6a286.avis@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/caffeine-ng/ X-VCS-Repository: repo/proj/guru X-VCS-Files: x11-misc/caffeine-ng/Manifest x11-misc/caffeine-ng/caffeine-ng-3.5.1.ebuild x11-misc/caffeine-ng/caffeine-ng-9999.ebuild x11-misc/caffeine-ng/metadata.xml X-VCS-Directories: x11-misc/caffeine-ng/ X-VCS-Committer: avis X-VCS-Committer-Name: Avis Drożniak X-VCS-Revision: cde86d3bccc78396f2e3c3838679efaef7a6a286 X-VCS-Branch: dev Date: Wed, 14 Apr 2021 14:34:39 +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: 6c7da060-9228-47b6-b320-ec76919d7f9f X-Archives-Hash: f07ceb31d1a794417ae25dd8e047e754 commit: cde86d3bccc78396f2e3c3838679efaef7a6a286 Author: Avis Drożniak riseup net> AuthorDate: Wed Apr 14 14:34:14 2021 +0000 Commit: Avis Drożniak autistici org> CommitDate: Wed Apr 14 14:34:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cde86d3b x11-misc/caffeine-ng: add new package. Signed-off-by: Avis Drożniak riseup.net> x11-misc/caffeine-ng/Manifest | 1 + x11-misc/caffeine-ng/caffeine-ng-3.5.1.ebuild | 50 ++++++++++++++++++++++++++ x11-misc/caffeine-ng/caffeine-ng-9999.ebuild | 51 +++++++++++++++++++++++++++ x11-misc/caffeine-ng/metadata.xml | 12 +++++++ 4 files changed, 114 insertions(+) diff --git a/x11-misc/caffeine-ng/Manifest b/x11-misc/caffeine-ng/Manifest new file mode 100644 index 000000000..6d3797d54 --- /dev/null +++ b/x11-misc/caffeine-ng/Manifest @@ -0,0 +1 @@ +DIST caffeine-ng-3.5.1.tar.gz 155324 BLAKE2B 3f0ecce6a9fa4a3cdd206a33c80f0ce10ae8472b3f08546dfe5273e9055d8f8840528d9c1d4114b90c2a1967d40b30ce890306862939f4996a675ede90ebef60 SHA512 d37a4ddfefca3ed883a7aade0c25ef9f1bf475d27cb43e7c64ee6f946a9157727c5527ad2c06fb39bac6e74344f523c1d9f2896c301b33cd3c8c6e1ed52a99fb diff --git a/x11-misc/caffeine-ng/caffeine-ng-3.5.1.ebuild b/x11-misc/caffeine-ng/caffeine-ng-3.5.1.ebuild new file mode 100644 index 000000000..adabd0f6a --- /dev/null +++ b/x11-misc/caffeine-ng/caffeine-ng-3.5.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) + +inherit distutils-r1 gnome2-utils + +DESCRIPTION="Aplication able to temporarily inhibit the screensaver." +HOMEPAGE="https://github.com/caffeine-ng/caffeine-ng" +if [[ ${PV} == 9999 ]];then + inherit git-r3 + EGIT_REPO_URI="${HOMEPAGE}.git" +else + SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${P}.tar.gz" +fi + +LICENSE="GPL-3" +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +DEPEND=" + dev-python/pygobject:3 + >=dev-python/pyxdg-0.25 + dev-python/dbus-python + >=dev-python/docopt-0.6.2 + >=dev-python/setproctitle-1.1.10 + dev-python/setuptools + >=dev-python/wheel-0.29.0 + dev-python/setuptools_scm + dev-libs/libappindicator:3 + x11-libs/gtk+:3 +" +RDEPEND="${DEPEND}" + +pkg_preinst(){ + gnome2_schemas_savelist +} + +pkg_postinst(){ + gnome2_gconf_install + gnome2_schemas_update +} + +pkg_postrm(){ + gnome2_gconf_uninstall + gnome2_schemas_update +} diff --git a/x11-misc/caffeine-ng/caffeine-ng-9999.ebuild b/x11-misc/caffeine-ng/caffeine-ng-9999.ebuild new file mode 100644 index 000000000..857e04ae7 --- /dev/null +++ b/x11-misc/caffeine-ng/caffeine-ng-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) + +inherit distutils-r1 gnome2-utils + +DESCRIPTION="Aplication able to temporarily inhibit the screensaver." +HOMEPAGE="https://github.com/caffeine-ng/caffeine-ng" +if [[ ${PV} == 9999 ]];then + inherit git-r3 + EGIT_REPO_URI="${HOMEPAGE}.git" +else + SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${P}.tar.gz" +fi + +LICENSE="GPL-3" +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +DEPEND=" + dev-python/pygobject:3 + >=dev-python/pyxdg-0.25 + dev-python/dbus-python + >=dev-python/docopt-0.6.2 + >=dev-python/setproctitle-1.1.10 + dev-python/setuptools + >=dev-python/wheel-0.29.0 + dev-python/setuptools_scm + dev-libs/libappindicator:3 + x11-libs/gtk+:3 + x11-libs/libnotify +" +RDEPEND="${DEPEND}" + +pkg_preinst(){ + gnome2_schemas_savelist +} + +pkg_postinst(){ + gnome2_gconf_install + gnome2_schemas_update +} + +pkg_postrm(){ + gnome2_gconf_uninstall + gnome2_schemas_update +} diff --git a/x11-misc/caffeine-ng/metadata.xml b/x11-misc/caffeine-ng/metadata.xml new file mode 100644 index 000000000..3df903c79 --- /dev/null +++ b/x11-misc/caffeine-ng/metadata.xml @@ -0,0 +1,12 @@ + + + + + queereen@riseup.net + Avis Drożniak + + + Caffeine is a little daemon that sits in your systray, and prevents the screensaver from showing up, or the system from going to sleep. + It does so when an application is fullscreened (eg: youtube), or when you click on the systray icon (which you can do, when, eg: reading). + +