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.0.4-r1.ebuild ChangeLog
Date: Sat, 26 Oct 2013 09:47:21
Message-Id: 20131026094718.74C8520047@flycatcher.gentoo.org
1 jlec 13/10/26 09:47:18
2
3 Modified: ChangeLog
4 Added: texmaker-4.0.4-r1.ebuild
5 Log:
6 app-office/texmaker: Use system dev-qt/qtsingleapplication, #489154
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.136 app-office/texmaker/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.136&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.136&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?r1=1.135&r2=1.136
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v
20 retrieving revision 1.135
21 retrieving revision 1.136
22 diff -u -r1.135 -r1.136
23 --- ChangeLog 17 Sep 2013 16:19:06 -0000 1.135
24 +++ ChangeLog 26 Oct 2013 09:47:18 -0000 1.136
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.135 2013/09/17 16:19:06 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.136 2013/10/26 09:47:18 jlec Exp $
30 +
31 +*texmaker-4.0.4-r1 (26 Oct 2013)
32 +
33 + 26 Oct 2013; Justin Lecher <jlec@g.o> +texmaker-4.0.4-r1.ebuild,
34 + +files/texmaker-4.0.4-unbundle.patch, +files/texmakerx_my.pri:
35 + Use system dev-qt/qtsingleapplication, #489154
36
37 *texmaker-4.0.4 (17 Sep 2013)
38
39
40
41
42 1.1 app-office/texmaker/texmaker-4.0.4-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-4.0.4-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-4.0.4-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: texmaker-4.0.4-r1.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.0.4-r1.ebuild,v 1.1 2013/10/26 09:47:18 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-text/psutils
95 app-text/ghostscript-gpl
96 media-libs/netpbm"
97 DEPEND="${COMMON_DEPEND}
98 virtual/pkgconfig"
99
100 PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
101
102 DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
103 HTML_DOCS=( doc/. )
104
105 src_prepare() {
106 find singleapp hunspell -delete || die
107
108 qt4-r2_src_prepare
109
110 cat >> ${PN}.pro <<- EOF
111 exists(texmakerx_my.pri):include(texmakerx_my.pri)
112 EOF
113 cp "${FILESDIR}"/texmakerx_my.pri . || die
114
115 sed \
116 -e '/^#include/s:hunspell/::g' \
117 -e '/^#include/s:singleapp/::g' \
118 -i *.cpp *.h || die
119 }
120
121 src_configure() {
122 eqmake4 \
123 ${PN}.pro \
124 PREFIX="${EPREFIX}/usr" \
125 DESKTOPDIR="${EPREFIX}/usr/share/applications" \
126 ICONDIR="${EPREFIX}/usr/share/pixmaps"
127 }
128
129 pkg_postinst() {
130 elog "A user manual with many screenshots is available at:"
131 elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html"
132 }