public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/brightnessctl/
Date: Fri,  9 Apr 2021 12:52:59 +0000 (UTC)	[thread overview]
Message-ID: <1617909489.333b007a3b92505bb9e8169bff280ee0363b13f9.andrewammerlaan@gentoo> (raw)

commit:     333b007a3b92505bb9e8169bff280ee0363b13f9
Author:     Octiabrina Terrien-Puig <octiabrina <AT> myrvogna <DOT> net>
AuthorDate: Thu Apr  8 19:17:05 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr  8 19:18:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=333b007a

app-misc/brightnessctl: drop live

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna.net>

 app-misc/brightnessctl/brightnessctl-0.5.1.ebuild | 10 +----
 app-misc/brightnessctl/brightnessctl-9999.ebuild  | 50 -----------------------
 2 files changed, 2 insertions(+), 58 deletions(-)

diff --git a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
index 4eaba507e..0546b3ac0 100644
--- a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
+++ b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
@@ -5,15 +5,9 @@ EAPI=7
 
 DESCRIPTION="A program to read and control device brightness"
 HOMEPAGE="https://github.com/Hummer12007/brightnessctl"
+SRC_URI="https://github.com/Hummer12007/brightnessctl/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/Hummer12007/brightnessctl.git"
-else
-	SRC_URI="https://github.com/Hummer12007/brightnessctl/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
+KEYWORDS="~amd64"
 LICENSE="MIT"
 SLOT="0"
 IUSE="systemd udev"

diff --git a/app-misc/brightnessctl/brightnessctl-9999.ebuild b/app-misc/brightnessctl/brightnessctl-9999.ebuild
deleted file mode 100644
index 4eaba507e..000000000
--- a/app-misc/brightnessctl/brightnessctl-9999.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="A program to read and control device brightness"
-HOMEPAGE="https://github.com/Hummer12007/brightnessctl"
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/Hummer12007/brightnessctl.git"
-else
-	SRC_URI="https://github.com/Hummer12007/brightnessctl/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="systemd udev"
-
-DEPEND="
-	systemd? ( sys-apps/systemd )
-	udev? ( virtual/udev )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	systemd? ( virtual/pkgconfig )
-"
-
-src_compile() {
-	use systemd && export ENABLE_SYSTEMD=1
-	emake
-}
-
-src_install() {
-	local myconf
-
-	# Upstream does not install udev rules if systemd is enabled
-	# Following this behaviour if both flags are enabled here
-	if use systemd && use udev; then
-		myconf="INSTALL_UDEV_RULES=0"
-	elif use udev; then
-		myconf="INSTALL_UDEV_RULES=1"
-	else
-		myconf="INSTALL_UDEV_RULES=0"
-	fi
-
-	emake install ${myconf} DESTDIR="${D}"
-	dodoc README.md
-}


             reply	other threads:[~2021-04-09 12:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-09 12:52 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-31 12:23 [gentoo-commits] repo/proj/guru:master commit in: app-misc/brightnessctl/ David Roman
2021-04-23  8:47 Haelwenn Monnier
2021-03-05 12:10 Andrew Ammerlaan

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=1617909489.333b007a3b92505bb9e8169bff280ee0363b13f9.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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