Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/
Date: Fri, 25 Sep 2015 18:27:09
Message-Id: 1443205623.ee1e9dc8a6b7c33826649f4611782d4ac2f563fc.jlec@gentoo
1 commit: ee1e9dc8a6b7c33826649f4611782d4ac2f563fc
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 25 17:23:59 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 18:27:03 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee1e9dc8
7
8 app-office/texstudio: Drop old
9
10 Package-Manager: portage-2.2.21
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 app-office/texstudio/Manifest | 1 -
14 app-office/texstudio/texstudio-2.8.8.ebuild | 88 -----------------------------
15 2 files changed, 89 deletions(-)
16
17 diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
18 index 77897a1..4a92895 100644
19 --- a/app-office/texstudio/Manifest
20 +++ b/app-office/texstudio/Manifest
21 @@ -1,3 +1,2 @@
22 DIST texstudio-2.10.2.tar.gz 25669897 SHA256 0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c WHIRLPOOL e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
23 -DIST texstudio-2.8.8.tar.gz 25198033 SHA256 5d00c42425c0d1464438c0c1701508fef281f5dbdd0fbcebdbba9de60ac6db95 SHA512 b4f50368ac4a145ad6cb6c764d2d84ac0c3b0b08903b53390e34fb3a8d2e2c12b72cdf77cf97ea22df94a29438be6db3004f8663e04c5254ae40bf28bc2be152 WHIRLPOOL 08d4af41163ebfa85539001fe540a5f48b86e341d93983a42da03015d00460b30280f5fa08c50c90c97d7e1ed38d324efea666c6640b6bba421cffd832031e27
24 DIST texstudio-2.9.4.tar.gz 25292627 SHA256 dc71590e3745ac193a640667737befd665d549e642e268eec7a8238d3b61b5ea SHA512 6fd35a6490451f9cc3292245857e66d6b0d18d2fb06e0482a8e9bbb8695923c8d3da32a6aa6b8ec591c74ccd81f797ddb958e85db26c90d0096cc678a5f14a49 WHIRLPOOL 9ca5ad727d0096bd986b39b34691167bfafe6ae44c4193fdd1f6f02bdd8c4b8b0cd4ac31af3c1c2833c1ba13f0acf814d3ba14fb0709dc3bbd5ee50729968cdf
25
26 diff --git a/app-office/texstudio/texstudio-2.8.8.ebuild b/app-office/texstudio/texstudio-2.8.8.ebuild
27 deleted file mode 100644
28 index 0a3817b..0000000
29 --- a/app-office/texstudio/texstudio-2.8.8.ebuild
30 +++ /dev/null
31 @@ -1,88 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=5
37 -
38 -inherit base fdo-mime prefix qt4-r2
39 -
40 -DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
41 -HOMEPAGE="http://texstudio.sourceforge.net/"
42 -SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
43 -
44 -LICENSE="GPL-2"
45 -SLOT="0"
46 -KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
47 -IUSE="video"
48 -
49 -COMMON_DEPEND="
50 - app-text/hunspell
51 - app-text/poppler:=[qt4]
52 - dev-libs/quazip
53 - x11-libs/libX11
54 - x11-libs/libXext
55 - dev-qt/designer:4
56 - >=dev-qt/qtgui-4.8.5:4
57 - >=dev-qt/qtcore-4.6.1:4
58 - >=dev-qt/qtscript-4.6.1:4
59 - dev-qt/qtsingleapplication[qt4(+)]
60 - >=dev-qt/qtsvg-4.6.1:4
61 - >=dev-qt/qttest-4.6.1:4
62 - video? ( media-libs/phonon[qt4] )"
63 -RDEPEND="${COMMON_DEPEND}
64 - virtual/latex-base
65 - app-text/psutils
66 - app-text/ghostscript-gpl
67 - media-libs/netpbm"
68 -DEPEND="${COMMON_DEPEND}
69 - virtual/pkgconfig"
70 -
71 -S="${WORKDIR}"/${P/-/}
72 -
73 -PATCHES=(
74 - "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
75 - "${FILESDIR}"/${PN}-2.8.2-desktop.patch
76 -# Get it from fedora
77 - "${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
78 - )
79 -
80 -src_prepare() {
81 - find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
82 -
83 - if use video; then
84 - sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
85 - fi
86 -
87 - sed \
88 - -e '/hunspell.pri/d' \
89 - -e '/quazip.pri/d' \
90 - -e '/qtsingleapplication.pri/d' \
91 - -e '/QUAZIP_STATIC/d' \
92 - -i ${PN}.pro || die
93 -
94 -# cat >> ${PN}.pro <<- EOF
95 -# exists(texmakerx_my.pri):include(texmakerx_my.pri)
96 -# EOF
97 -
98 - cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
99 - eprefixify ${PN}.pri
100 -
101 - qt4-r2_src_prepare
102 -}
103 -
104 -src_install() {
105 - local i
106 - for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
107 - insinto /usr/share/icons/hicolor/${i}
108 - newins utilities/${PN}${i}.png ${PN}.png
109 - done
110 - qt4-r2_src_install
111 -}
112 -
113 -pkg_postinst() {
114 - fdo-mime_desktop_database_update
115 -}
116 -
117 -pkg_postrm() {
118 - fdo-mime_desktop_database_update
119 -}