Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c8a9fe407e228d8144e547ab23811ae9c9785fda

commit c8a9fe407e228d8144e547ab23811ae9c9785fda
Author: crazy <[email protected]>
Date:   Sat Oct 1 16:33:45 2016 +0200

texstudio-2.11.0-2-x86_64
* switch to qt5
* there is a new version just NOT for Linux !!
* fixed depends() , built with system hunspell now

diff --git a/source/xapps-extra/texstudio/FrugalBuild 
b/source/xapps-extra/texstudio/FrugalBuild
index 1f6a61a..d9a6c53 100644
--- a/source/xapps-extra/texstudio/FrugalBuild
+++ b/source/xapps-extra/texstudio/FrugalBuild
@@ -2,27 +2,36 @@
# Maintainer: Melko <[email protected]>

pkgname=texstudio
-pkgver=2.11.0
-pkgrel=1
+pkgver=2.11.0 ## .2 is there but not an tarball for Linux ?!?!
+pkgrel=2
pkgdesc="Fork of the LaTeX IDE TexMaker. Gives you an environment where you can 
easily create and manage LaTeX documents"
url="http://sourceforge.net/projects/texstudio";
-depends=('poppler-qt4' 'libqtnetwork' 'libqtuitools' 'libqtscript')
-makedepends=('x11-protos')
+depends=('qt5-svg>=5.7.0-2' 'poppler-qt5>=0.47.0' 'hunspell' 
'qt5-script>=5.7.0-2' 'qt5-base>=5.7.0-3')
+makedepends=('x11-protos' 'qt5-tools>=5.7.0-2')
groups=('xapps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.texstudio.org/ | sed -n 's/\s\+\([^ ]\+\) 
.*source tarball.*/\1/p'"
source=($url/files/texstudio/TeXstudio%20$pkgver/$pkgname-$pkgver.tar.gz)
-_F_gnome_iconcache="y"
-Finclude gnome-scriptlet
_F_cd_path="$pkgname$pkgver"
sha1sums=('3d2f8709275562b63b61f52d99c27b6645f29285')
+_F_gnome_iconcache="y"
+Finclude gnome-scriptlet

build() {
Fcd
-       qmake texstudio.pro || Fdie
+       qmake-qt5 USE_SYSTEM_HUNSPELL=1  texstudio.pro || Fdie
Fmake
make INSTALL_ROOT=$Fdestdir install || Fdie
Fbuild_gnome_scriptlet
+
+       ## icons ..
+       local size
+
+       for size in 22 32 48 64 128; do
+               Finstallrel 644 "utilities/texstudio${size}x${size}.png" \
+                       
"usr/share/icons/hicolor/${size}x${size}/apps/$pkgname.png"
+       done
+
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to