diff --git a/app-office/texstudio/additional-files/texliveinstall.sh b/app-office/texstudio/additional-files/texliveinstall.sh new file mode 100755 index 000000000..b75b63a12 --- /dev/null +++ b/app-office/texstudio/additional-files/texliveinstall.sh @@ -0,0 +1,35 @@ +#/bin/sh + +pkgman install texlive -y +pkgman install texlive_basic -y +pkgman install texlive_latex -y +pkgman install texlive_bibtexextra -y +pkgman install texlive_binextra -y +pkgman install texlive_fontsextra -y +pkgman install texlive_fontsrecommended -y +pkgman install texlive_formatsextra -y +pkgman install texlive_games -y +pkgman install texlive_humanities -y +pkgman install texlive_latexrecommended -y +pkgman install texlive_latexextra -y +pkgman install texlive_pictures -y +pkgman install texlive_mathscience -y +pkgman install texlive_music -y + # TeXlive language packages +pkgman install texlive_langarabic -y +pkgman install texlive_langcjk -y +pkgman install texlive_langchinese -y +pkgman install texlive_langcyrillic -y +pkgman install texlive_langczechslovak -y +pkgman install texlive_langenglish -y +pkgman install texlive_langeuropean -y +pkgman install texlive_langfrench -y +pkgman install texlive_langgerman -y +pkgman install texlive_langgreek -y +pkgman install texlive_langitalian -y +pkgman install texlive_langjapanese -y +pkgman install texlive_langkorean -y +pkgman install texlive_langother -y +pkgman install texlive_langpolish -y +pkgman install texlive_langportuguese -y +pkgman install texlive_langspanish -y diff --git a/app-office/texstudio/texstudio-4.8.1.recipe b/app-office/texstudio/texstudio-4.8.4.recipe similarity index 70% rename from app-office/texstudio/texstudio-4.8.1.recipe rename to app-office/texstudio/texstudio-4.8.4.recipe index 6a8c3f4d4..da403babf 100644 --- a/app-office/texstudio/texstudio-4.8.1.recipe +++ b/app-office/texstudio/texstudio-4.8.4.recipe @@ -8,29 +8,32 @@ COPYRIGHT="2009-2024 Benito van der Zander, Jan Sundermeyer, Daniel Braun, Tim H LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="https://github.com/texstudio-org/texstudio/archive/$portVersion.tar.gz" -CHECKSUM_SHA256="351a8111506bfb9cd79a6284f7b92d7c5a1da5ac22c25f6788040ce3b9b1080a" +CHECKSUM_SHA256="aec719cb21b788a41576375eeeba734600a54ff64130dd93f5d0da1efa37414c" SOURCE_FILENAME="texstudio-$portVersion.tar.gz" -ADDITIONAL_FILES="texstudio.rdef.in" +ADDITIONAL_FILES="texliveinstall.sh + texstudio.rdef.in" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" texstudio$secondaryArchSuffix = $portVersion + cmd:texliveinstall.sh app:TeXstudio = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libGL$secondaryArchSuffix lib:libhunspell_1.7$secondaryArchSuffix + lib:libopenal$secondaryArchSuffix lib:libpoppler_cpp$secondaryArchSuffix lib:libpoppler_qt6$secondaryArchSuffix lib:libQt6Concurrent$secondaryArchSuffix lib:libQt6Core$secondaryArchSuffix lib:libQt6Core5Compat$secondaryArchSuffix - lib:libQt6DBus$secondaryArchSuffix lib:libQt6Gui$secondaryArchSuffix lib:libQt6UiTools$secondaryArchSuffix + lib:libQt6Multimedia$secondaryArchSuffix lib:libQt6Network$secondaryArchSuffix lib:libQt6OpenGL$secondaryArchSuffix lib:libQt6OpenGLWidgets$secondaryArchSuffix @@ -40,59 +43,23 @@ REQUIRES=" lib:libQt6Widgets$secondaryArchSuffix lib:libQt6Xml$secondaryArchSuffix lib:libquazip1_qt6$secondaryArchSuffix - lib:libX11$secondaryArchSuffix - lib:libXext$secondaryArchSuffix lib:libz$secondaryArchSuffix - # TeXlive packages, don't force this on the user while installing TeXstudio - # maybe create a small script to install the seperate packages? -# texlive_core$secondaryArchSuffix -# texlive -# texlive_basic -# texlive_latex -# texlive_bibtexextra -# texlive_binextra -# texlive_fontsextra -# texlive_fontsrecommended -# texlive_formatsextra -# texlive_games -# texlive_humanities -# texlive_latexrecommended -# texlive_latexextra -# texlive_pictures -# texlive_mathscience -# texlive_music - # TeXlive language packages -# texlive_langarabic -# texlive_langcjk -# texlive_langchinese -# texlive_langcyrillic -# texlive_langczechslovak -# texlive_langenglish -# texlive_langeuropean -# texlive_langfrench -# texlive_langgerman -# texlive_langgreek -# texlive_langitalian -# texlive_langjapanese -# texlive_langkorean -# texlive_langother -# texlive_langpolish -# texlive_langportuguese -# texlive_langspanish + # TeXlive packages, script included, can be launched by the user after install " + BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel + qt6_tools${secondaryArchSuffix}_devel devel:libGL$secondaryArchSuffix devel:libhunspell_1.7$secondaryArchSuffix - devel:libpoppler_cpp$secondaryArchSuffix >= 0.11.0 - devel:libpoppler_qt6$secondaryArchSuffix >= 3.4.0 + devel:libpoppler_cpp$secondaryArchSuffix >= 1.0.0 + devel:libpoppler_qt6$secondaryArchSuffix >= 3.8.0 devel:libQt6Core5Compat$secondaryArchSuffix devel:libQt6Concurrent$secondaryArchSuffix devel:libQt6Core$secondaryArchSuffix - devel:libQt6DBus$secondaryArchSuffix devel:libQt6Gui$secondaryArchSuffix - devel:libQt6UiTools$secondaryArchSuffix + devel:libQt6Multimedia$secondaryArchSuffix devel:libQt6Network$secondaryArchSuffix devel:libQt6PrintSupport$secondaryArchSuffix devel:libQt6Qml$secondaryArchSuffix @@ -106,7 +73,6 @@ BUILD_PREREQUIRES=" cmd:cmake cmd:g++$secondaryArchSuffix cmd:ld$secondaryArchSuffix - cmd:lrelease$secondaryArchSuffix >= 5 cmd:make cmd:pkg_config$secondaryArchSuffix " @@ -118,7 +84,8 @@ BUILD() $cmakeDirArgs \ -DCMAKE_INSTALL_BINDIR=$appsDir \ -DQT_VERSION_MAJOR=6 \ - -DTEXSTUDIO_BUILD_ADWAITA=OFF + -DTEXSTUDIO_BUILD_ADWAITA=OFF \ + -DTEXSTUDIO_ENABLE_MEDIAPLAYER=ON make -C build $jobArgs } @@ -143,4 +110,8 @@ INSTALL() addResourcesToBinaries $sourceDir/texstudio.rdef $appsDir/TeXstudio addAppDeskbarSymlink $appsDir/TeXstudio + + # add texlive script to the package + mkdir -p $prefix/bin + cp $portDir/additional-files/texliveinstall.sh $prefix/bin }