summaryrefslogtreecommitdiff
path: root/gui-apps/hyprmoncfg
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-16 10:53:11 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-16 10:53:11 -0500
commit8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b (patch)
treebb1e83c18d1cc77cdebfc5aeb9b12ad39c9787b5 /gui-apps/hyprmoncfg
parentf997c3ee588099e4f43e9ec845935868e3e60b8e (diff)
downloadbaldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.tar.gz
baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.tar.xz
baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.zip
Adding metadata
Diffstat (limited to 'gui-apps/hyprmoncfg')
-rw-r--r--gui-apps/hyprmoncfg/Manifest6
-rw-r--r--gui-apps/hyprmoncfg/files/hyprmoncfg-1.5.1-exec-error-message.patch24
-rw-r--r--gui-apps/hyprmoncfg/hyprmoncfg-1.5.1.ebuild6
-rw-r--r--gui-apps/hyprmoncfg/hyprmoncfg-1.5.2.ebuild45
-rw-r--r--gui-apps/hyprmoncfg/hyprmoncfg-1.6.0.ebuild45
-rw-r--r--gui-apps/hyprmoncfg/hyprmoncfg-1.7.0.ebuild45
6 files changed, 170 insertions, 1 deletions
diff --git a/gui-apps/hyprmoncfg/Manifest b/gui-apps/hyprmoncfg/Manifest
index 34a656ed8604..0c029f5f54ca 100644
--- a/gui-apps/hyprmoncfg/Manifest
+++ b/gui-apps/hyprmoncfg/Manifest
@@ -1,2 +1,8 @@
DIST hyprmoncfg-1.5.1-deps.tar.xz 27295780 BLAKE2B bc53d40667448eca6119360fb8809fe96c742911ddffafccb998546686ccbc021aa1a99b606cb03708f496896d39406a36622003df6048dea78c4cd45c32420d SHA512 b301ca41984b39c15539d5469e5bb1a6a349002e162b1b7f4c21515aa93a18e00da5e2791cb21c73c7f6c0462880425036ba309120481c41a8409c6f0d4a86d2
DIST hyprmoncfg-1.5.1.tar.gz 5953639 BLAKE2B 0b5be3ee5b80281637f47927785f7046f511c2768072d82fbede2f876142c2c82328701aadf62651a8e86c9adee6daeb8661199c0afac1c36212287b2a7cc2eb SHA512 2f80d663cc693d5db6976a46b54364a35fe796eca6850bf2ecbd24ec476ad9a84f22e91a581a4ddf5950abe589ec44e863827a5b08a5254d09630054ade2dee1
+DIST hyprmoncfg-1.5.2-deps.tar.xz 38213228 BLAKE2B 10697a88468274f970d15d4e46c518a672009124bb98c771924198b5faba1b7638b0cc5276e7eeef038b70fc0c352d1e9ca5b3b08d4a7b0903ec0746da9261d9 SHA512 09335dfa5ed59a6b240418c2e8aa61773584037f974a91f117ddf06c5bcf7d7abe5fd1fabd0d45ac0b5fd5aee441b93d19935bb1c248f571d8ef4a9c8313f026
+DIST hyprmoncfg-1.5.2.tar.gz 5955001 BLAKE2B a605a1e24bd5532fbb8534441b699a06802626ddfe05cccdc0310a3aa9734280acad4ac45f3edc2144ad393daa305d5e8663e34503e08973769e8cddb9d86eff SHA512 37ee9d1fd9eb64f4f0c814c0092fe31af5a2b19ccfcad908904baff23069b881e74f63de42647bcd363632ab4bb860e997707969ef8beeeac052d808abe1d52b
+DIST hyprmoncfg-1.6.0-deps.tar.xz 38193304 BLAKE2B 9511285b299fdd1586bc83571952e028006bda0845d05ff145a4bd94c54961b7381e6ab000e5b366b4d63b1fb061ea69c129faf70fdb588a5620b67c34419c05 SHA512 0d1796cf912d5e1ace2c69fb254051e5a3c04ef1888cb53bd1917e75c69372a3c99cc83aafb8b6b0a3cd8ca34bf783c463de88f8e5aec83e17e81786d598d18b
+DIST hyprmoncfg-1.6.0.tar.gz 5959044 BLAKE2B a16cb22929bb70d6989557dde814581d0928316f89e73276010a676749cdbad3acba26efaab5915e902417e1d262ff197e5d934d566d14cc7771759bea24ee70 SHA512 aad9c0494b21753d8f263db181e82407508d6e258fc6eb7ac73f3cf6626a9217eace1e97140f5f2c159f753f82b064a229d5f67c47173b5a7542aafe091cb5c7
+DIST hyprmoncfg-1.7.0-deps.tar.xz 30518248 BLAKE2B cf6626c13d16b5c0b18c6d63f1e62a2b664627a3f90edbdb0be8e2d6dce7ffef22939c6a6cabb749a03865ee495ae4dfe73f49507110e4bdc9e8df39237ae949 SHA512 5efad171c2d1e3fb71fab3b3874b21ec6541eb31cf19551f851c6b2c555c99bee998f35da1c64ca0df379c10e381c97097a8c26d0ade83a94cd723c059256765
+DIST hyprmoncfg-1.7.0.tar.gz 5961255 BLAKE2B bf257edafa002086c6b610f08b4c29af2989300acd867efebde682edf4cbf193013d54e784c2cdd93a469e1a11fce2240f7a9327329a7335ee4a548bea772dd5 SHA512 c26f18329412b1e8fc151066b50afaf3884077cca7379013f0fa281d789a737e83b2a8dfacd77823fb232ef71e8d7fbb9d6ec7765932632e0fa8cc22ec0f199c
diff --git a/gui-apps/hyprmoncfg/files/hyprmoncfg-1.5.1-exec-error-message.patch b/gui-apps/hyprmoncfg/files/hyprmoncfg-1.5.1-exec-error-message.patch
new file mode 100644
index 000000000000..1fa9c7e46904
--- /dev/null
+++ b/gui-apps/hyprmoncfg/files/hyprmoncfg-1.5.1-exec-error-message.patch
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Carmine Roberto Mancini <carmine@carmine.dev>
+Date: Sat, 6 Jun 2026 13:00:00 +0200
+Subject: [PATCH] apply: put exec validation reason before long path
+
+Long build paths can make the TUI truncate the validation message before the
+actionable part of the error is visible.
+---
+ internal/apply/apply.go | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/internal/apply/apply.go b/internal/apply/apply.go
+index a4ecb96..046bcf3 100644
+--- a/internal/apply/apply.go
++++ b/internal/apply/apply.go
+@@ -304,7 +304,7 @@ func ValidatePostApplyExec(command string) error {
+ return fmt.Errorf("%s is a directory", executable)
+ }
+ if info.Mode().Perm()&0o111 == 0 {
+- return fmt.Errorf("%s is not executable", executable)
++ return fmt.Errorf("not executable: %s", executable)
+ }
+ return nil
+ }
diff --git a/gui-apps/hyprmoncfg/hyprmoncfg-1.5.1.ebuild b/gui-apps/hyprmoncfg/hyprmoncfg-1.5.1.ebuild
index 24e54c43ec8c..2daca43e84c6 100644
--- a/gui-apps/hyprmoncfg/hyprmoncfg-1.5.1.ebuild
+++ b/gui-apps/hyprmoncfg/hyprmoncfg-1.5.1.ebuild
@@ -19,11 +19,15 @@ KEYWORDS="-* ~amd64 ~arm64"
BDEPEND=">=dev-lang/go-1.26.1"
+PATCHES=(
+ "${FILESDIR}/${P}-exec-error-message.patch"
+)
+
src_compile() {
local build_date ldflags
build_date="$(date -u +%FT%TZ)"
- ldflags="-s -w -X github.com/crmne/hyprmoncfg/internal/buildinfo.Version=${PV} -X github.com/crmne/hyprmoncfg/internal/buildinfo.Commit=509f68e -X github.com/crmne/hyprmoncfg/internal/buildinfo.Date=${build_date}"
+ ldflags="-X github.com/crmne/hyprmoncfg/internal/buildinfo.Version=${PV} -X github.com/crmne/hyprmoncfg/internal/buildinfo.Commit=509f68e -X github.com/crmne/hyprmoncfg/internal/buildinfo.Date=${build_date}"
GOPROXY=off ego build -trimpath -mod=readonly -ldflags "${ldflags}" -o hyprmoncfg ./cmd/hyprmoncfg
GOPROXY=off ego build -trimpath -mod=readonly -ldflags "${ldflags}" -o hyprmoncfgd ./cmd/hyprmoncfgd
diff --git a/gui-apps/hyprmoncfg/hyprmoncfg-1.5.2.ebuild b/gui-apps/hyprmoncfg/hyprmoncfg-1.5.2.ebuild
new file mode 100644
index 000000000000..12da4c909362
--- /dev/null
+++ b/gui-apps/hyprmoncfg/hyprmoncfg-1.5.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop go-module systemd
+
+DESCRIPTION="Terminal-first monitor configurator and auto-switching daemon for Hyprland"
+HOMEPAGE="https://github.com/crmne/hyprmoncfg"
+SRC_URI="
+ https://github.com/crmne/hyprmoncfg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/crmne/hyprmoncfg/releases/download/v${PV}/${P}-deps.tar.xz
+"
+S="${WORKDIR}/${P}"
+
+LICENSE="Apache-2.0 BSD MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+
+BDEPEND=">=dev-lang/go-1.26.1"
+
+src_compile() {
+ local build_date ldflags
+
+ build_date="$(date -u +%FT%TZ)"
+ ldflags="-X github.com/crmne/hyprmoncfg/internal/buildinfo.Version=${PV} -X github.com/crmne/hyprmoncfg/internal/buildinfo.Commit=36e9dcd -X github.com/crmne/hyprmoncfg/internal/buildinfo.Date=${build_date}"
+
+ GOPROXY=off ego build -trimpath -mod=readonly -ldflags "${ldflags}" -o hyprmoncfg ./cmd/hyprmoncfg
+ GOPROXY=off ego build -trimpath -mod=readonly -ldflags "${ldflags}" -o hyprmoncfgd ./cmd/hyprmoncfgd
+}
+
+src_test() {
+ GOPROXY=off ego test ./...
+}
+
+src_install() {
+ dobin hyprmoncfg
+ dobin hyprmoncfgd
+ dodoc README.md
+ insinto /usr/share/licenses/${PN}
+ doins LICENSE
+ domenu packaging/applications/hyprmoncfg.desktop
+ doicon packaging/icons/hyprmoncfg.svg
+ systemd_douserunit packaging/systemd/hyprmoncfgd.service
+}
diff --git a/gui-apps/hyprmoncfg/hyprmoncfg-1.6.0.ebuild b/gui-apps/hyprmoncfg/hyprmoncfg-1.6.0.ebuild
new file mode 100644
index 000000000000..c2ce7cf937ae
--- /dev/null
+++ b/gui-apps/hyprmoncfg/hyprmoncfg-1.6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop go-module systemd
+
+DESCRIPTION="Terminal-first monitor configurator and auto-switching daemon for Hyprland"
+HOMEPAGE="https://github.com/crmne/hyprmoncfg"
+SRC_URI="
+ https://github.com/crmne/hyprmoncfg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/crmne/hyprmoncfg/releases/download/v${PV}/${P}-deps.tar.xz
+"
+S="${WORKDIR}/${P}"
+
+LICENSE="Apache-2.0 BSD MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+
+BDEPEND=">=dev-lang/go-1.26.1"
+
+src_compile() {
+ local build_date ldflags
+
+ build_date="$(date -u +%FT%TZ)"
+ ldflags="-X github.com/crmne/hyprmoncfg/internal/buildinfo.Version=${PV} -X github.com/crmne/hyprmoncfg/internal/buildinfo.Commit=be34b6c -X github.com/crmne/hyprmoncfg/internal/buildinfo.Date=${build_date}"
+
+ GOPROXY=off ego build -buildvcs=false -trimpath -mod=readonly -ldflags "${ldflags}" -o hyprmoncfg ./cmd/hyprmoncfg
+ GOPROXY=off ego build -buildvcs=false -trimpath -mod=readonly -ldflags "${ldflags}" -o hyprmoncfgd ./cmd/hyprmoncfgd
+}
+
+src_test() {
+ GOPROXY=off ego test -buildvcs=false ./...
+}
+
+src_install() {
+ dobin hyprmoncfg
+ dobin hyprmoncfgd
+ dodoc README.md
+ insinto /usr/share/licenses/${PN}
+ doins LICENSE
+ domenu packaging/applications/hyprmoncfg.desktop
+ doicon packaging/icons/hyprmoncfg.svg
+ systemd_douserunit packaging/systemd/hyprmoncfgd.service
+}
diff --git a/gui-apps/hyprmoncfg/hyprmoncfg-1.7.0.ebuild b/gui-apps/hyprmoncfg/hyprmoncfg-1.7.0.ebuild
new file mode 100644
index 000000000000..af442cbd0fb1
--- /dev/null
+++ b/gui-apps/hyprmoncfg/hyprmoncfg-1.7.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop go-module systemd
+
+DESCRIPTION="Terminal-first monitor configurator and auto-switching daemon for Hyprland"
+HOMEPAGE="https://github.com/crmne/hyprmoncfg"
+SRC_URI="
+ https://github.com/crmne/hyprmoncfg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/crmne/hyprmoncfg/releases/download/v${PV}/${P}-deps.tar.xz
+"
+S="${WORKDIR}/${P}"
+
+LICENSE="Apache-2.0 BSD MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+
+BDEPEND=">=dev-lang/go-1.26.1"
+
+src_compile() {
+ local build_date ldflags
+
+ build_date="$(date -u +%FT%TZ)"
+ ldflags="-X github.com/crmne/hyprmoncfg/internal/buildinfo.Version=${PV} -X github.com/crmne/hyprmoncfg/internal/buildinfo.Commit=0c28c74 -X github.com/crmne/hyprmoncfg/internal/buildinfo.Date=${build_date}"
+
+ GOPROXY=off ego build -buildvcs=false -trimpath -mod=readonly -ldflags "${ldflags}" -o hyprmoncfg ./cmd/hyprmoncfg
+ GOPROXY=off ego build -buildvcs=false -trimpath -mod=readonly -ldflags "${ldflags}" -o hyprmoncfgd ./cmd/hyprmoncfgd
+}
+
+src_test() {
+ GOPROXY=off ego test -buildvcs=false ./...
+}
+
+src_install() {
+ dobin hyprmoncfg
+ dobin hyprmoncfgd
+ dodoc README.md
+ insinto /usr/share/licenses/${PN}
+ doins LICENSE
+ domenu packaging/applications/hyprmoncfg.desktop
+ doicon packaging/icons/hyprmoncfg.svg
+ systemd_douserunit packaging/systemd/hyprmoncfgd.service
+}