repo/proj/guru:dev commit in: net-im/gomuks/

"Anna Vyalkova" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786112387.55a55b8209f8070ff271bdeb11fa8f1680f7f14c.cybertailor@gentoo>
commit:     55a55b8209f8070ff271bdeb11fa8f1680f7f14c
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Aug  7 14:17:36 2026 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Aug  7 14:19:47 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=55a55b82

net-im/gomuks: make heif optional

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-im/gomuks/gomuks-26.07.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-im/gomuks/gomuks-26.07.ebuild b/net-im/gomuks/gomuks-26.07.ebuild
index 53d71c3c54..d29d1acbcf 100644
--- a/net-im/gomuks/gomuks-26.07.ebuild
+++ b/net-im/gomuks/gomuks-26.07.ebuild
@@ -26,11 +26,12 @@ LICENSE+=" Apache-2.0 BSD GPL-3+ ISC MIT MPL-2.0 OFL-1.1"
 LICENSE+=" Apache-2.0 BSD-2 MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="heif"
 
 DEPEND="
 	dev-db/sqlite:3
 	dev-libs/olm
-	media-libs/libheif:=
+	heif? ( media-libs/libheif:= )
 "
 RDEPEND="${DEPEND}"
 BDEPEND=">=dev-lang/go-1.25.0"
@@ -48,7 +49,7 @@ src_configure() {
 	# https://github.com/mattn/go-sqlite3#linux
 	# -tags libsqlite3: use system sqlite3 instead of bundled
 	# -tags libheif: use system libheif instead of bundled heic
-	GO_BUILD_TAGS="libheif,libsqlite3"
+	GO_BUILD_TAGS="$(usex heif libheif noheif),libsqlite3"
 
 	go-module_src_configure
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.