commit: 39d138e26e4af173572cadc6dc8738e7f9e731e6 Author: Ben Buhse <me <AT> benbuhse <DOT> com> AuthorDate: Wed Mar 27 23:54:43 2024 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Wed Mar 27 23:54:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=39d138e2
gui-apps/wlopm: new package, add 0.1.0, 9999 Signed-off-by: Ben Buhse <me <AT> benbuhse.com> gui-apps/wlopm/Manifest | 1 + gui-apps/wlopm/wlopm-0.1.0.ebuild | 29 +++++++++++++++++++++++++++++ gui-apps/wlopm/wlopm-9999.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/gui-apps/wlopm/Manifest b/gui-apps/wlopm/Manifest new file mode 100644 index 0000000000..6a2395cfee --- /dev/null +++ b/gui-apps/wlopm/Manifest @@ -0,0 +1 @@ +DIST wlopm-0.1.0.tar.gz 19004 BLAKE2B bbe69423c70e9a88fc63458011fbb36faef95a162a1444dc22cbd47a15a5b83439737b2610a085a3471b8571237c74203bb1a12048e457874406ba023c14e03c SHA512 a9690051786cfef1f96b574c8afaf35a7e234c0fa3b35b210be1fc1a963304c94f77d60935b32030cc641e87279d58b74f55dd3a6a4fcef905fb9432dd58ecab diff --git a/gui-apps/wlopm/wlopm-0.1.0.ebuild b/gui-apps/wlopm/wlopm-0.1.0.ebuild new file mode 100644 index 0000000000..6672063089 --- /dev/null +++ b/gui-apps/wlopm/wlopm-0.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="wlr-output-power-management-v1 client" +HOMEPAGE="https://git.sr.ht/~leon_plickat/wlopm/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~leon_plickat/wlopm" +else + SRC_URI="https://git.sr.ht/~leon_plickat/wlopm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-v${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +DEPEND="dev-libs/wayland" +RDEPEND="${DEPEND}" +BDEPEND="dev-libs/wayland-protocols" + +src_install() { + # Need to install to /usr instead of /usr/local + # and the Makefile doens't handle DESTDIR properly + emake PREFIX="${D}"/usr install +} diff --git a/gui-apps/wlopm/wlopm-9999.ebuild b/gui-apps/wlopm/wlopm-9999.ebuild new file mode 100644 index 0000000000..6672063089 --- /dev/null +++ b/gui-apps/wlopm/wlopm-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="wlr-output-power-management-v1 client" +HOMEPAGE="https://git.sr.ht/~leon_plickat/wlopm/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~leon_plickat/wlopm" +else + SRC_URI="https://git.sr.ht/~leon_plickat/wlopm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-v${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +DEPEND="dev-libs/wayland" +RDEPEND="${DEPEND}" +BDEPEND="dev-libs/wayland-protocols" + +src_install() { + # Need to install to /usr instead of /usr/local + # and the Makefile doens't handle DESTDIR properly + emake PREFIX="${D}"/usr install +}