summaryrefslogtreecommitdiff
path: root/app-office
diff options
context:
space:
mode:
Diffstat (limited to 'app-office')
-rw-r--r--app-office/Manifest.gzbin8077 -> 8078 bytes
-rw-r--r--app-office/texstudio/Manifest3
-rw-r--r--app-office/texstudio/files/texstudio-4.7.0-quazip.patch18
-rw-r--r--app-office/texstudio/texstudio-4.7.0.ebuild80
4 files changed, 101 insertions, 0 deletions
diff --git a/app-office/Manifest.gz b/app-office/Manifest.gz
index fc825776f22d..75ea4e5871d7 100644
--- a/app-office/Manifest.gz
+++ b/app-office/Manifest.gz
Binary files differ
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index 961cf5c0f0dd..f83ab0d44686 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,4 +1,7 @@
AUX texstudio-3.0.5-quazip1.patch 554 BLAKE2B 239f468f72655b579b70503856a87230b74da2b5885d1f4d6cc382c41a3067af82bde91a4ec73621a7156b7efa8f65e61e0e567a450438e70db50d2240b5c7b2 SHA512 72dd985ef4b425e4feda3788efacabc33f4bd2b1331a7df7b22c4b05736f27d3851be83dad3569d37a58a69170f13c2eead22333b6da4792975e86e25e304e02
+AUX texstudio-4.7.0-quazip.patch 708 BLAKE2B 0d989cd71dbca6a65d87488bc7dc0bfe293528fe97791d0b6c24a7edb435d55d8756dd0908173b6e48aeceaa25805596f79176b0898d99967e1cc6cbe14ea33d SHA512 e4bfebecb1f52b96166efa48940c574cf18e800c8f850a0e1d7b92b864b6140c4cefd8b398005f81ba524795ce631c9e877d60c71a3cefdbfaedd63624804d26
DIST texstudio-4.3.1.tar.gz 90529450 BLAKE2B 500f42f8a540aff97d8bb8d65262d6e0a758ccfb431fa00d9aa6e848d76da9eb1320dc3bc5a472e15d4492174e2817181271243c581830958c5e370751ed0b36 SHA512 6fc8717ed22e21947260d0af5c5b857f9b79476f28f400f9036134d9de2d9e11a605a871b6c8d520b366cb43f3fb61bb89c411e5c11aee1e87642e77fe1b0560
+DIST texstudio-4.7.0.tar.gz 111575088 BLAKE2B 0d057258c3f695a6b10c8c12d814a8b7be01be69dabb499888108b59182d9ebe36b874017bb1b7921caa56387ea3e961ef067e72c140daa555a5cfb2f7360de7 SHA512 ebdee95e02323ee4df757248ca6861938f1c73536ea0d8a5212d741adfb5859087b691ccb59b153036f9beb562292014332f0e76679df84d91897895ec9f6339
EBUILD texstudio-4.3.1-r1.ebuild 1831 BLAKE2B c7a9912f74982e5dc62f86513c423e07e2df6d49149e4c240345842cf43f5b3f29ccc6e712cb1d2aef6499c61482e392f52b71e59dc97d919997033746182da7 SHA512 acb0d2d3663df8d090e89bfb6148acf2246ad851d951cb26d873cacc56b5241ec09e665fe663945cd7796a698d10648d8613a58185caa2ee6f00dcc1c0a8b450
+EBUILD texstudio-4.7.0.ebuild 1825 BLAKE2B 80db1bb3ffe37e9675b6cbc5ecf19112732e39157f7b0b346961a1914c94a028dd425840a97822821f4c363653c44aa96890884dc30656bd41296fdb6afd2434 SHA512 825fbb0bd7741a386dcc80842609b9986d0e9f3a2d4fad7baff58c966964e76f698c2ad087290d599346155694e955f03c808db1332c5eda2fa906d57b3b238e
MISC metadata.xml 523 BLAKE2B a16bc006c6ab5dd0536e77a5bbe1681cc84c3aa5be50bdb567eccecab426688c751c0bec2c34bf221ec54f5ba772236a81a227067e426bb545755a129ebb6e41 SHA512 91f8748cb661e3e2ef7c027d02aecccbe23cce00c0da8486227d237ee6429e84ac9a8c2b32d4c518a4583d0643871b0c50c838d3c40004c0df7ae9c8ecefceed
diff --git a/app-office/texstudio/files/texstudio-4.7.0-quazip.patch b/app-office/texstudio/files/texstudio-4.7.0-quazip.patch
new file mode 100644
index 000000000000..f8b65d665fbc
--- /dev/null
+++ b/app-office/texstudio/files/texstudio-4.7.0-quazip.patch
@@ -0,0 +1,18 @@
+diff -U3 -r texstudio-4.7.0.orig/texstudio.pro texstudio-4.7.0/texstudio.pro
+--- texstudio-4.7.0.orig/texstudio.pro 2023-11-28 03:20:38.000000000 +0700
++++ texstudio-4.7.0/texstudio.pro 2023-12-03 20:59:39.074498926 +0700
+@@ -371,11 +371,9 @@
+ PKGCONFIG += quazip1-qt6
+ }
+ !versionGreaterOrEqual($$QT_VERSION, "6.0.0") {
+- message(System quazip5)
+- isEmpty(QUAZIP_LIB): QUAZIP_LIB = -lquazip5
+- isEmpty(QUAZIP_INCLUDE): QUAZIP_INCLUDE = $${PREFIX}/include/quazip5
+- INCLUDEPATH += $${QUAZIP_INCLUDE}
+- LIBS += $${QUAZIP_LIB}
++ message(System QuaZip)
++ CONFIG += link_pkgconfig
++ PKGCONFIG += quazip1-qt5
+ }
+ }
+
diff --git a/app-office/texstudio/texstudio-4.7.0.ebuild b/app-office/texstudio/texstudio-4.7.0.ebuild
new file mode 100644
index 000000000000..741b8dfe5f58
--- /dev/null
+++ b/app-office/texstudio/texstudio-4.7.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop 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 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="video"
+
+DEPEND="
+ app-text/hunspell:=
+ app-text/poppler:=[qt5]
+ >=dev-libs/quazip-1.0:0=[qt5(+)]
+ dev-qt/designer:5
+ dev-qt/qtcore:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport: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-4.11.0 )
+"
+RDEPEND="
+ ${DEPEND}
+ app-text/ghostscript-gpl
+ app-text/psutils
+ media-libs/netpbm
+ virtual/latex-base
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${P}-quazip.patch" # TODO: upstream
+)
+
+src_prepare() {
+ # TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
+ rm -r src/quazip || die
+
+ if use video; then
+ sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
+ fi
+
+ sed -e "/qtsingleapplication.pri/s/.*/CONFIG += qtsingleapplication/" \
+ -i ${PN}.pro || die
+ default
+}
+
+src_configure() {
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 NO_TESTS=false
+}
+
+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
+
+ # We don't install licences per package
+ rm "${ED}"/usr/share/texstudio/COPYING || die
+}