summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-12-05 13:20:54 -0600
committerBen Kohler <bkohler@gentoo.org>2021-12-05 13:24:46 -0600
commita9a6608b17038ff300d026eaf3e346d51902cac3 (patch)
tree2ef983efcea3bb0dc726fc56fc84e27a26ae7418 /net-misc/cmst
parentsys-apps/yarn: stabilize 1.22.17 amd64 (diff)
downloadgentoo-a9a6608b17038ff300d026eaf3e346d51902cac3.tar.gz
gentoo-a9a6608b17038ff300d026eaf3e346d51902cac3.tar.bz2
gentoo-a9a6608b17038ff300d026eaf3e346d51902cac3.zip
net-misc/cmst: bump to 2021.12.02
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc/cmst')
-rw-r--r--net-misc/cmst/Manifest1
-rw-r--r--net-misc/cmst/cmst-2021.12.02.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/net-misc/cmst/Manifest b/net-misc/cmst/Manifest
index c3cb7ec8d85c..12f808ba965c 100644
--- a/net-misc/cmst/Manifest
+++ b/net-misc/cmst/Manifest
@@ -1 +1,2 @@
DIST cmst-2020.11.01.tar.gz 2818638 BLAKE2B 69cf85abb0beebfcf3a2d6d3af8281de43d795a104a8d9f5bfbb37b6dd1c9541910fad4ce536643ae0cbe8ef1e0bdc31016d9f99056de4279123bb5d8a428d1c SHA512 cb8082ac7e1d377709a7d3fda49ed7a99ef7a9c5eb00ca24423685a5146f519bc810c37140755f4f399957781af09de75e47de8b209517c74ac55f8e5758986c
+DIST cmst-2021.12.02.tar.gz 3009904 BLAKE2B 47f4f6516668e4c71821754c096a5442614836b5c5fc5290dbf04df407010ae243cd482d7757edf6dd2e091bf166ab3cdfbb84c715a46edb30c3ee8ae1f42e26 SHA512 15875232d6f842bcecebc99f5e59fef1268bb04b319538919d6b5d6b442c3462177719170f16b5b3fa86a5a7c7f669864250c8499e0a444f26f121b80cab5dcf
diff --git a/net-misc/cmst/cmst-2021.12.02.ebuild b/net-misc/cmst/cmst-2021.12.02.ebuild
new file mode 100644
index 000000000000..88003e7ee218
--- /dev/null
+++ b/net-misc/cmst/cmst-2021.12.02.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 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_compile() {
+ lrelease cmst.pro
+ default
+}
+
+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
+}