summaryrefslogtreecommitdiff
path: root/app-office/texstudio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-office/texstudio
reinit the tree, so we can have metadata
Diffstat (limited to 'app-office/texstudio')
-rw-r--r--app-office/texstudio/Manifest10
-rw-r--r--app-office/texstudio/files/texmakerx_my.pri18
-rw-r--r--app-office/texstudio/metadata.xml14
-rw-r--r--app-office/texstudio/texstudio-2.11.2-r1.ebuild96
-rw-r--r--app-office/texstudio/texstudio-2.12.2.ebuild91
-rw-r--r--app-office/texstudio/texstudio-2.12.4.ebuild91
6 files changed, 320 insertions, 0 deletions
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
new file mode 100644
index 000000000000..e767612c9e6f
--- /dev/null
+++ b/app-office/texstudio/Manifest
@@ -0,0 +1,10 @@
+AUX texmakerx_my.pri 439 SHA256 0f9effad18974dc046622ed3d62befe18b91bf6c9e82195b4215a8627984af42 SHA512 859bd280c5d5c319fe0c4c5af04a2ec8118babeef3b22d14a03384ab25e8d0721145b453179e1f16b989068bfe79d5831efcab545069a9cb5018382e2e8c6d8b WHIRLPOOL 1ed2d5e518201bf789d4523adece509028e3e24fcce14b1647718e8b8f4eadb45b02b17310b0b7937e1d95cbb1cebc429fc9fd2e82b6f8c48687cd7d1af66e0d
+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
+EBUILD texstudio-2.11.2-r1.ebuild 2084 SHA256 d61a170d0693dc5197b4c805398c0dbb9e385377b1a699e087f24c76efb3f131 SHA512 6b33a086416a4f027562443a52e3a88eeef683c6347c389acb793b183767a5b89690a5a069e8936ecdce676d336d6ef39cc626bd1e76986d441aad6d39873f65 WHIRLPOOL 3a9cb95557d65dfff12542bdd06f594ba4ac27dbbcb6e9630ab1bbfe82fb06e13fd26978645f39b6c37bab7c8b004029a80b4444023834aef882f14db87c7722
+EBUILD texstudio-2.12.2.ebuild 1976 SHA256 2af2b7e9d48caed007919b2c1fa8282f4be3eee5da206dbe5e36c1d1dd795fd3 SHA512 bf4b526c1817384ae6311616b70e6bfaa8b6bc3d19c487f5559e8b31df63903d65ed9c6a1bb4f6f0d0fdd5ef6a0c5c56f8eabdfe9d49ae3014e5cae42f3f4fa2 WHIRLPOOL 619a95578ac8c6ef76101de8f60767e1691217c42a34fe31f40c69fe4d3a3ec55bfee8c16a7e8ea74ed2e3c6529efd7ac43144de97216a02ed2c91311fc8ca47
+EBUILD texstudio-2.12.4.ebuild 1976 SHA256 2af2b7e9d48caed007919b2c1fa8282f4be3eee5da206dbe5e36c1d1dd795fd3 SHA512 bf4b526c1817384ae6311616b70e6bfaa8b6bc3d19c487f5559e8b31df63903d65ed9c6a1bb4f6f0d0fdd5ef6a0c5c56f8eabdfe9d49ae3014e5cae42f3f4fa2 WHIRLPOOL 619a95578ac8c6ef76101de8f60767e1691217c42a34fe31f40c69fe4d3a3ec55bfee8c16a7e8ea74ed2e3c6529efd7ac43144de97216a02ed2c91311fc8ca47
+MISC ChangeLog 7982 SHA256 8976ca7dbb734b0b06906285cd7a83f8a4c13c706e3d6496f6e11a7d7d3fa452 SHA512 da57a23cfe80ff4d2e43d739a1518f33fbfd953fe9868c24ec959f46399329e7fa9ecb45ac97b6ca8f21900210ca38d3149b28f5f76da1e6c54eaf9654b97d23 WHIRLPOOL 4d7b84b79bff074d96749653a7dc7afac6404ac8156507b75f18f7f6f492426d3f3ecf830935a8a13b9a082baf20b7e2a0780f75406010b8434d4f472196dbf5
+MISC ChangeLog-2015 8357 SHA256 f1506968d304d73c49716a351e6444bb7533acd23750c1812cab75b31986d715 SHA512 b496edc4a4c53a47037649d61dcbfc85be987d272977236809c8d13ac72b8867694a26743c271143434c340761a25addc979e0b03286592b1815bcb340d21858 WHIRLPOOL 330abbb34effaab7e7a7e03aa6d250a602f53aa520234453f70ef4fb83ad503666fd2cba9eebe5de32dd9dc241196fd8d9c2371018a86fa1bae107b14f6cde03
+MISC metadata.xml 402 SHA256 b87089343e7132d63c42d60e6326e7bc687ad5813b38ba084ba296c2307834d3 SHA512 f587cb59a103c39e4685815677a9cc6de4b0db189332b520aaefb3011fe1537485f184395e19f2c18a24dd7f2101e5d5dc2f3eed38f18623cb7a69ebd52da41f WHIRLPOOL 5eb4c1752c1f2ee45185ce5b7941166a95b33fc8ba153b84e6e1fd078476b725295ed26099d66d0c10d6744b18cd99a919cf737f9ba3e54e433bfd4cdd227ee7
diff --git a/app-office/texstudio/files/texmakerx_my.pri b/app-office/texstudio/files/texmakerx_my.pri
new file mode 100644
index 000000000000..06426fc6a9ce
--- /dev/null
+++ b/app-office/texstudio/files/texmakerx_my.pri
@@ -0,0 +1,18 @@
+CONFIG += link_pkgconfig
+
+# System Quazip
+INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/quazip
+LIBS += -lquazip
+#INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/qt4/QCodeEdit
+#INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/qt4/QtSolutions
+
+# System hunspell
+PKGCONFIG += hunspell
+
+# System qtsingleapplication
+#QT += solutions
+CONFIG += qtsingleapplication
+
+# System qcodeedit
+# Not working currently
+#CONFIG += qcodeedit
diff --git a/app-office/texstudio/metadata.xml b/app-office/texstudio/metadata.xml
new file mode 100644
index 000000000000..4cbff0737516
--- /dev/null
+++ b/app-office/texstudio/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+ <use>
+ <flag name="video">Use phonon for video embedding</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">texstudio</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-office/texstudio/texstudio-2.11.2-r1.ebuild b/app-office/texstudio/texstudio-2.11.2-r1.ebuild
new file mode 100644
index 000000000000..717dc846c4bb
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.11.2-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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}
+
+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
+
+# cat >> ${PN}.pro <<- EOF
+# exists(texmakerx_my.pri):include(texmakerx_my.pri)
+# EOF
+
+ 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
+ insinto /usr/share/icons/hicolor/${i}/apps
+ newins 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
+}
diff --git a/app-office/texstudio/texstudio-2.12.2.ebuild b/app-office/texstudio/texstudio-2.12.2.ebuild
new file mode 100644
index 000000000000..0c8d76e1c1ce
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.12.2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/app-office/texstudio/texstudio-2.12.4.ebuild b/app-office/texstudio/texstudio-2.12.4.ebuild
new file mode 100644
index 000000000000..0c8d76e1c1ce
--- /dev/null
+++ b/app-office/texstudio/texstudio-2.12.4.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}