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 @@ + + + + + dev@dyama.net + Daichi Yamamoto + + 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 +}