summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-08-18 10:57:42 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-08-18 10:57:42 +0900
commitbabe46bd4ba748689f81381b641e58748a166506 (patch)
treecb5690209963d3978a67e57f0a4e4b9fd3b7b62a /x11-misc
parentdev-lang/php: Drop old (diff)
downloadgentoo-babe46bd4ba748689f81381b641e58748a166506.tar.gz
gentoo-babe46bd4ba748689f81381b641e58748a166506.tar.bz2
gentoo-babe46bd4ba748689f81381b641e58748a166506.zip
x11-misc/qterm: tidy
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/qterm/metadata.xml2
-rw-r--r--x11-misc/qterm/qterm-0.7.1.ebuild34
2 files changed, 12 insertions, 24 deletions
diff --git a/x11-misc/qterm/metadata.xml b/x11-misc/qterm/metadata.xml
index d9de788cca8b..59fe2d65e616 100644
--- a/x11-misc/qterm/metadata.xml
+++ b/x11-misc/qterm/metadata.xml
@@ -6,7 +6,7 @@
<name>Cjk</name>
</maintainer>
<upstream>
- <remote-id type="sourceforge">qterm</remote-id>
<remote-id type="github">qterm/qterm</remote-id>
+ <remote-id type="sourceforge">qterm</remote-id>
</upstream>
</pkgmetadata>
diff --git a/x11-misc/qterm/qterm-0.7.1.ebuild b/x11-misc/qterm/qterm-0.7.1.ebuild
index 9196ecbc57cb..2273e5d30691 100644
--- a/x11-misc/qterm/qterm-0.7.1.ebuild
+++ b/x11-misc/qterm/qterm-0.7.1.ebuild
@@ -1,21 +1,20 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI="6"
inherit cmake-utils gnome2-utils xdg-utils
-DESCRIPTION="A BBS client for Linux"
+DESCRIPTION="A BBS client based on Qt"
HOMEPAGE="https://github.com/qterm/qterm"
-SRC_URI="https://github.com/qterm/qterm/archive/0.7.1.tar.gz -> ${P}.tar.gz"
+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
+RDEPEND="dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtnetwork:5
@@ -25,41 +24,30 @@ RDEPEND="
dev-qt/qtxml:5
x11-libs/libX11
!libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:= )
-"
+ libressl? ( dev-libs/libressl:= )"
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
dev-qt/qthelp:5
- x11-base/xorg-proto
-"
+ x11-base/xorg-proto"
DOCS=( README.rst RELEASE_NOTES TODO )
src_prepare() {
- cmake-utils_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
- sed -i -e "s/Exec=qterm/Exec=QTerm/" src/${PN}.desktop || die
+ cmake-utils_src_prepare
+ xdg_environment_reset
}
src_configure() {
- xdg_environment_reset
-
local mycmakeargs=(
-DQT5=ON
)
-
cmake-utils_src_configure
}
-src_install() {
- cmake-utils_src_install
- mv "${D}"/usr/bin/qterm "${D}"/usr/bin/QTerm || die
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
gnome2_icon_cache_update
}