summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Stein <jstein@gentoo.org>2017-11-05 01:49:06 +0100
committerJonas Stein <jstein@gentoo.org>2017-11-05 01:49:19 +0100
commitc130543eaed563c7366f14b8677c9059de74700e (patch)
treea14d375bbbc51eee5973a0a53a07aa9bd4078e8e
parentsys-fs/zfs and friends: version bump to 0.7.3 (diff)
downloadgentoo-c130543eaed563c7366f14b8677c9059de74700e.tar.gz
gentoo-c130543eaed563c7366f14b8677c9059de74700e.tar.bz2
gentoo-c130543eaed563c7366f14b8677c9059de74700e.zip
app-office/texstudio: Bump to 2.12.6 and xdg-utils
Version bump to 2.12.6, we use now a fixed copy of the tar ball. Had to migrate from 'fdo-mime' to 'xdg-utils' to make repoman happy. Bug: https://bugs.gentoo.org/627062 Closes: https://bugs.gentoo.org/626130 Package-Manager: Portage-2.3.13, Repoman-2.3.4
-rw-r--r--app-office/texstudio/Manifest1
-rw-r--r--app-office/texstudio/texstudio-2.12.6.ebuild96
2 files changed, 97 insertions, 0 deletions
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 14bfc76b772..d837fcf1f78 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,3 +1,4 @@
DIST texstudio-2.11.2.tar.gz 24143941 SHA256 d88ecfef92e38710563294079645fbfa19829ceebd9a109a68f6959c51ae94ad SHA512 774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7 WHIRLPOOL 8b54419db50640abb0fc03ce3b1206c01bc1d245d0a5b605ccc44cfd6e2821651a18a00bfef7622f6c47bf79da23315704b50febe645373feb161f6f68d809a9
DIST texstudio-2.12.2.tar.gz 26311798 SHA256 3ffdaf0a3cb8bb9801e68ecba7641778b94121b4320de8751b79f2d8718cdcb1 SHA512 255b211fe715ffc91706ab20877ffaa4b8e0710d3e6f381e7a6b8eed19bb889d89d0913756839c1f0c427029c0da9713b78bd1e21769ccc46cf976b65c91c6f6 WHIRLPOOL 84b309579c31dfc77b9e0f86cb1c80381e65f295d27222fd54a471e3d3f12acdaaad21587fa788143db27f651617b566937c35a0de9de470e65192522e98b7d3
DIST texstudio-2.12.4.tar.gz 26401510 SHA256 dc4752bd8a1c5249d87ccda780822aba65c59c607419b4cc0c0a788f953b210d SHA512 6e1d114ae87c854231399004504e460d078b9bf26ceb25c7fc592b79d3234f9880f8c021c3ddb2ef26a883dbddc2b94f98f368c976aa16973d3c1a6823a4150d WHIRLPOOL f547cfe1333eeba3692849c71b1f326eadf0bc9505a4626e9a0328814bc41339d77d812b97198d872e609f57f47d9f89c62023ef7cfd3ab99d2f2a00e7d3fc5c
+DIST texstudio-2.12.6.tar.gz 26511069 SHA256 b2751749098b57bb26f58edadfb3617e095f183997b3a5be798d4ad698341379 SHA512 16e846137b529f89f10dba3f847afe5a875ce1bc4029d002f76a1bcde491dd44756b27e38b4c5c159fcdb12b025759c8a0ebbbb8d8bd296e954b53032434170a WHIRLPOOL faef64cf1c5f98162b3f1fade06b5beb3b8c511c7edc64f28c70f79d51414941ddc0993538a1c91c9bce4798a64dd6187709dd260e7313c63b996f3f5fe1f5ae
diff --git a/app-office/texstudio/texstudio-2.12.6.ebuild b/app-office/texstudio/texstudio-2.12.6.ebuild
new file mode 100644
index 00000000000..819dcb6df62
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.12.6.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils prefix qmake-utils xdg-utils
+
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
+HOMEPAGE="http://texstudio.sourceforge.net/"
+#SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
+# ^^ temporary disabled
+# * upstream could not solve gentoo bug #627062 for 2 months.
+# Our tar ball does not include the questioned file.
+# * a released tar ball was silently for the second time. We can not rely on the
+SRC_URI="https://dev.gentoo.org/~jstein/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="video"
+
+COMMON_DEPEND="
+ app-text/hunspell:=
+ app-text/poppler[qt5]
+ >=dev-libs/quazip-0.7.2[qt5]
+ dev-qt/designer:5
+ dev-qt/qtcore:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtscript:5
+ dev-qt/qtsingleapplication[qt5,X]
+ dev-qt/qtsvg:5
+ dev-qt/qttest:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ sys-libs/zlib
+ x11-libs/libX11
+ x11-libs/libXext
+ video? ( media-libs/phonon[qt5(+)] )"
+RDEPEND="${COMMON_DEPEND}
+ app-text/ghostscript-gpl
+ app-text/psutils
+ media-libs/netpbm
+ virtual/latex-base"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}${PV}
+
+src_prepare() {
+ default
+ find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
+
+ if use video; then
+ sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+ fi
+
+ sed \
+ -e '/qtsingleapplication.pri/d' \
+ -i ${PN}.pro || die
+
+ cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
+ eprefixify ${PN}.pri
+
+ # fix build with quazip-0.7.2 - bug 597930
+ sed -i ${PN}.pro -e "s|include/quazip|&5|" || die
+ sed -i ${PN}.pri -i ${PN}.pro -e "s/-lquazip/&5/" || die
+}
+
+src_configure() {
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+}
+
+src_install() {
+ local i
+ for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
+ newicon -s ${i} utilities/${PN}${i}.png ${PN}.png
+ done
+ emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}