Gentoo Archives: gentoo-commits

From: Jan Psota <jasiupsota@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/bleeding-edge:master commit in: app-office/texstudio/, app-office/texstudio/files/
Date: Sun, 05 Nov 2017 08:27:52
Message-Id: 1509870381.a79de2e3140c566154b28c04922188908dbc66a9.jasiupsota@gentoo
1 commit: a79de2e3140c566154b28c04922188908dbc66a9
2 Author: Jan Psota <jasiupsota <AT> gmail <DOT> com>
3 AuthorDate: Sun Nov 5 08:26:21 2017 +0000
4 Commit: Jan Psota <jasiupsota <AT> gmail <DOT> com>
5 CommitDate: Sun Nov 5 08:26:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/user/bleeding-edge.git/commit/?id=a79de2e3
7
8 app-office/texstudio-2.12.6 removed - in tree now
9
10 app-office/texstudio/Manifest | 1 -
11 app-office/texstudio/files/texmakerx_my.pri | 18 ------
12 app-office/texstudio/metadata.xml | 14 -----
13 app-office/texstudio/texstudio-2.12.6.ebuild | 91 ----------------------------
14 4 files changed, 124 deletions(-)
15
16 diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
17 deleted file mode 100644
18 index 82aa5c0..0000000
19 --- a/app-office/texstudio/Manifest
20 +++ /dev/null
21 @@ -1 +0,0 @@
22 -DIST texstudio-2.12.6.tar.gz 26578309 SHA256 cdae8c9f3fa84af2424cfef6d4a3abb2437cc71ecb24c1883e4ecca2f2693da3 SHA512 674667ce4137bfd30fc85e242c4ab891b3b6517cbdd2b6465fd4117ce2128e9854907cb52d42d5e4d60e8c5b38738eac95dbd140e5db67a21561ba6c617d80fb WHIRLPOOL dca20cb779139687aa91e4ad0382b9e21777b60b944a4d3efeb32d308d602215b3ec3b40596cdecd7c305ec57c579e4361dea61be8661f486be24fe917d26391
23
24 diff --git a/app-office/texstudio/files/texmakerx_my.pri b/app-office/texstudio/files/texmakerx_my.pri
25 deleted file mode 100644
26 index 06426fc..0000000
27 --- a/app-office/texstudio/files/texmakerx_my.pri
28 +++ /dev/null
29 @@ -1,18 +0,0 @@
30 -CONFIG += link_pkgconfig
31 -
32 -# System Quazip
33 -INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/quazip
34 -LIBS += -lquazip
35 -#INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/qt4/QCodeEdit
36 -#INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/qt4/QtSolutions
37 -
38 -# System hunspell
39 -PKGCONFIG += hunspell
40 -
41 -# System qtsingleapplication
42 -#QT += solutions
43 -CONFIG += qtsingleapplication
44 -
45 -# System qcodeedit
46 -# Not working currently
47 -#CONFIG += qcodeedit
48
49 diff --git a/app-office/texstudio/metadata.xml b/app-office/texstudio/metadata.xml
50 deleted file mode 100644
51 index 4cbff07..0000000
52 --- a/app-office/texstudio/metadata.xml
53 +++ /dev/null
54 @@ -1,14 +0,0 @@
55 -<?xml version="1.0" encoding="UTF-8"?>
56 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
57 -<pkgmetadata>
58 - <maintainer type="project">
59 - <email>tex@g.o</email>
60 - <name>Gentoo TeX Project</name>
61 - </maintainer>
62 - <use>
63 - <flag name="video">Use phonon for video embedding</flag>
64 - </use>
65 - <upstream>
66 - <remote-id type="sourceforge">texstudio</remote-id>
67 - </upstream>
68 -</pkgmetadata>
69
70 diff --git a/app-office/texstudio/texstudio-2.12.6.ebuild b/app-office/texstudio/texstudio-2.12.6.ebuild
71 deleted file mode 100644
72 index 7ee81ab..0000000
73 --- a/app-office/texstudio/texstudio-2.12.6.ebuild
74 +++ /dev/null
75 @@ -1,91 +0,0 @@
76 -# Copyright 1999-2017 Gentoo Foundation
77 -# Distributed under the terms of the GNU General Public License v2
78 -
79 -EAPI=6
80 -
81 -inherit fdo-mime gnome2-utils prefix qmake-utils
82 -
83 -DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
84 -HOMEPAGE="http://texstudio.sourceforge.net/"
85 -SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
86 -
87 -LICENSE="GPL-2"
88 -SLOT="0"
89 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
90 -IUSE="video"
91 -
92 -COMMON_DEPEND="
93 - app-text/hunspell:=
94 - app-text/poppler[qt5]
95 - >=dev-libs/quazip-0.7.2[qt5]
96 - dev-qt/designer:5
97 - dev-qt/qtcore:5
98 - dev-qt/qtconcurrent:5
99 - dev-qt/qtgui:5
100 - dev-qt/qtnetwork:5
101 - dev-qt/qtprintsupport:5
102 - dev-qt/qtscript:5
103 - dev-qt/qtsingleapplication[qt5,X]
104 - dev-qt/qtsvg:5
105 - dev-qt/qttest:5
106 - dev-qt/qtwidgets:5
107 - dev-qt/qtxml:5
108 - sys-libs/zlib
109 - x11-libs/libX11
110 - x11-libs/libXext
111 - video? ( media-libs/phonon[qt5] )"
112 -RDEPEND="${COMMON_DEPEND}
113 - app-text/ghostscript-gpl
114 - app-text/psutils
115 - media-libs/netpbm
116 - virtual/latex-base"
117 -DEPEND="${COMMON_DEPEND}
118 - virtual/pkgconfig"
119 -
120 -S=${WORKDIR}/${PN}${PV}
121 -
122 -src_prepare() {
123 - default
124 - find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
125 -
126 - if use video; then
127 - sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
128 - fi
129 -
130 - sed \
131 - -e '/qtsingleapplication.pri/d' \
132 - -i ${PN}.pro || die
133 -
134 - cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
135 - eprefixify ${PN}.pri
136 -
137 - # fix build with quazip-0.7.2 - bug 597930
138 - sed -i ${PN}.pro -e "s|include/quazip|&5|" || die
139 - sed -i ${PN}.pri -i ${PN}.pro -e "s/-lquazip/&5/" || die
140 -}
141 -
142 -src_configure() {
143 - eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
144 -}
145 -
146 -src_install() {
147 - local i
148 - for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
149 - newicon -s ${i} utilities/${PN}${i}.png ${PN}.png
150 - done
151 - emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
152 -}
153 -
154 -pkg_preinst() {
155 - gnome2_icon_savelist
156 -}
157 -
158 -pkg_postinst() {
159 - fdo-mime_desktop_database_update
160 - gnome2_icon_cache_update
161 -}
162 -
163 -pkg_postrm() {
164 - fdo-mime_desktop_database_update
165 - gnome2_icon_cache_update
166 -}