From 4645b6f17f0da81e9fe84081fb126a37102ba153 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 8 May 2018 14:01:34 +0100 Subject: gentoo resync : 08.05.2018 --- app-office/texstudio/Manifest | 6 +- app-office/texstudio/texstudio-2.11.2-r1.ebuild | 96 ------------------------- app-office/texstudio/texstudio-2.11.2-r2.ebuild | 96 +++++++++++++++++++++++++ app-office/texstudio/texstudio-2.12.2-r1.ebuild | 91 +++++++++++++++++++++++ app-office/texstudio/texstudio-2.12.2.ebuild | 91 ----------------------- app-office/texstudio/texstudio-2.12.4-r1.ebuild | 91 +++++++++++++++++++++++ app-office/texstudio/texstudio-2.12.4.ebuild | 91 ----------------------- 7 files changed, 281 insertions(+), 281 deletions(-) delete mode 100644 app-office/texstudio/texstudio-2.11.2-r1.ebuild create mode 100644 app-office/texstudio/texstudio-2.11.2-r2.ebuild create mode 100644 app-office/texstudio/texstudio-2.12.2-r1.ebuild delete mode 100644 app-office/texstudio/texstudio-2.12.2.ebuild create mode 100644 app-office/texstudio/texstudio-2.12.4-r1.ebuild delete mode 100644 app-office/texstudio/texstudio-2.12.4.ebuild (limited to 'app-office/texstudio') diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest index e10e92ad817c..fa6847cad962 100644 --- a/app-office/texstudio/Manifest +++ b/app-office/texstudio/Manifest @@ -4,9 +4,9 @@ DIST texstudio-2.12.2.tar.gz 26311798 BLAKE2B 1eb3add771a28918f39c69bb167eee3145 DIST texstudio-2.12.4.tar.gz 26401510 BLAKE2B 53f1aca4f28154c5ae0f941e074e2da6d727dedf6b5604b301efccd95eea256a6cb91bf887985d81c65964c0e407cd1a8c2037a3bd73559aa115bec3954df744 SHA512 6e1d114ae87c854231399004504e460d078b9bf26ceb25c7fc592b79d3234f9880f8c021c3ddb2ef26a883dbddc2b94f98f368c976aa16973d3c1a6823a4150d DIST texstudio-2.12.6.tar.gz 26511069 BLAKE2B 95f2043222e15f96ed56dabb9bbbb937e3f8f1869cb667897bbdb48b99626089bf14a5e321c57ca5c9196d1cf2ce0beaad322b04d90f8a0b62189ff7c5be0d33 SHA512 16e846137b529f89f10dba3f847afe5a875ce1bc4029d002f76a1bcde491dd44756b27e38b4c5c159fcdb12b025759c8a0ebbbb8d8bd296e954b53032434170a DIST texstudio-2.12.8.tar.gz 26555418 BLAKE2B 172c36aed91d273629109412e43f947c00e7d37d392098cc012826391c88f461659764b6b8c4fcff3d84e6ba7b10a4adddcc4298267e0fa0448a61f4c9b9da15 SHA512 0076617f6421fa959c8c327bc81d4d27779358481b377d83856fe26b963d7c3c1e04d3b11e8f7eeb99cab9c089c8e7afcbb9c93a5aaccd00cf493792b802bfcb -EBUILD texstudio-2.11.2-r1.ebuild 2113 BLAKE2B 123caf206da0d34921034d24ac523c285c660b5fc009a10bb956d90612dfbd7759cc8cd945f56bd4e3e7f1af97413353abaa78717c8845ae9493f7fd18ac7357 SHA512 2541f1968678b19f968d7aa72160d353c3a15d188eb629c0e713e06cc763016225e790062b33db64786a29890c4f07970c2cd6edd060dadad1a47e1aeeeeaa8a -EBUILD texstudio-2.12.2.ebuild 2005 BLAKE2B 91e574cd0e5b203401f325696eccd0af0838257c040613f526d795196465a2a745be40748c025ecc880ebac28757a12e398b2286fd6904fb5309b7f900eb2888 SHA512 e2e89de904974450994b081f66667f7a56fd70813cde1619394c7ba94e5468a4d55a18c89318a03d36176fb04d6862b1a230dd5ecc9eb3c116cc7879a79b1d22 -EBUILD texstudio-2.12.4.ebuild 2005 BLAKE2B 91e574cd0e5b203401f325696eccd0af0838257c040613f526d795196465a2a745be40748c025ecc880ebac28757a12e398b2286fd6904fb5309b7f900eb2888 SHA512 e2e89de904974450994b081f66667f7a56fd70813cde1619394c7ba94e5468a4d55a18c89318a03d36176fb04d6862b1a230dd5ecc9eb3c116cc7879a79b1d22 +EBUILD texstudio-2.11.2-r2.ebuild 2118 BLAKE2B ef3cf0188f7be031583769e3936f91b8c40514bb7f308abeb568e2b1061f3683c62d35301969f30356f62c477ec65a429d97d69138a9b5f90c12949fb88d485b SHA512 18e063c1bd1927d0b433a3eef4739507921e44d028e3816f12736bacd68d4d64eb91db17efd55e108372ccc2dd0c0cdf760eb2b14c606a9613166caa2e1011fd +EBUILD texstudio-2.12.2-r1.ebuild 2008 BLAKE2B f1f75a8bd3aa0e7670f07ca4d8e1f277efe73571d41defd0d9aba41135724e2f416c3c8ec42ac3789d822de27ea043c926c033076aa795181f730139a0f900ea SHA512 c9c41476e79ec6a18504df3374f2c9548993e7880d4d4ce78e986704f2785fd7a4eeba939b9dca7bd7c2ef800d62c046b52a73768bd19bd204cc739180047b3a +EBUILD texstudio-2.12.4-r1.ebuild 2008 BLAKE2B f1f75a8bd3aa0e7670f07ca4d8e1f277efe73571d41defd0d9aba41135724e2f416c3c8ec42ac3789d822de27ea043c926c033076aa795181f730139a0f900ea SHA512 c9c41476e79ec6a18504df3374f2c9548993e7880d4d4ce78e986704f2785fd7a4eeba939b9dca7bd7c2ef800d62c046b52a73768bd19bd204cc739180047b3a EBUILD texstudio-2.12.6-r1.ebuild 2287 BLAKE2B 2c3382c11397fe7d66f36afd2f0add6b5c1cae1d9253212a546c4d23d9097f182a53046756d35fb5135bbb08b0525c3769f2ddedd02d8fc4beb047f64ee4bda8 SHA512 2a49c0caf28da9b255ea4ccd729544bdd610bedfafde221babd4af540e459e6e0169cef7056b4e77054cabc7743449389f258b001726aa53466b9273a2ebd31e EBUILD texstudio-2.12.8-r1.ebuild 2008 BLAKE2B 4d4207f8ac211ad6db04b7ce4d5e4334414c2d8891496047952b4e47ce90045c3b523580a31e8a915e11330d1b438f873a8da040c41721c873795faea40bd8ff SHA512 7a0b9faaa1b4ec009c2ae5e3de5b2caefed838bfc1c2c7ffe0cce4f6fbea83be625ea38bc3c732a477db3540b979d5dad5dcd047bf5972273a6adf590c869874 MISC metadata.xml 402 BLAKE2B 175128174922bf7356817c3752f7207f5c6b2827c0d52e8e0d837fbd19b4429eb6d0154b729d89ff5eff2ed777fad5f05b43c52a3bd5d57ebca3d31c09439964 SHA512 f587cb59a103c39e4685815677a9cc6de4b0db189332b520aaefb3011fe1537485f184395e19f2c18a24dd7f2101e5d5dc2f3eed38f18623cb7a69ebd52da41f diff --git a/app-office/texstudio/texstudio-2.11.2-r1.ebuild b/app-office/texstudio/texstudio-2.11.2-r1.ebuild deleted file mode 100644 index 4a09a12f83d9..000000000000 --- a/app-office/texstudio/texstudio-2.11.2-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit gnome2-utils prefix qmake-utils xdg-utils - -DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" -HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" -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() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} diff --git a/app-office/texstudio/texstudio-2.11.2-r2.ebuild b/app-office/texstudio/texstudio-2.11.2-r2.ebuild new file mode 100644 index 000000000000..2fd2e68965da --- /dev/null +++ b/app-office/texstudio/texstudio-2.11.2-r2.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils prefix qmake-utils xdg-utils + +DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" +HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" +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() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/app-office/texstudio/texstudio-2.12.2-r1.ebuild b/app-office/texstudio/texstudio-2.12.2-r1.ebuild new file mode 100644 index 000000000000..d7e445fa62a4 --- /dev/null +++ b/app-office/texstudio/texstudio-2.12.2-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils prefix qmake-utils xdg-utils + +DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" +HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" +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() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/app-office/texstudio/texstudio-2.12.2.ebuild b/app-office/texstudio/texstudio-2.12.2.ebuild deleted file mode 100644 index 2e154f9ff33c..000000000000 --- a/app-office/texstudio/texstudio-2.12.2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit gnome2-utils prefix qmake-utils xdg-utils - -DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" -HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" -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() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} diff --git a/app-office/texstudio/texstudio-2.12.4-r1.ebuild b/app-office/texstudio/texstudio-2.12.4-r1.ebuild new file mode 100644 index 000000000000..d7e445fa62a4 --- /dev/null +++ b/app-office/texstudio/texstudio-2.12.4-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils prefix qmake-utils xdg-utils + +DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" +HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" +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() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/app-office/texstudio/texstudio-2.12.4.ebuild b/app-office/texstudio/texstudio-2.12.4.ebuild deleted file mode 100644 index 2e154f9ff33c..000000000000 --- a/app-office/texstudio/texstudio-2.12.4.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit gnome2-utils prefix qmake-utils xdg-utils - -DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" -HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" -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() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} -- cgit v1.2.3