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-4.2.ebuild |
Date: | Thu, 22 May 2014 13:08:16 |
Message-Id: | 20140522130813.93EA02004C@flycatcher.gentoo.org |
1 | jlec 14/05/22 13:08:13 |
2 | |
3 | Modified: ChangeLog |
4 | Added: texmaker-4.2.ebuild |
5 | Log: |
6 | app-office/texmaker: Version BUmp |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 | |
10 | Revision Changes Path |
11 | 1.140 app-office/texmaker/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.140&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.140&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?r1=1.139&r2=1.140 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v |
20 | retrieving revision 1.139 |
21 | retrieving revision 1.140 |
22 | diff -u -r1.139 -r1.140 |
23 | --- ChangeLog 27 Jan 2014 14:59:49 -0000 1.139 |
24 | +++ ChangeLog 22 May 2014 13:08:13 -0000 1.140 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-office/texmaker |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.139 2014/01/27 14:59:49 jlec Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.140 2014/05/22 13:08:13 jlec Exp $ |
30 | + |
31 | +*texmaker-4.2 (22 May 2014) |
32 | + |
33 | + 22 May 2014; Justin Lecher <jlec@g.o> +texmaker-4.2.ebuild: |
34 | + Version BUmp |
35 | |
36 | 27 Jan 2014; Justin Lecher <jlec@g.o> texmaker-4.1.1.ebuild: |
37 | Add missing USE dep |
38 | |
39 | |
40 | |
41 | 1.1 app-office/texmaker/texmaker-4.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-4.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-4.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: texmaker-4.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-4.2.ebuild,v 1.1 2014/05/22 13:08:13 jlec Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | inherit qt4-r2 versionator |
55 | |
56 | # The upstream version numbering is bad, so we have to remove a dot in the |
57 | # minor version number |
58 | MAJOR="$(get_major_version)" |
59 | MINOR_1="$(($(get_version_component_range 2)/10))" |
60 | MINOR_2="$(($(get_version_component_range 2)%10))" |
61 | if [ ${MINOR_2} -eq "0" ] ; then |
62 | MY_P="${PN}-${MAJOR}.${MINOR_1}" |
63 | else |
64 | MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}" |
65 | fi |
66 | |
67 | MY_P="${P}" |
68 | |
69 | DESCRIPTION="A nice LaTeX-IDE" |
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 | SLOT="0" |
75 | KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
76 | IUSE="" |
77 | |
78 | S="${WORKDIR}/${MY_P}" |
79 | |
80 | COMMON_DEPEND=" |
81 | app-text/hunspell |
82 | app-text/poppler:=[qt4] |
83 | sys-libs/zlib |
84 | x11-libs/libX11 |
85 | x11-libs/libXext |
86 | dev-qt/qtgui:4 |
87 | dev-qt/qtcore:4 |
88 | dev-qt/qtscript:4 |
89 | dev-qt/qtsingleapplication[X] |
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}"/${PN}-4.1-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 | |
115 | cp "${FILESDIR}"/texmakerx_my.pri . || die |
116 | |
117 | sed \ |
118 | -e '/^#include/s:hunspell/::g' \ |
119 | -e '/^#include/s:singleapp/::g' \ |
120 | -i *.cpp *.h || die |
121 | } |
122 | |
123 | src_configure() { |
124 | eqmake4 \ |
125 | ${PN}.pro \ |
126 | PREFIX="${EPREFIX}/usr" \ |
127 | DESKTOPDIR="${EPREFIX}/usr/share/applications" \ |
128 | ICONDIR="${EPREFIX}/usr/share/pixmaps" |
129 | } |
130 | |
131 | pkg_postinst() { |
132 | elog "A user manual with many screenshots is available at:" |
133 | elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html" |
134 | } |