Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 598052 | Differences between
and this patch

Collapse All | Expand All

(-)a/app-office/texmaker/texmaker-4.5.ebuild (-12 / +12 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2015 Gentoo Foundation
1
# Copyright 1999-2017 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Id$
3
# $Id$
4
4
Lines 13-52 SRC_URI="http://www.xm1math.net/texmaker/${P}.tar.bz2" Link Here
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
15
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
16
IUSE="qt4 +qt5"
16
IUSE="+qt5"
17
18
REQUIRED_USE="^^ ( qt4 qt5 )"
19
17
20
COMMON_DEPEND="
18
COMMON_DEPEND="
21
	app-text/hunspell
19
	app-text/hunspell
22
	app-text/poppler:=[qt4?,qt5?]
23
	sys-libs/zlib
20
	sys-libs/zlib
24
	x11-libs/libX11
21
	x11-libs/libX11
25
	x11-libs/libXext
22
	x11-libs/libXext
26
	dev-qt/qtsingleapplication[X,qt4?,qt5?]
23
	!qt5? (
27
	qt4? (
24
		app-text/poppler:=[qt4]
28
		dev-qt/qtgui:4
25
		dev-qt/qtgui:4
29
		dev-qt/qtcore:4
26
		dev-qt/qtcore:4
30
		dev-qt/qtscript:4
27
		dev-qt/qtscript:4
28
		dev-qt/qtsingleapplication[X,qt4]
31
		dev-qt/qtwebkit:4
29
		dev-qt/qtwebkit:4
32
		)
30
		)
33
	qt5? (
31
	qt5? (
32
		app-text/poppler:=[qt5]
34
		dev-qt/qtconcurrent:5
33
		dev-qt/qtconcurrent:5
35
		dev-qt/qtgui:5
36
		dev-qt/qtcore:5
34
		dev-qt/qtcore:5
35
		dev-qt/qtgui:5
37
		dev-qt/qtnetwork:5
36
		dev-qt/qtnetwork:5
38
		dev-qt/qtscript:5
37
		dev-qt/qtscript:5
38
		dev-qt/qtsingleapplication[X,qt5]
39
		dev-qt/qtwebkit:5[printsupport]
39
		dev-qt/qtwebkit:5[printsupport]
40
		dev-qt/qtwidgets:5
40
		dev-qt/qtwidgets:5
41
		dev-qt/qtxml:5
41
		dev-qt/qtxml:5
42
		)
42
		)
43
"
43
"
44
RDEPEND="${COMMON_DEPEND}
44
RDEPEND="${COMMON_DEPEND}
45
	virtual/latex-base
46
	app-text/psutils
47
	app-text/ghostscript-gpl
45
	app-text/ghostscript-gpl
46
	app-text/psutils
48
	media-libs/netpbm
47
	media-libs/netpbm
49
	qt4? ( app-i18n/ibus-qt )"
48
	virtual/latex-base
49
	!qt5? ( app-i18n/ibus-qt )"
50
DEPEND="${COMMON_DEPEND}
50
DEPEND="${COMMON_DEPEND}
51
	virtual/pkgconfig"
51
	virtual/pkgconfig"
52
52
Lines 85-91 src_configure() { Link Here
85
		DESKTOPDIR="${EPREFIX}/usr/share/applications"
85
		DESKTOPDIR="${EPREFIX}/usr/share/applications"
86
		ICONDIR="${EPREFIX}/usr/share/pixmaps"
86
		ICONDIR="${EPREFIX}/usr/share/pixmaps"
87
		)
87
		)
88
	if use qt4; then
88
	if ! use qt5; then
89
		eqmake4 ${myeqmakeargs[@]}
89
		eqmake4 ${myeqmakeargs[@]}
90
	else
90
	else
91
		eqmake5 ${myeqmakeargs[@]}
91
		eqmake5 ${myeqmakeargs[@]}

Return to bug 598052