Date: Friday, June 4, 2021 @ 18:18:51 Author: bgyorgy Revision: 955926
upgpkg: notepadqq 1.4.8-4: Unbundle MathJax Modified: notepadqq/trunk/PKGBUILD ----------+ PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-06-04 16:56:14 UTC (rev 955925) +++ PKGBUILD 2021-06-04 18:18:51 UTC (rev 955926) @@ -3,7 +3,7 @@ pkgname=notepadqq pkgver=1.4.8 -pkgrel=3 +pkgrel=4 pkgdesc='Notepad++-like text editor for Linux' arch=('x86_64') url='https://notepadqq.com/' @@ -10,6 +10,7 @@ license=('GPL3') depends=('desktop-file-utils' 'hicolor-icon-theme' 'qt5-svg' 'qt5-webkit') makedepends=('git' 'qt5-tools') +optdepends=('mathjax2: Math rendering') options=('!emptydirs') _commit=b371c5686e483b93e97c1b4dc5b8a9bb5604c760 # tags/v1.4.8^0 source=("git+https://github.com/notepadqq/notepadqq.git#commit=$_commit" @@ -31,6 +32,10 @@ git cherry-pick -n b8394792a002debd85574aeb79800d6ba46a6b20 git cherry-pick -n 6b80d126341243f84eb02a1863320d1bc4b9bd53 git cherry-pick -n 3c16a4134855639ff23b3275a0ceac3dcc30a2da + + # Unbundle MathJax + sed -i 's|libs/MathJax/MathJax|../../mathjax2/MathJax|' src/editor/features/latex/latex.js + sed -i '/MathJax/d' src/editor/Makefile } build() {