* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wlopm/
@ 2024-03-27 23:55 Ben Buhse
0 siblings, 0 replies; 4+ messages in thread
From: Ben Buhse @ 2024-03-27 23:55 UTC (permalink / raw
To: gentoo-commits
commit: 39d138e26e4af173572cadc6dc8738e7f9e731e6
Author: Ben Buhse <me <AT> benbuhse <DOT> com>
AuthorDate: Wed Mar 27 23:54:43 2024 +0000
Commit: Ben Buhse <gentoo <AT> benbuhse <DOT> com>
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
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wlopm/
@ 2024-08-04 12:18 Piotr Kubaj
0 siblings, 0 replies; 4+ messages in thread
From: Piotr Kubaj @ 2024-08-04 12:18 UTC (permalink / raw
To: gentoo-commits
commit: 1c486a2caec4e22728f9c1b751eb20830d736fe7
Author: Piotr Kubaj <pkubaj <AT> anongoth <DOT> pl>
AuthorDate: Tue Jul 30 21:22:15 2024 +0000
Commit: Piotr Kubaj <pkubaj <AT> anongoth <DOT> pl>
CommitDate: Sun Aug 4 12:16:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c486a2c
gui-apps/wlopm: keyword 0.1.0 for ~arm64
Signed-off-by: Piotr Kubaj <pkubaj <AT> anongoth.pl>
gui-apps/wlopm/wlopm-0.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-apps/wlopm/wlopm-0.1.0.ebuild b/gui-apps/wlopm/wlopm-0.1.0.ebuild
index 667206308..44cf143bf 100644
--- a/gui-apps/wlopm/wlopm-0.1.0.ebuild
+++ b/gui-apps/wlopm/wlopm-0.1.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999* ]]; then
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"
+ KEYWORDS="~amd64 ~arm64"
fi
LICENSE="GPL-3"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wlopm/
@ 2024-12-01 0:31 Ben Buhse
0 siblings, 0 replies; 4+ messages in thread
From: Ben Buhse @ 2024-12-01 0:31 UTC (permalink / raw
To: gentoo-commits
commit: b7b3366351532de0ca41e3044570f0d354ab3390
Author: Ben Buhse <me <AT> benbuhse <DOT> com>
AuthorDate: Sun Dec 1 00:27:51 2024 +0000
Commit: Ben Buhse <gentoo <AT> benbuhse <DOT> com>
CommitDate: Sun Dec 1 00:30:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b7b33663
gui-apps/wlopm: use proper dependency; install bashcompletions on 9999
Signed-off-by: Ben Buhse <me <AT> benbuhse.com>
.../{wlopm-0.1.0.ebuild => wlopm-0.1.0-r1.ebuild} | 17 +++++++++++++----
gui-apps/wlopm/wlopm-9999.ebuild | 20 +++++++++++++++-----
2 files changed, 28 insertions(+), 9 deletions(-)
diff --git a/gui-apps/wlopm/wlopm-0.1.0.ebuild b/gui-apps/wlopm/wlopm-0.1.0-r1.ebuild
similarity index 70%
rename from gui-apps/wlopm/wlopm-0.1.0.ebuild
rename to gui-apps/wlopm/wlopm-0.1.0-r1.ebuild
index 44cf143bf..3a2d611aa 100644
--- a/gui-apps/wlopm/wlopm-0.1.0.ebuild
+++ b/gui-apps/wlopm/wlopm-0.1.0-r1.ebuild
@@ -6,6 +6,8 @@ EAPI=8
DESCRIPTION="wlr-output-power-management-v1 client"
HOMEPAGE="https://git.sr.ht/~leon_plickat/wlopm/"
+inherit toolchain-funcs
+
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~leon_plickat/wlopm"
@@ -20,10 +22,17 @@ SLOT="0"
DEPEND="dev-libs/wayland"
RDEPEND="${DEPEND}"
-BDEPEND="dev-libs/wayland-protocols"
+BDEPEND="dev-util/wayland-scanner"
+
+src_prepare() {
+ default
+ sed '/^CFLAGS/s/-Werror//' -i Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
src_install() {
- # Need to install to /usr instead of /usr/local
- # and the Makefile doens't handle DESTDIR properly
- emake PREFIX="${D}"/usr install
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}
diff --git a/gui-apps/wlopm/wlopm-9999.ebuild b/gui-apps/wlopm/wlopm-9999.ebuild
index 667206308..c4dfd4eea 100644
--- a/gui-apps/wlopm/wlopm-9999.ebuild
+++ b/gui-apps/wlopm/wlopm-9999.ebuild
@@ -6,13 +6,15 @@ EAPI=8
DESCRIPTION="wlr-output-power-management-v1 client"
HOMEPAGE="https://git.sr.ht/~leon_plickat/wlopm/"
+inherit bash-completion-r1 toolchain-funcs
+
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"
+ KEYWORDS="~amd64 ~arm64"
fi
LICENSE="GPL-3"
@@ -20,10 +22,18 @@ SLOT="0"
DEPEND="dev-libs/wayland"
RDEPEND="${DEPEND}"
-BDEPEND="dev-libs/wayland-protocols"
+BDEPEND="dev-util/wayland-scanner"
+
+src_prepare() {
+ default
+ sed '/^CFLAGS/s/-Werror//' -i Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
src_install() {
- # Need to install to /usr instead of /usr/local
- # and the Makefile doens't handle DESTDIR properly
- emake PREFIX="${D}"/usr install
+ install -d "${D}$(get_bashcompdir)"
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" BASHCOMPDIR="$(get_bashcompdir)" install
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wlopm/
@ 2024-12-05 4:02 Ben Buhse
0 siblings, 0 replies; 4+ messages in thread
From: Ben Buhse @ 2024-12-05 4:02 UTC (permalink / raw
To: gentoo-commits
commit: 2630ef2dcf0761e92efc82e7a1f79b92b26692ed
Author: Ben Buhse <me <AT> benbuhse <DOT> com>
AuthorDate: Thu Dec 5 04:00:24 2024 +0000
Commit: Ben Buhse <gentoo <AT> benbuhse <DOT> com>
CommitDate: Thu Dec 5 04:01:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2630ef2d
gui-apps/wlopm: add 1.0.0, drop 0.1.0-r1
Signed-off-by: Ben Buhse <me <AT> benbuhse.com>
gui-apps/wlopm/Manifest | 2 +-
gui-apps/wlopm/{wlopm-0.1.0-r1.ebuild => wlopm-1.0.0.ebuild} | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/gui-apps/wlopm/Manifest b/gui-apps/wlopm/Manifest
index 6a2395cfe..dc2230c61 100644
--- a/gui-apps/wlopm/Manifest
+++ b/gui-apps/wlopm/Manifest
@@ -1 +1 @@
-DIST wlopm-0.1.0.tar.gz 19004 BLAKE2B bbe69423c70e9a88fc63458011fbb36faef95a162a1444dc22cbd47a15a5b83439737b2610a085a3471b8571237c74203bb1a12048e457874406ba023c14e03c SHA512 a9690051786cfef1f96b574c8afaf35a7e234c0fa3b35b210be1fc1a963304c94f77d60935b32030cc641e87279d58b74f55dd3a6a4fcef905fb9432dd58ecab
+DIST wlopm-1.0.0.tar.gz 19451 BLAKE2B 9e7c63ce161172a68cf201aee63e923e64b19a77506bb20d042eda6dfe60c07dc0f68b0277281b8bd9da71bbbe212f5efc00423f7d73a142ae2a43cf0d2d3f80 SHA512 6765f4abd46013c4b887972633798956cae8b60c3abd039aa74f3f70ae76696ea015a39dac68898950a939fe808d77e06a4b050b18b38b42eab1402d81926abd
diff --git a/gui-apps/wlopm/wlopm-0.1.0-r1.ebuild b/gui-apps/wlopm/wlopm-1.0.0.ebuild
similarity index 73%
rename from gui-apps/wlopm/wlopm-0.1.0-r1.ebuild
rename to gui-apps/wlopm/wlopm-1.0.0.ebuild
index 3a2d611aa..b44f1781a 100644
--- a/gui-apps/wlopm/wlopm-0.1.0-r1.ebuild
+++ b/gui-apps/wlopm/wlopm-1.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DESCRIPTION="wlr-output-power-management-v1 client"
HOMEPAGE="https://git.sr.ht/~leon_plickat/wlopm/"
-inherit toolchain-funcs
+inherit bash-completion-r1 toolchain-funcs
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -34,5 +34,8 @@ src_compile() {
}
src_install() {
- emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ # Makefile doesn't make sure this directory exists
+ # which is a problem when using PREFIX
+ install -d "${D}$(get_bashcompdir)"
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" BASHCOMPDIR="$(get_bashcompdir)" install
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-05 4:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27 23:55 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wlopm/ Ben Buhse
-- strict thread matches above, loose matches on Subject: below --
2024-08-04 12:18 Piotr Kubaj
2024-12-01 0:31 Ben Buhse
2024-12-05 4:02 Ben Buhse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox