diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-01-23 00:12:31 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-01-23 00:13:02 +0100 |
commit | 944806cc7884623945008c05fe37be8fff110b9d (patch) | |
tree | c8f497bb2735c20c63786205a5be06ffd4e463ce /app-office/texstudio | |
parent | profiles: deprecate unused mips profiles (diff) | |
download | gentoo-944806cc7884623945008c05fe37be8fff110b9d.tar.gz gentoo-944806cc7884623945008c05fe37be8fff110b9d.tar.bz2 gentoo-944806cc7884623945008c05fe37be8fff110b9d.zip |
app-office/texstudio: Version bump to 2.12.0
Gentoo-Bug: #605316
Thanks to James R. and Jonas Stein
Package-Manager: portage-2.3.3
Diffstat (limited to 'app-office/texstudio')
-rw-r--r-- | app-office/texstudio/Manifest | 1 | ||||
-rw-r--r-- | app-office/texstudio/texstudio-2.12.0.ebuild | 92 |
2 files changed, 93 insertions, 0 deletions
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest index ecf563f158cc..e1533a656093 100644 --- a/app-office/texstudio/Manifest +++ b/app-office/texstudio/Manifest @@ -1,3 +1,4 @@ DIST texstudio-2.10.8.tar.gz 26003322 SHA256 0a569544ceb0ff92e52ed57a34e8eb12e7a16eef1209320737aef5d5b81b3404 SHA512 3faa278f785dc1de34c5a502191430989f078d5301da93f1df13d70287e01322618fd146e1ee7c4c6714233a53affdbb92e3e67f5717b978d2fbe126c59da949 WHIRLPOOL 626d56e68df767e1b02a34f2abe9316c2d237d6e368294d7389c46394f3735d633bb0019da78da3194699cf3fbc3d257c489bbc63829b04199c681c11a688e8f DIST texstudio-2.11.0.tar.gz 26263749 SHA256 170e6d68952251e8c64589b0d147cb7692005e135cc6fc14579c6fd593f54307 SHA512 773010bfa25de17e4deb0ae32325c26b5ff737bea837fba34fde28ec00d8e9a4d2c816d1f431c3c4e5a506354d1ff541e6b74bd36323e0fd3f20f4d389aab3be WHIRLPOOL 3f7b6feeeccef41f78da14a5f483a2f435ccc575b9ace3c4a3ab774426cd6ff5811ad662a5e210b7ae5223435b509392c634cb30e547535fe475b83e0ee84142 DIST texstudio-2.11.2.tar.gz 24143941 SHA256 d88ecfef92e38710563294079645fbfa19829ceebd9a109a68f6959c51ae94ad SHA512 774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7 WHIRLPOOL 8b54419db50640abb0fc03ce3b1206c01bc1d245d0a5b605ccc44cfd6e2821651a18a00bfef7622f6c47bf79da23315704b50febe645373feb161f6f68d809a9 +DIST texstudio-2.12.0.tar.gz 26334251 SHA256 165e00de19a964ffffd377bc46dfce23e33e30a9f071acfeb5ee9b55ba1c1221 SHA512 6ce7d2fe2bda46463577eefa1881f5a98db20d7b03f63fe8bd3b87f3727b60d25ef08b7ae074ccd070c373950b698e0683de34cf5eb091250c2a1c8d8472b3ee WHIRLPOOL 1e5b3ae047e5281bbfafa6040e35eae35e91d37b5ebe2c56f3ab7949bf2fafd45c9b3d9d845496e881cb6058694507b2232b39596246c48de6f499004dd2c7f6 diff --git a/app-office/texstudio/texstudio-2.12.0.ebuild b/app-office/texstudio/texstudio-2.12.0.ebuild new file mode 100644 index 000000000000..0785f77e7005 --- /dev/null +++ b/app-office/texstudio/texstudio-2.12.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit fdo-mime gnome2-utils prefix qmake-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" + +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() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |