Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/texmaker: ChangeLog texmaker-1.80.ebuild
Date: Fri, 28 Nov 2008 10:58:51
Message-Id: E1L613h-0008Km-2j@stork.gentoo.org
1 aballier 08/11/28 10:58:49
2
3 Modified: ChangeLog
4 Added: texmaker-1.80.ebuild
5 Log:
6 version bump, bug #248921
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.27.7 x86_64)
8
9 Revision Changes Path
10 1.52 app-office/texmaker/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.52&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.52&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmaker/ChangeLog?r1=1.51&r2=1.52
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v
19 retrieving revision 1.51
20 retrieving revision 1.52
21 diff -u -r1.51 -r1.52
22 --- ChangeLog 26 Nov 2008 12:58:02 -0000 1.51
23 +++ ChangeLog 28 Nov 2008 10:58:49 -0000 1.52
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-office/texmaker
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.51 2008/11/26 12:58:02 fmccor Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.52 2008/11/28 10:58:49 aballier Exp $
29 +
30 +*texmaker-1.80 (28 Nov 2008)
31 +
32 + 28 Nov 2008; Alexis Ballier <aballier@g.o>
33 + +files/texmaker-1.80-hunspell.patch, +texmaker-1.80.ebuild:
34 + version bump, bug #248921
35
36 26 Nov 2008; Ferris McCormick <fmccor@g.o> texmaker-1.71-r1.ebuild:
37 Sparc stable, Bug #245518.
38
39
40
41 1.1 app-office/texmaker/texmaker-1.80.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmaker/texmaker-1.80.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmaker/texmaker-1.80.ebuild?rev=1.1&content-type=text/plain
45
46 Index: texmaker-1.80.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-1.80.ebuild,v 1.1 2008/11/28 10:58:49 aballier Exp $
51
52 EAPI=1
53
54 inherit eutils versionator qt4
55
56 DESCRIPTION="A nice LaTeX-IDE"
57
58 # The upstream version numbering is bad, so we have to remove a dot in the
59 # minor version number
60 MAJOR="$(get_major_version)"
61 MINOR_1="$(($(get_version_component_range 2)/10))"
62 MINOR_2="$(($(get_version_component_range 2)%10))"
63 if [ ${MINOR_2} -eq "0" ] ; then
64 MY_P="${PN}-${MAJOR}.${MINOR_1}"
65 else
66 MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
67 fi
68
69 S="${WORKDIR}/${MY_P}"
70 HOMEPAGE="http://www.xm1math.net/texmaker/"
71 SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
72
73 LICENSE="GPL-2"
74
75 SLOT="0"
76
77 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
78
79 IUSE=""
80
81 COMMON_DEPEND="x11-libs/libX11
82 x11-libs/libXext
83 || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 )
84 >=app-text/hunspell-1.2.4"
85
86 RDEPEND="${COMMON_DEPEND}
87 virtual/latex-base
88 app-text/psutils
89 virtual/ghostscript
90 media-libs/netpbm"
91
92 DEPEND="${COMMON_DEPEND}
93 dev-util/pkgconfig"
94
95 src_unpack() {
96 unpack ${A}
97 cd "${S}"
98 epatch "${FILESDIR}/${P}-hunspell.patch"
99 }
100
101 src_compile() {
102 eqmake4 texmaker.pro || die "qmake failed"
103 emake || die "emake failed"
104 }
105
106 src_install() {
107 emake INSTALL_ROOT="${D}" install || die "make install failed"
108
109 insinto /usr/share/pixmaps/texmaker
110 doins utilities/texmaker*.png || die "doins failed."
111 doins utilities/texmaker.svg || die "doins failed."
112
113 dodoc utilities/AUTHORS utilities/CHANGELOG.txt || die "dodoc failed"
114
115 make_desktop_entry texmaker Texmaker "/usr/share/pixmaps/texmaker/texmaker48x48.png" Office
116 }
117
118 pkg_postinst() {
119 elog "A user manual with many screenshots is available at:"
120 elog "/usr/share/${PN}/usermanual_en.html"
121 elog
122 }