mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
gui-apps/wlr-dpms: add 0_p20260305, drop 0_p20250620
Closes: https://bugs.gentoo.org/975287 Signed-off-by: Daichi Yamamoto <dev@dyama.net>
This commit is contained in:
3 files changed
+25
-10
No files matched your search
@@ -1 +1 @@
|
||||
DIST wlr-dpms-0_p20250620.tar.gz 6047 BLAKE2B e70f749741e15809219a42ddcff4d8b3d58b034f4c1f8143b78ee27a03a78d3bf1ff6cc5243e4d535be71fc5c2b8f5dc60ea6dab2d13e36f95846e984d2591d4 SHA512 f42c16a8fa6678b1164006011f282c172d74974c8b1fae1b5c6f2ccae09079b3687ba3ccdbe42c776f115a2703f7604611e66c93788f8aa986fc0d9b95348439
|
||||
DIST wlr-dpms-0_p20260305.tar.gz 6105 BLAKE2B 28b4b1ddc8c1689a7b7f7b28dd375e2a4c60c1d3a94964e4b2816c3ce1f82887f858b27b9e9e5d4cfe1f1ac460e932e5af9ed4d6043b41d4821fd35fd234bce2 SHA512 c5732610c5b79b961cf282e371fb85a6d39e13104c9ae2462db99c4b053f6f4b5fa3e7617baef55179613ccdaa2a9274b6b89a7bb60e5facae2da9d3d328c6f3
|
||||
@@ -0,0 +1,20 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -22,7 +22,7 @@
|
||||
PREFIX ?= /usr/local
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
MANDIR ?= $(PREFIX)/share/man
|
||||
-CFLAGS ?= -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-strict-prototypes
|
||||
+CFLAGS += -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-strict-prototypes
|
||||
PKG_CONFIG ?= pkg-config
|
||||
INSTALL ?= install
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
all: wlr-dpms
|
||||
|
||||
wlr-dpms: wlr-dpms.c wlr-output-power-management-unstable-v1-protocol.c
|
||||
- $(CC) $(CFLAGS) -o $@ $^ $(WAYLAND_FLAGS)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(WAYLAND_FLAGS)
|
||||
|
||||
wlr-output-power-management-unstable-v1-client-protocol.h: wlr-output-power-management-unstable-v1.xml
|
||||
$(WAYLAND_SCANNER) client-header $< $@
|
||||
+4
-9
@@ -1,11 +1,9 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
COMMIT=b6a4aa82d7760d09a3323c93b02e10eb9eb89a3d
|
||||
COMMIT=bb86bdee332ddf1f2ceefc04bf73071ac24df3d5
|
||||
|
||||
DESCRIPTION="change output power modes in wlroots compositors"
|
||||
HOMEPAGE="https://sr.ht/~dsemy/wlr-dpms/"
|
||||
@@ -20,12 +18,9 @@ DEPEND="dev-libs/wayland"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=( README )
|
||||
PATCHES=( "${FILESDIR}"/makefile-respect-flags.patch )
|
||||
|
||||
src_configure() {
|
||||
# from Makefile
|
||||
append-cflags -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-strict-prototypes
|
||||
}
|
||||
DOCS=( README )
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
Reference in new issue
Block a user