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

(-)texmaker-4.5.ebuild (-39 / +27 lines)
Lines 1-10 Link Here
1
# Copyright 1999-2015 Gentoo Foundation
1
# Copyright 1999-2016 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
5
EAPI=5
5
EAPI=6
6
6
7
inherit eutils qmake-utils readme.gentoo
7
inherit qmake-utils readme.gentoo-r1
8
8
9
DESCRIPTION="A nice LaTeX-IDE"
9
DESCRIPTION="A nice LaTeX-IDE"
10
HOMEPAGE="http://www.xm1math.net/texmaker/"
10
HOMEPAGE="http://www.xm1math.net/texmaker/"
Lines 12-69 Link Here
12
12
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 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
16
IUSE="qt4 +qt5"
16
IUSE=""
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?]
20
	app-text/poppler:=[qt5]
21
	dev-qt/qtconcurrent:5
22
	dev-qt/qtcore:5
23
	dev-qt/qtgui:5
24
	dev-qt/qtnetwork:5
25
	dev-qt/qtscript:5
26
	dev-qt/qtsingleapplication[X,qt5]
27
	dev-qt/qtwebkit:5[printsupport]
28
	dev-qt/qtwidgets:5
29
	dev-qt/qtxml:5
23
	sys-libs/zlib
30
	sys-libs/zlib
24
	x11-libs/libX11
31
	x11-libs/libX11
25
	x11-libs/libXext
32
	x11-libs/libXext
26
	dev-qt/qtsingleapplication[X,qt4?,qt5?]
33
"
27
	qt4? (
34
DEPEND="${COMMON_DEPEND}
28
		dev-qt/qtgui:4
35
	virtual/pkgconfig
29
		dev-qt/qtcore:4
30
		dev-qt/qtscript:4
31
		dev-qt/qtwebkit:4
32
		)
33
	qt5? (
34
		dev-qt/qtconcurrent:5
35
		dev-qt/qtgui:5
36
		dev-qt/qtcore:5
37
		dev-qt/qtnetwork:5
38
		dev-qt/qtscript:5
39
		dev-qt/qtwebkit:5[printsupport]
40
		dev-qt/qtwidgets:5
41
		dev-qt/qtxml:5
42
		)
43
"
36
"
44
RDEPEND="${COMMON_DEPEND}
37
RDEPEND="${COMMON_DEPEND}
45
	virtual/latex-base
46
	app-text/psutils
47
	app-text/ghostscript-gpl
38
	app-text/ghostscript-gpl
39
	app-text/psutils
48
	media-libs/netpbm
40
	media-libs/netpbm
49
	qt4? ( app-i18n/ibus-qt )"
41
	virtual/latex-base
50
DEPEND="${COMMON_DEPEND}
42
"
51
	virtual/pkgconfig"
52
43
53
PATCHES=(
44
PATCHES=(
54
	"${FILESDIR}"/${P}-unbundle.patch
45
	"${FILESDIR}"/${P}-unbundle.patch
55
	"${FILESDIR}"/${P}-modern-styles.patch
46
	"${FILESDIR}"/${P}-modern-styles.patch
56
	)
47
)
57
48
58
DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
49
DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
59
HTML_DOCS=( doc/. )
50
HTML_DOCS=( doc/. )
60
51
61
src_prepare() {
52
src_prepare() {
62
	find singleapp hunspell -delete || die
53
	default
63
54
64
	epatch "${PATCHES[@]}"
55
	find singleapp hunspell -delete || die
65
56
66
	cat >> ${PN}.pro <<- EOF
57
	cat >> ${PN}.pro <<- EOF || die
67
	exists(texmakerx_my.pri):include(texmakerx_my.pri)
58
	exists(texmakerx_my.pri):include(texmakerx_my.pri)
68
	EOF
59
	EOF
69
60
Lines 85-95 Link Here
85
		DESKTOPDIR="${EPREFIX}/usr/share/applications"
76
		DESKTOPDIR="${EPREFIX}/usr/share/applications"
86
		ICONDIR="${EPREFIX}/usr/share/pixmaps"
77
		ICONDIR="${EPREFIX}/usr/share/pixmaps"
87
		)
78
		)
88
	if use qt4; then
79
89
		eqmake4 ${myeqmakeargs[@]}
80
	eqmake5 "${myeqmakeargs[@]}"
90
	else
91
		eqmake5 ${myeqmakeargs[@]}
92
	fi
93
}
81
}
94
82
95
src_install() {
83
src_install() {

Return to bug 598052