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: ChangeLog texmaker-3.3.1.ebuild
Date: Tue, 28 Feb 2012 20:41:59
Message-Id: 20120228204148.B4CFB2004B@flycatcher.gentoo.org
1 jlec 12/02/28 20:41:48
2
3 Modified: ChangeLog
4 Added: texmaker-3.3.1.ebuild
5 Log:
6 Version Bump, #406205
7
8 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.94 app-office/texmaker/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.94&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.94&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?r1=1.93&r2=1.94
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v
20 retrieving revision 1.93
21 retrieving revision 1.94
22 diff -u -r1.93 -r1.94
23 --- ChangeLog 12 Jan 2012 10:49:59 -0000 1.93
24 +++ ChangeLog 28 Feb 2012 20:41:48 -0000 1.94
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-office/texmaker
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.93 2012/01/12 10:49:59 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.94 2012/02/28 20:41:48 jlec Exp $
30 +
31 +*texmaker-3.3.1 (28 Feb 2012)
32 +
33 + 28 Feb 2012; Justin Lecher <jlec@g.o> +texmaker-3.3.1.ebuild,
34 + +files/texmaker-3.3.1-hunspell.patch:
35 + Version Bump, #406205
36
37 *texmaker-3.2.2 (12 Jan 2012)
38
39
40
41
42 1.1 app-office/texmaker/texmaker-3.3.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-3.3.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-3.3.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: texmaker-3.3.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-3.3.1.ebuild,v 1.1 2012/02/28 20:41:48 jlec Exp $
52
53 EAPI="3"
54
55 inherit base prefix 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 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
77 IUSE=""
78
79 S="${WORKDIR}/${MY_P}"
80
81 COMMON_DEPEND="
82 app-text/poppler[qt4]
83 sys-libs/zlib
84 x11-libs/libX11
85 x11-libs/libXext
86 >=x11-libs/qt-gui-4.6.1:4
87 >=x11-libs/qt-core-4.6.1:4
88 >=x11-libs/qt-webkit-4.6.1:4
89 >=app-text/hunspell-1.2.4"
90 RDEPEND="${COMMON_DEPEND}
91 virtual/latex-base
92 app-text/psutils
93 app-text/ghostscript-gpl
94 media-libs/netpbm"
95 DEPEND="${COMMON_DEPEND}
96 dev-util/pkgconfig"
97
98 PATCHES=( "${FILESDIR}/${P}-hunspell.patch" )
99
100 src_prepare() {
101 qt4-r2_src_prepare
102 eprefixify ${PN}.pro configdialog.cpp
103 }
104
105 src_install() {
106 emake INSTALL_ROOT="${ED}" install || die "make install failed"
107
108 insinto /usr/share/pixmaps/texmaker
109 doins utilities/texmaker*.png || die "doins failed."
110 doins utilities/texmaker.svg || die "doins failed."
111
112 dodoc utilities/AUTHORS utilities/CHANGELOG.txt || die "dodoc failed"
113 }
114
115 pkg_postinst() {
116 elog "A user manual with many screenshots is available at:"
117 elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html"
118 }