diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
commit | 43793fab84041cfc5c60c0151d1591b8a69fb24a (patch) | |
tree | 6208a7f4fc744684fce0f55acbb47511acace498 /x11-misc/qterm/qterm-0.7.3.ebuild | |
parent | 28e3d252dc8ac8a5635206dfefe1cfe05058d1db (diff) |
gentoo resync : 25.08.2018
Diffstat (limited to 'x11-misc/qterm/qterm-0.7.3.ebuild')
-rw-r--r-- | x11-misc/qterm/qterm-0.7.3.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/x11-misc/qterm/qterm-0.7.3.ebuild b/x11-misc/qterm/qterm-0.7.3.ebuild new file mode 100644 index 000000000000..8297a404681e --- /dev/null +++ b/x11-misc/qterm/qterm-0.7.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cmake-utils gnome2-utils xdg-utils + +DESCRIPTION="A BBS client based on Qt" +HOMEPAGE="https://github.com/qterm/qterm" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl" + +RDEPEND="dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtscript:5[scripttools] + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + x11-libs/libX11 + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= )" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + dev-qt/qthelp:5 + x11-base/xorg-proto" + +PATCHES=( "${FILESDIR}"/${PN}-libressl.patch ) +DOCS=( README.rst RELEASE_NOTES TODO doc/script.txt ) + +src_prepare() { + # file collision with sys-cluster/torque, bug #176533 + sed -i "/PROGRAME /s/qterm/QTerm/" CMakeLists.txt + sed -i "s/Exec=qterm/Exec=QTerm/" src/${PN}.desktop + + cmake-utils_src_prepare + xdg_environment_reset +} + +src_configure() { + local mycmakeargs=( + -DQT5=ON + ) + cmake-utils_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |