Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/texmaker: texmaker-4.1.ebuild ChangeLog
Date: Sun, 03 Nov 2013 10:51:44
Message-Id: 20131103105138.CF2722004B@flycatcher.gentoo.org
1 jlec 13/11/03 10:51:38
2
3 Modified: ChangeLog
4 Added: texmaker-4.1.ebuild
5 Log:
6 app-office/texmaker: Version BUmp, #490220
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.137 app-office/texmaker/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.137&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.137&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?r1=1.136&r2=1.137
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v
20 retrieving revision 1.136
21 retrieving revision 1.137
22 diff -u -r1.136 -r1.137
23 --- ChangeLog 26 Oct 2013 09:47:18 -0000 1.136
24 +++ ChangeLog 3 Nov 2013 10:51:38 -0000 1.137
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-office/texmaker
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.136 2013/10/26 09:47:18 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.137 2013/11/03 10:51:38 jlec Exp $
30 +
31 +*texmaker-4.1 (03 Nov 2013)
32 +
33 + 03 Nov 2013; Justin Lecher <jlec@g.o> +texmaker-4.1.ebuild,
34 + +files/texmaker-4.1-unbundle.patch:
35 + Version BUmp, #490220
36
37 *texmaker-4.0.4-r1 (26 Oct 2013)
38
39
40
41
42 1.1 app-office/texmaker/texmaker-4.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-4.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-4.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: texmaker-4.1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-4.1.ebuild,v 1.1 2013/11/03 10:51:38 jlec Exp $
52
53 EAPI=5
54
55 inherit qt4-r2 versionator
56
57 # The upstream version numbering is bad, so we have to remove a dot in the
58 # minor version number
59 MAJOR="$(get_major_version)"
60 MINOR_1="$(($(get_version_component_range 2)/10))"
61 MINOR_2="$(($(get_version_component_range 2)%10))"
62 if [ ${MINOR_2} -eq "0" ] ; then
63 MY_P="${PN}-${MAJOR}.${MINOR_1}"
64 else
65 MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
66 fi
67
68 MY_P="${P}"
69
70 DESCRIPTION="A nice LaTeX-IDE"
71 HOMEPAGE="http://www.xm1math.net/texmaker/"
72 SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
73
74 LICENSE="GPL-2"
75 SLOT="0"
76 KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
77 IUSE=""
78
79 S="${WORKDIR}/${MY_P}"
80
81 COMMON_DEPEND="
82 app-text/hunspell
83 app-text/poppler:=[qt4]
84 sys-libs/zlib
85 x11-libs/libX11
86 x11-libs/libXext
87 dev-qt/qtgui:4
88 dev-qt/qtcore:4
89 dev-qt/qtsingleapplication
90 dev-qt/qtwebkit:4
91 "
92 RDEPEND="${COMMON_DEPEND}
93 virtual/latex-base
94 app-i18n/ibus-qt
95 app-text/psutils
96 app-text/ghostscript-gpl
97 media-libs/netpbm"
98 DEPEND="${COMMON_DEPEND}
99 virtual/pkgconfig"
100
101 PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
102
103 DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
104 HTML_DOCS=( doc/. )
105
106 src_prepare() {
107 find singleapp hunspell -delete || die
108
109 qt4-r2_src_prepare
110
111 cat >> ${PN}.pro <<- EOF
112 exists(texmakerx_my.pri):include(texmakerx_my.pri)
113 EOF
114 cp "${FILESDIR}"/texmakerx_my.pri . || die
115
116 sed \
117 -e '/^#include/s:hunspell/::g' \
118 -e '/^#include/s:singleapp/::g' \
119 -i *.cpp *.h || die
120 }
121
122 src_configure() {
123 eqmake4 \
124 ${PN}.pro \
125 PREFIX="${EPREFIX}/usr" \
126 DESKTOPDIR="${EPREFIX}/usr/share/applications" \
127 ICONDIR="${EPREFIX}/usr/share/pixmaps"
128 }
129
130 pkg_postinst() {
131 elog "A user manual with many screenshots is available at:"
132 elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html"
133 }