* [gentoo-commits] repo/proj/guru:master commit in: app-misc/brightnessctl/
@ 2021-03-05 12:10 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2021-03-05 12:10 UTC (permalink / raw
To: gentoo-commits
commit: a4289cc59e1f6230e0c237c755926d4adaa23dca
Author: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna <DOT> net>
AuthorDate: Fri Mar 5 09:40:57 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 5 09:40:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4289cc5
app-misc/brightnessctl: new package
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna.net>
app-misc/brightnessctl/Manifest | 1 +
app-misc/brightnessctl/brightnessctl-0.5.1.ebuild | 50 +++++++++++++++++++++++
app-misc/brightnessctl/brightnessctl-9999.ebuild | 50 +++++++++++++++++++++++
app-misc/brightnessctl/metadata.xml | 11 +++++
4 files changed, 112 insertions(+)
diff --git a/app-misc/brightnessctl/Manifest b/app-misc/brightnessctl/Manifest
new file mode 100644
index 00000000..0b2b76e8
--- /dev/null
+++ b/app-misc/brightnessctl/Manifest
@@ -0,0 +1 @@
+DIST brightnessctl-0.5.1.tar.gz 8284 BLAKE2B 7d2226aae10fddc606c5ce71ed4a04eda583acf245ea1532d8730c73dc02ea7aeed47a0e25ca7f9d40e7b0170bb08d87617e9f4aa082495e78894982870ca7cc SHA512 41ac86357b3b5a3d54a043140a6bdb1fb68d5080a16e86692059ad58f4b9134a8532432a3f664c70c665a4ad73ea8a94cc9b88fa84abc28f0356b8b397aaebc7
diff --git a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
new file mode 100644
index 00000000..4eaba507
--- /dev/null
+++ b/app-misc/brightnessctl/brightnessctl-0.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
+
+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
+}
diff --git a/app-misc/brightnessctl/brightnessctl-9999.ebuild b/app-misc/brightnessctl/brightnessctl-9999.ebuild
new file mode 100644
index 00000000..4eaba507
--- /dev/null
+++ b/app-misc/brightnessctl/brightnessctl-9999.ebuild
@@ -0,0 +1,50 @@
+# 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
+}
diff --git a/app-misc/brightnessctl/metadata.xml b/app-misc/brightnessctl/metadata.xml
new file mode 100644
index 00000000..219c5faa
--- /dev/null
+++ b/app-misc/brightnessctl/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>octiabrina@myrvogna.net</email>
+ <name>Octiabrina Terrien-Puig</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Hummer12007/brightnessctl</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/brightnessctl/
@ 2021-04-09 12:52 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2021-04-09 12:52 UTC (permalink / raw
To: gentoo-commits
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
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/brightnessctl/
@ 2021-04-23 8:47 Haelwenn Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Haelwenn Monnier @ 2021-04-23 8:47 UTC (permalink / raw
To: gentoo-commits
commit: 5f5f33bef153d5afec4c4cacb1d79542eb51b2e8
Author: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna <DOT> net>
AuthorDate: Thu Apr 22 15:11:52 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Apr 22 15:11:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f5f33be
app-misc/brightnessctl: fix cc direct call
Closes: https://bugs.gentoo.org/784821
Signed-off-by: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna.net>
app-misc/brightnessctl/brightnessctl-0.5.1.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
index 0546b3ac0..04c56bbe6 100644
--- a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
+++ b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit toolchain-funcs
+
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"
@@ -22,6 +24,7 @@ BDEPEND="
"
src_compile() {
+ tc-export CC
use systemd && export ENABLE_SYSTEMD=1
emake
}
@@ -39,6 +42,6 @@ src_install() {
myconf="INSTALL_UDEV_RULES=0"
fi
- emake install ${myconf} DESTDIR="${D}"
+ emake ${myconf} DESTDIR="${D}" install
dodoc README.md
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/brightnessctl/
@ 2024-01-31 12:23 David Roman
0 siblings, 0 replies; 4+ messages in thread
From: David Roman @ 2024-01-31 12:23 UTC (permalink / raw
To: gentoo-commits
commit: fd2b04ffb0e53a6a1f00a2257aa194f2e2a2d53a
Author: Piotr Kubaj <pkubaj <AT> anongoth <DOT> pl>
AuthorDate: Tue Jan 30 22:01:23 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jan 30 22:01:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd2b04ff
app-misc/brightnessctl: keyword 0.5.1 for ~arm64
Signed-off-by: Piotr Kubaj <pkubaj <AT> anongoth.pl>
app-misc/brightnessctl/brightnessctl-0.5.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
index 04c56bbe6e..c4d3745d6d 100644
--- a/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
+++ b/app-misc/brightnessctl/brightnessctl-0.5.1.ebuild
@@ -9,7 +9,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"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
LICENSE="MIT"
SLOT="0"
IUSE="systemd udev"
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-01-31 12:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-09 12:52 [gentoo-commits] repo/proj/guru:master commit in: app-misc/brightnessctl/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2024-01-31 12:23 David Roman
2021-04-23 8:47 Haelwenn Monnier
2021-03-05 12:10 Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox