Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 651248
Collapse All | Expand All

(-)/usr/portage/net-im/psi/psi-1.3.ebuild (-2 / +21 lines)
Lines 11-22 Link Here
11
DESCRIPTION="Qt XMPP client"
11
DESCRIPTION="Qt XMPP client"
12
HOMEPAGE="http://psi-im.org/"
12
HOMEPAGE="http://psi-im.org/"
13
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
13
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
14
	https://github.com/psi-im/psi-l10n/archive/${PV}.tar.gz -> psi-l10n-${PV}.tar.gz"
14
	https://github.com/psi-im/psi-l10n/archive/${PV}.tar.gz -> psi-l10n-${PV}.tar.gz
15
	otr? ( https://github.com/psi-im/plugins/archive/${PV}.tar.gz -> ${PN}-plugins-${PV}.tar.gz )"
15
16
16
LICENSE="GPL-2"
17
LICENSE="GPL-2"
17
SLOT="0"
18
SLOT="0"
18
KEYWORDS="~amd64 ~x86"
19
KEYWORDS="~amd64 ~x86"
19
IUSE="aspell crypt dbus debug doc enchant +hunspell ssl webengine webkit whiteboarding xscreensaver"
20
IUSE="aspell crypt dbus debug doc enchant +hunspell otr ssl webengine webkit whiteboarding xscreensaver"
20
21
21
# qconf generates not quite compatible configure scripts
22
# qconf generates not quite compatible configure scripts
22
QA_CONFIGURE_OPTIONS=".*"
23
QA_CONFIGURE_OPTIONS=".*"
Lines 44-49 Link Here
44
	dbus? ( dev-qt/qtdbus:5 )
45
	dbus? ( dev-qt/qtdbus:5 )
45
	enchant? ( >=app-text/enchant-1.3.0 )
46
	enchant? ( >=app-text/enchant-1.3.0 )
46
	hunspell? ( app-text/hunspell:= )
47
	hunspell? ( app-text/hunspell:= )
48
	otr? (
49
		app-text/htmltidy
50
		dev-libs/libgcrypt
51
		dev-libs/libgpg-error
52
		net-libs/libotr
53
	)
47
	webengine? (
54
	webengine? (
48
		>=dev-qt/qtwebchannel-5.7:5
55
		>=dev-qt/qtwebchannel-5.7:5
49
		>=dev-qt/qtwebengine-5.7:5[widgets]
56
		>=dev-qt/qtwebengine-5.7:5[widgets]
Lines 64-69 Link Here
64
71
65
RESTRICT="test"
72
RESTRICT="test"
66
73
74
src_prepare() {
75
	mv "${WORKDIR}/plugins-${PV}/generic" src/plugins/
76
77
	default
78
}
79
67
src_configure() {
80
src_configure() {
68
	CONF=(
81
	CONF=(
69
		--no-separate-debug-info
82
		--no-separate-debug-info
Lines 83-93 Link Here
83
	econf "${CONF[@]}"
96
	econf "${CONF[@]}"
84
97
85
	eqmake5 psi.pro
98
	eqmake5 psi.pro
99
100
	use otr && ( cd src/plugins/generic/otrplugin/ && eqmake5 otrplugin.pro )
86
}
101
}
87
102
88
src_compile() {
103
src_compile() {
89
	emake
104
	emake
90
	use doc && emake -C doc api_public
105
	use doc && emake -C doc api_public
106
	use otr && emake -C src/plugins/generic/otrplugin
91
}
107
}
92
108
93
src_install() {
109
src_install() {
Lines 103-108 Link Here
103
	use doc && HTML_DOCS=( doc/api/. )
119
	use doc && HTML_DOCS=( doc/api/. )
104
	einstalldocs
120
	einstalldocs
105
121
122
	insinto /usr/$(get_libdir)/psi/plugins
123
	use otr && doins src/plugins/generic/otrplugin/libotrplugin.so
124
106
	# install translations
125
	# install translations
107
	local mylrelease="$(qt5_get_bindir)"/lrelease
126
	local mylrelease="$(qt5_get_bindir)"/lrelease
108
	cd "${WORKDIR}/psi-l10n-${PV}" || die
127
	cd "${WORKDIR}/psi-l10n-${PV}" || die

Return to bug 651248