commit: 27b66c30dd1cedb13d891b3fa9d90d7c3c026a3f Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Sat Jan 23 12:10:37 2016 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Sat Jan 23 12:10:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b66c30
app-office/texstudio: Version bump Package-Manager: portage-2.2.27 app-office/texstudio/Manifest | 1 + app-office/texstudio/texstudio-2.10.8.ebuild | 111 +++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest index 25a51b1..6928c08 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.4.tar.gz 25810583 SHA256 87e7b7c52d51791178fac4c48feeded7a920bc39bcfb710a745b467d80111c3c SHA512 13c6624bf38ee2633f9a86eb9c7ba03503b63de1f954c3f7c4a24182127b9d4db1e8524a122552412a2ceccb288a0dad3d70e9368fd897d6ec123a16e37816e5 WHIRLPOOL 357796f638d3e558a9560a62d972555474850ebd6b5a61bdaa14037b728113222ce9c9f2438b851fdaa20687e1444a8913cd222d5849de67293b0589085a6dc9 DIST texstudio-2.10.6.tar.gz 25956475 SHA256 16368d7334f809aebe7a656f9bfa97f0ececb09d437fdb35ae7fc1888f1525e1 SHA512 061bad8530503aa611a09e5e2013fb5e956f436de00e2cd773fbd5e76c7a198fc9a628e4785e45f63dae5a2d0fed3e7f88d4a1a4a1f6fd0babdc44cc51eee0ab WHIRLPOOL 42d34dcae31f941b4d43af948e91a00be34d002bc85476f12e8e38b83d518f439b012c0c53aeb22728de984a55d2ee6a9139ff96c4aa1fe993059c935727a780 +DIST texstudio-2.10.8.tar.gz 26003322 SHA256 0a569544ceb0ff92e52ed57a34e8eb12e7a16eef1209320737aef5d5b81b3404 SHA512 3faa278f785dc1de34c5a502191430989f078d5301da93f1df13d70287e01322618fd146e1ee7c4c6714233a53affdbb92e3e67f5717b978d2fbe126c59da949 WHIRLPOOL 626d56e68df767e1b02a34f2abe9316c2d237d6e368294d7389c46394f3735d633bb0019da78da3194699cf3fbc3d257c489bbc63829b04199c681c11a688e8f diff --git a/app-office/texstudio/texstudio-2.10.8.ebuild b/app-office/texstudio/texstudio-2.10.8.ebuild new file mode 100644 index 0000000..668b92a --- /dev/null +++ b/app-office/texstudio/texstudio-2.10.8.ebuild @@ -0,0 +1,111 @@ +# 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}"/${P/-/} + +PATCHES=( + "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch + "${FILESDIR}"/${PN}-2.10.6-desktop.patch + ) + +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 '/hunspell.pri/d' \ + -e '/quazip.pri/d' \ + -e '/qtsingleapplication.pri/d' \ + -e '/QUAZIP_STATIC/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 + + epatch ${PATCHES[@]} +} + +src_configure() { + if use qt5; then + eqmake5 + else + eqmake4 + fi +} + +src_install() { + local i + for i in 16x16 22x22 32x32 48x48 64x64 128x128; do + insinto /usr/share/icons/hicolor/${i} + 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 +}