commit:     3330da8308207ccbd6cff26e4888cdda00964657
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  1 12:43:40 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan  2 20:14:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3330da83

net-misc/cmst: Drop IUSE qt5 (make Qt6 non-optional)

- Fix entirely missing dev-qt/qtbase:6 USEdeps
- Add missing BDEPEND=dev-qt/qttools:6[linguist] USEdep

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-misc/cmst/cmst-2023.03.14-r2.ebuild | 40 +++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/net-misc/cmst/cmst-2023.03.14-r2.ebuild 
b/net-misc/cmst/cmst-2023.03.14-r2.ebuild
new file mode 100644
index 000000000000..ddc6f8d46227
--- /dev/null
+++ b/net-misc/cmst/cmst-2023.03.14-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils xdg-utils
+
+DESCRIPTION="Qt GUI for Connman with system tray icon"
+HOMEPAGE="https://github.com/andrew-bibb/cmst";
+SRC_URI="https://github.com/andrew-bibb/cmst/archive/${P}.tar.gz";
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="dev-qt/qtbase:6[dbus,gui,network,widgets]"
+RDEPEND="${DEPEND}
+       net-misc/connman
+"
+BDEPEND="dev-qt/qttools:6[linguist]"
+
+src_configure() {
+       export USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)/${PN}"
+       eqmake6 DISTRO=gentoo
+}
+
+src_install() {
+       emake INSTALL_ROOT="${D}" install
+       rm -r "${D}"/usr/share/licenses || die
+       gunzip "${D}"/usr/share/man/man1/cmst.1.gz
+}
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

Reply via email to