net-misc/cmst: add 2022.03.13

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler
2022-03-14 09:32:21 -05:00
parent c793cbb1a4
commit cd1c4c1910
2 changed files with 47 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST cmst-2022.01.05.tar.gz 3031739 BLAKE2B 19d57e7e62ecc82d9e2d8d54491a46093aa8a6424df6e41a66d6d44a2a49be6d25bcaf699b2da94f26de3ca3fe34a2fa542cc696ce6ab70a799a7a8cab8cb532 SHA512 75f4b611755f24cc193cabd56c053098ebd6be13f6eff0bbde2842f6d35c90111bbf475d7da4dfc1f4462c34e27e526bf8d0ba60ec0ae42ee0cbc582c113bc2f
DIST cmst-2022.03.13.tar.gz 3178885 BLAKE2B 0f67d4b63c1d9c5925811ae11cd6e0a16c7edefaf802dfcb7847b5e1ce5dac8435343523b5b6ba863c08d49340a06a16df65f057b7297ff874768b929e30d676 SHA512 ed8ccec8c132bfdb42bcd8429d6b25242ff2575eadf5c60afe04477a3962eb474b841c57cc4dca9345cb61b1a2502873ac91bb97b6766e637ca4254d82856a1e
+46
View File
@@ -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
}