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

commit 8c5e970bdba46cc09fe6c9fac9229ba353077d40
Author: crazy <[email protected]>
Date:   Mon May 16 23:43:40 2016 +0200

sonnet-5.22.0-1-x86_64
* Version bump
* fix wrong depends on enchant that plugin is disabled
* added hunspell plugin subpackage

diff --git a/source/kf5/sonnet/FrugalBuild b/source/kf5/sonnet/FrugalBuild
index 4287293..d818d00 100644
--- a/source/kf5/sonnet/FrugalBuild
+++ b/source/kf5/sonnet/FrugalBuild
@@ -3,31 +3,50 @@


pkgname=sonnet
-pkgver=5.21.0
-pkgrel=3
+pkgver=5.22.0
+pkgrel=1
pkgdesc="Spelling framework for Qt, plugin-based."
groups=('kf5')
archs=('i686' 'x86_64')
_F_kde_project="frameworks"
Finclude kf5
-depends=("qt5-base>=$_F_kde_qtver" 'enchant')
-makedepends=("${makedepends[@]}" 'qt5-x11extras' 'qt5-tools')
-sha1sums=('5634e8b7b4c259b81686a3108be10587e35fc96f')
+depends=("qt5-base>=$_F_kde_qtver")
+makedepends+=('qt5-x11extras' 'qt5-tools')
+sha1sums=('33c98287623e1c95551e37791a859d76184e7292')

replaces=('sonnet-plugin-enchant')
conflicts=("${replaces[@]}")

-subpkgs=('sonnet-plugin-aspell' 'sonnet-plugin-hspell')
-subdescs=('Aspell plugin for sonnet' 'Hspell plugin for sonnet')
-subarchs=('i686 x86_64' 'i686 x86_64')
-subdepends=('aspell' 'hspell')
-subgroups=('kde5-extra' 'kde5-extra')
+subpkgs=('sonnet-plugin-aspell')
+subdescs=('Aspell plugin for sonnet')
+subarchs=('i686 x86_64')
+subdepends=('aspell')
+subgroups=('kde5-extra')
+
+subpkgs+=('sonnet-plugin-hspell')
+subdescs+=('Hspell plugin for sonnet')
+subarchs+=('i686 x86_64')
+subdepends+=('hspell')
+subgroups+=('kde5-extra')
+
+subpkgs+=('sonnet-plugin-hunspell')
+subdescs+=('Hunspell plugin for sonnet')
+subarchs+=('i686 x86_64')
+subdepends+=('hunspell')
+subgroups+=('kde5-extra')
+

build() {
-       KDE_build

-       Fsplit sonnet-plugin-aspell usr/lib/qt5/plugins/kf5/sonnet/aspell.so
-       Fsplit sonnet-plugin-hspell usr/lib/qt5/plugins/kf5/sonnet/hspell.so
+
+       KDE_build \
+               -DWITH_ASPELL=ON \
+               -DWITH_HSPELL=ON \
+               -DWITH_HUNSPELL=ON
+
+       Fsplit sonnet-plugin-aspell   usr/lib/qt5/plugins/kf5/sonnet/aspell.so
+       Fsplit sonnet-plugin-hspell   usr/lib/qt5/plugins/kf5/sonnet/hspell.so
+       Fsplit sonnet-plugin-hunspell usr/lib/qt5/plugins/kf5/sonnet/hunspell.so
}

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

Reply via email to