summaryrefslogtreecommitdiff
blob: 637fc00fd29c836b70e19af628fb7f39fe1a6bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit cmake-utils

DESCRIPTION="A BBS client for Linux"
HOMEPAGE="http://qterm.sourceforge.net"
SRC_URI="mirror://sourceforge/qterm/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="libressl"

RDEPEND="
	>=dev-qt/qtcore-4.5:4
	>=dev-qt/qtdbus-4.5:4
	>=dev-qt/qtgui-4.5:4[qt3support]
	>=dev-qt/qtscript-4.5:4
	!libressl? ( dev-libs/openssl:0 )
	libressl? ( dev-libs/libressl )
	x11-libs/libX11
"
DEPEND="${RDEPEND}
	kde-base/kdelibs
	dev-qt/qthelp:4
	dev-qt/qtwebkit:4"

PATCHES=(
	"${FILESDIR}/${PN}-0.5.11-gentoo.patch"
	"${FILESDIR}/${P}-qt4.patch"
	"${FILESDIR}/${P}-glibc216.patch"
	"${FILESDIR}/${P}-duplicatetarget.patch"
	"${FILESDIR}/${P}-qtbindir.patch"
)

src_install() {
	cmake-utils_src_install
	mv "${D}"/usr/bin/qterm "${D}"/usr/bin/QTerm || die
	dodoc README TODO
}