diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-01-17 16:46:16 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-01-17 16:46:16 +0100 |
commit | a95ec810e9abe928e0e07b84ce8837b473489c77 (patch) | |
tree | 01189d56a4f950519f96b18d42238f08fc9ce7d0 /app-office/texstudio | |
parent | 9abbb9fe5c843d7f88ca95aea47147c29246d5b9 (diff) | |
download | gentoo-a95ec810e9abe928e0e07b84ce8837b473489c77.tar.gz gentoo-a95ec810e9abe928e0e07b84ce8837b473489c77.tar.xz |
app-office/texstudio: Version bump
Gentoo-Bug: 571950
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-office/texstudio')
-rw-r--r-- | app-office/texstudio/Manifest | 1 | ||||
-rw-r--r-- | app-office/texstudio/files/texstudio-2.10.6-desktop.patch | 18 | ||||
-rw-r--r-- | app-office/texstudio/texstudio-2.10.6.ebuild | 111 |
3 files changed, 130 insertions, 0 deletions
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest index 4486699daa6..25a51b1912e 100644 --- a/app-office/texstudio/Manifest +++ b/app-office/texstudio/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/app-office/texstudio/files/texstudio-2.10.6-desktop.patch b/app-office/texstudio/files/texstudio-2.10.6-desktop.patch new file mode 100644 index 00000000000..ab2822f6b2d --- /dev/null +++ b/app-office/texstudio/files/texstudio-2.10.6-desktop.patch @@ -0,0 +1,18 @@ +--- utilities/texstudio.desktop.old 2016-01-17 16:38:44.283878626 +0100 ++++ utilities/texstudio.desktop 2016-01-17 16:39:08.374876711 +0100 +@@ -1,6 +1,5 @@ + [Desktop Entry] + Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc; +-Encoding=UTF-8 + Exec=texstudio %F + GenericName=LaTeX Editor + GenericName[fr]=Editeur LaTeX +@@ -8,7 +7,7 @@ + Comment[fr]=Environnement de développement LaTeX + Icon=texstudio + Keywords=LaTeX;TeX;editor; +-MimeType=text/x-tex; ++MimeType=text/X-tex; + Name=TeXstudio + StartupNotify=false + Terminal=false diff --git a/app-office/texstudio/texstudio-2.10.6.ebuild b/app-office/texstudio/texstudio-2.10.6.ebuild new file mode 100644 index 00000000000..668b92ade92 --- /dev/null +++ b/app-office/texstudio/texstudio-2.10.6.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 +} |