diff options
-rw-r--r-- | net-misc/cmst/Manifest | 1 | ||||
-rw-r--r-- | net-misc/cmst/cmst-2022.01.05.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-misc/cmst/Manifest b/net-misc/cmst/Manifest index 414d2698cca2..04fddb615d54 100644 --- a/net-misc/cmst/Manifest +++ b/net-misc/cmst/Manifest @@ -1 +1,2 @@ DIST cmst-2021.12.02.tar.gz 3009904 BLAKE2B 47f4f6516668e4c71821754c096a5442614836b5c5fc5290dbf04df407010ae243cd482d7757edf6dd2e091bf166ab3cdfbb84c715a46edb30c3ee8ae1f42e26 SHA512 15875232d6f842bcecebc99f5e59fef1268bb04b319538919d6b5d6b442c3462177719170f16b5b3fa86a5a7c7f669864250c8499e0a444f26f121b80cab5dcf +DIST cmst-2022.01.05.tar.gz 3031739 BLAKE2B 19d57e7e62ecc82d9e2d8d54491a46093aa8a6424df6e41a66d6d44a2a49be6d25bcaf699b2da94f26de3ca3fe34a2fa542cc696ce6ab70a799a7a8cab8cb532 SHA512 75f4b611755f24cc193cabd56c053098ebd6be13f6eff0bbde2842f6d35c90111bbf475d7da4dfc1f4462c34e27e526bf8d0ba60ec0ae42ee0cbc582c113bc2f diff --git a/net-misc/cmst/cmst-2022.01.05.ebuild b/net-misc/cmst/cmst-2022.01.05.ebuild new file mode 100644 index 000000000000..72cbdbb60aab --- /dev/null +++ b/net-misc/cmst/cmst-2022.01.05.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 +} |