From de3a4be036fc36e48c52f9ca52e92a71cd4e0835 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 15 Feb 2021 03:24:17 +0000 Subject: app-office/texstudio: fix quazip slot dep Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James --- app-office/texstudio/texstudio-3.0.4-r1.ebuild | 73 ++++++++++++++++++++++++++ app-office/texstudio/texstudio-3.0.4.ebuild | 73 -------------------------- app-office/texstudio/texstudio-3.0.5.ebuild | 2 +- app-office/texstudio/texstudio-9999.ebuild | 2 +- 4 files changed, 75 insertions(+), 75 deletions(-) create mode 100644 app-office/texstudio/texstudio-3.0.4-r1.ebuild delete mode 100644 app-office/texstudio/texstudio-3.0.4.ebuild (limited to 'app-office') diff --git a/app-office/texstudio/texstudio-3.0.4-r1.ebuild b/app-office/texstudio/texstudio-3.0.4-r1.ebuild new file mode 100644 index 000000000000..fca57b96036c --- /dev/null +++ b/app-office/texstudio/texstudio-3.0.4-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop prefix qmake-utils xdg + +MY_PV="${PV/_/}" +DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" +HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" +SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86" +IUSE="video" + +COMMON_DEPEND=" + app-text/hunspell:= + app-text/poppler[qt5] + >=dev-libs/quazip-0.7.2:0[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}" + +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + 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 +} + +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 +} diff --git a/app-office/texstudio/texstudio-3.0.4.ebuild b/app-office/texstudio/texstudio-3.0.4.ebuild deleted file mode 100644 index cf2f6704d36c..000000000000 --- a/app-office/texstudio/texstudio-3.0.4.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop prefix qmake-utils xdg - -MY_PV="${PV/_/}" -DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" -HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" -SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 x86" -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}" - -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - 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 -} - -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 -} diff --git a/app-office/texstudio/texstudio-3.0.5.ebuild b/app-office/texstudio/texstudio-3.0.5.ebuild index fb40a058bc22..b762eb4fbdd4 100644 --- a/app-office/texstudio/texstudio-3.0.5.ebuild +++ b/app-office/texstudio/texstudio-3.0.5.ebuild @@ -19,7 +19,7 @@ IUSE="video" COMMON_DEPEND=" app-text/hunspell:= app-text/poppler[qt5] - >=dev-libs/quazip-0.7.2[qt5(+)] + >=dev-libs/quazip-0.7.2:0[qt5(+)] dev-qt/designer:5 dev-qt/qtcore:5 dev-qt/qtconcurrent:5 diff --git a/app-office/texstudio/texstudio-9999.ebuild b/app-office/texstudio/texstudio-9999.ebuild index 5088db2d1687..feb15564ad18 100644 --- a/app-office/texstudio/texstudio-9999.ebuild +++ b/app-office/texstudio/texstudio-9999.ebuild @@ -18,7 +18,7 @@ IUSE="video" COMMON_DEPEND=" app-text/hunspell:= app-text/poppler[qt5] - >=dev-libs/quazip-0.7.2[qt5(+)] + >=dev-libs/quazip-0.7.2:0[qt5(+)] dev-qt/designer:5 dev-qt/qtcore:5 dev-qt/qtconcurrent:5 -- cgit v1.2.3-65-gdbad