public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wlr-dpms/
@ 2025-06-09 22:34 Daichi Yamamoto
  0 siblings, 0 replies; 3+ messages in thread
From: Daichi Yamamoto @ 2025-06-09 22:34 UTC (permalink / raw
  To: gentoo-commits

commit:     f6f01a80f12a7401d4aac987771bb795389a3278
Author:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
AuthorDate: Mon Jun  9 22:34:18 2025 +0000
Commit:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
CommitDate: Mon Jun  9 22:34:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6f01a80

gui-apps/wlr-dpms: new package, add 0_p20240130

Signed-off-by: Daichi Yamamoto <dev <AT> dyama.net>

 gui-apps/wlr-dpms/Manifest                    |  1 +
 gui-apps/wlr-dpms/metadata.xml                |  8 +++++++
 gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild | 30 +++++++++++++++++++++++++++
 3 files changed, 39 insertions(+)

diff --git a/gui-apps/wlr-dpms/Manifest b/gui-apps/wlr-dpms/Manifest
new file mode 100644
index 0000000000..95f06338f8
--- /dev/null
+++ b/gui-apps/wlr-dpms/Manifest
@@ -0,0 +1 @@
+DIST wlr-dpms-0_p20240130.tar.gz 6028 BLAKE2B fe1275ceb56d60d5459e4136670e4d240399cacfecbe0c2408f2f01c625563e4539c578e906137dae8ceb729b3e3589d5aeb5a17f44e9b5741c4fba0b2243d4d SHA512 09aeae579d8772f489eadda4e45a0b1e053ea395d65d54a8efd415a71b5429b1cc8c8b67ca4f3db10e0296e53274d7d4432c433062926d62f1a0e48d53643a8d

diff --git a/gui-apps/wlr-dpms/metadata.xml b/gui-apps/wlr-dpms/metadata.xml
new file mode 100644
index 0000000000..1a90407311
--- /dev/null
+++ b/gui-apps/wlr-dpms/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>dev@dyama.net</email>
+    <name>Daichi Yamamoto</name>
+  </maintainer>
+</pkgmetadata>

diff --git a/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild b/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild
new file mode 100644
index 0000000000..04f4aafb69
--- /dev/null
+++ b/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+COMMIT=d0e64122e2b2718da26223e8add3211f5dbeb23a
+
+DESCRIPTION="change output power modes in wlroots compositors"
+HOMEPAGE="https://git.sr.ht/~dsemy/wlr-dpms"
+SRC_URI="https://git.sr.ht/~dsemy/wlr-dpms/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-libs/wayland"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( README )
+
+src_compile() {
+	emake CFLAGS="${CFLAGS} -Wno-unused-parameter -Wno-strict-prototypes -Wno-incompatible-pointer-types"
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="/usr" install
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wlr-dpms/
@ 2025-06-10  8:53 Daichi Yamamoto
  0 siblings, 0 replies; 3+ messages in thread
From: Daichi Yamamoto @ 2025-06-10  8:53 UTC (permalink / raw
  To: gentoo-commits

commit:     09727ea7467dd3e2e7c45a28d8af4ac58d94be0d
Author:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
AuthorDate: Tue Jun 10 08:49:14 2025 +0000
Commit:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
CommitDate: Tue Jun 10 08:52:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09727ea7

gui-apps/wlr-dpms: use append-cflags

Signed-off-by: Daichi Yamamoto <dev <AT> dyama.net>

 gui-apps/wlr-dpms/metadata.xml                | 3 +++
 gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild | 9 ++++++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/gui-apps/wlr-dpms/metadata.xml b/gui-apps/wlr-dpms/metadata.xml
index 1a90407311..efb33d3dee 100644
--- a/gui-apps/wlr-dpms/metadata.xml
+++ b/gui-apps/wlr-dpms/metadata.xml
@@ -5,4 +5,7 @@
     <email>dev@dyama.net</email>
     <name>Daichi Yamamoto</name>
   </maintainer>
+  <upstream>
+    <remote-id type="sourcehut">~dsemy/wlr-dpms</remote-id>
+  </upstream>
 </pkgmetadata>

diff --git a/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild b/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild
index 04f4aafb69..211b6dd822 100644
--- a/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild
+++ b/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild
@@ -3,10 +3,12 @@
 
 EAPI=8
 
+inherit flag-o-matic
+
 COMMIT=d0e64122e2b2718da26223e8add3211f5dbeb23a
 
 DESCRIPTION="change output power modes in wlroots compositors"
-HOMEPAGE="https://git.sr.ht/~dsemy/wlr-dpms"
+HOMEPAGE="https://sr.ht/~dsemy/wlr-dpms/"
 SRC_URI="https://git.sr.ht/~dsemy/wlr-dpms/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${PN}-${COMMIT}"
 
@@ -20,8 +22,9 @@ BDEPEND="virtual/pkgconfig"
 
 DOCS=( README )
 
-src_compile() {
-	emake CFLAGS="${CFLAGS} -Wno-unused-parameter -Wno-strict-prototypes -Wno-incompatible-pointer-types"
+src_configure() {
+	# from Makefile
+	append-cflags -Wno-unused-parameter -Wno-strict-prototypes -Wno-incompatible-pointer-types
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wlr-dpms/
@ 2025-06-10  8:58 Daichi Yamamoto
  0 siblings, 0 replies; 3+ messages in thread
From: Daichi Yamamoto @ 2025-06-10  8:58 UTC (permalink / raw
  To: gentoo-commits

commit:     14a50f127c2bc63301c50f65bfb2f5f30359e02e
Author:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
AuthorDate: Tue Jun 10 08:58:15 2025 +0000
Commit:     Daichi Yamamoto <dev <AT> dyama <DOT> net>
CommitDate: Tue Jun 10 08:58:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14a50f12

gui-apps/wlr-dpms: fix PREFIX to use EPREFIX

Signed-off-by: Daichi Yamamoto <dev <AT> dyama.net>

 gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild b/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild
index 211b6dd822..68512d34b1 100644
--- a/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild
+++ b/gui-apps/wlr-dpms/wlr-dpms-0_p20240130.ebuild
@@ -28,6 +28,6 @@ src_configure() {
 }
 
 src_install() {
-	emake DESTDIR="${D}" PREFIX="/usr" install
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
 	einstalldocs
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-10  8:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10  8:58 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wlr-dpms/ Daichi Yamamoto
  -- strict thread matches above, loose matches on Subject: below --
2025-06-10  8:53 Daichi Yamamoto
2025-06-09 22:34 Daichi Yamamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox