summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/cmst')
-rw-r--r--net-misc/cmst/Manifest1
-rw-r--r--net-misc/cmst/cmst-2022.11.30.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/net-misc/cmst/Manifest b/net-misc/cmst/Manifest
index 70370744575b..9b4960580f93 100644
--- a/net-misc/cmst/Manifest
+++ b/net-misc/cmst/Manifest
@@ -1 +1,2 @@
DIST cmst-2022.05.01.tar.gz 3427199 BLAKE2B 3e48c45d5ce45259934af95eeb0a6462a62a7caf2c4eb030487c66d1c25ccb6204dd312e778a97310026dd3f7622b43c6b02c6dc750fe81400a756366be6d3bf SHA512 54a3cc6feee7e388d0b84967796b5d3306fdf0c5a1dde17ccaa582f4803841ea624894e6cd9afc4566d6972c1981e848dc12fbd0004669341821c068064770c8
+DIST cmst-2022.11.30.tar.gz 3486817 BLAKE2B 8c0d12a99188ec1aa16faed8d035f1b7c00d090725a547b90171f8e2f352550c64cb8acf4f7bd0900c281b307d361db4a1794b892fe593772ded60a0af6ba777 SHA512 09c5b14607824fab4e46c8f3648fc13951bcce08708ddb8f1574d4c71a14c69de7fbaa1849eba82d9525a02867f8b54cfdc3b073aa4dee1fdcb8845504640327
diff --git a/net-misc/cmst/cmst-2022.11.30.ebuild b/net-misc/cmst/cmst-2022.11.30.ebuild
new file mode 100644
index 000000000000..72cbdbb60aab
--- /dev/null
+++ b/net-misc/cmst/cmst-2022.11.30.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+ net-misc/connman
+"
+BDEPEND="dev-qt/linguist-tools:5"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_configure() {
+ export USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)/${PN}"
+ eqmake5 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
+}