commit: 581b065cc6f646bf5be95ae3955612448fe34856 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Mon Oct 10 22:30:25 2016 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Mon Oct 10 22:30:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=581b065c
app-office/texstudio: Version bump to 2.11.2 Gentoo-Bug: #595996 Package-Manager: portage-2.3.1 app-office/texstudio/Manifest | 1 + app-office/texstudio/texstudio-2.11.2.ebuild | 101 +++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest index 1b1fb4e..291a661 100644 --- a/app-office/texstudio/Manifest +++ b/app-office/texstudio/Manifest @@ -1,3 +1,4 @@ DIST texstudio-2.10.2.tar.gz 25669897 SHA256 0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c WHIRLPOOL e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607 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 diff --git a/app-office/texstudio/texstudio-2.11.2.ebuild b/app-office/texstudio/texstudio-2.11.2.ebuild new file mode 100644 index 00000000..0922d24 --- /dev/null +++ b/app-office/texstudio/texstudio-2.11.2.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit fdo-mime 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 qt4 +qt5" + +REQUIRED_USE="^^ ( qt4 qt5 )" + +COMMON_DEPEND=" + app-text/hunspell + app-text/poppler:=[qt4?,qt5?] + >=dev-libs/quazip-0.7.1[qt4?,qt5?] + dev-qt/qtsingleapplication[X,qt4?,qt5?] + x11-libs/libX11 + x11-libs/libXext + qt4? ( + dev-qt/designer:4 + >=dev-qt/qtgui-4.8.5:4 + >=dev-qt/qtcore-4.6.1:4 + >=dev-qt/qtscript-4.6.1:4 + >=dev-qt/qtsvg-4.6.1:4 + >=dev-qt/qttest-4.6.1:4 + ) + 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/qtsvg:5 + dev-qt/qttest:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + ) + video? ( media-libs/phonon[qt4?,qt5?] )" +RDEPEND="${COMMON_DEPEND} + virtual/latex-base + app-text/psutils + app-text/ghostscript-gpl + media-libs/netpbm" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +S=${WORKDIR} + +src_prepare() { + 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 + +# cat >> ${PN}.pro <<- EOF +# exists(texmakerx_my.pri):include(texmakerx_my.pri) +# EOF + + cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die + eprefixify ${PN}.pri +} + +src_configure() { + if use qt5; then + eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 + else + eqmake4 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 + fi +} + +src_install() { + local i + for i in 16x16 22x22 32x32 48x48 64x64 128x128; do + insinto /usr/share/icons/hicolor/${i}/apps + newins utilities/${PN}${i}.png ${PN}.png + done + emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +}