bluefish: switch to enchant-2

This commit is contained in:
maxice8 2018-11-08 19:01:21 -02:00 committed by maxice8
parent e07606ba24
commit 85445d30ac
1 changed files with 13 additions and 2 deletions

View File

@ -6,8 +6,9 @@ lib32disabled=yes
build_style=gnu-configure
configure_args="--enable-spell-check --disable-update-databases
--disable-xml-catalog-update $(vopt_enable python)"
hostmakedepends="pkg-config intltool gdk-pixbuf-devel libxml2-devel"
makedepends="libxml2-devel gtk+3-devel enchant-devel gucharmap-devel
hostmakedepends="pkg-config intltool gdk-pixbuf-devel libxml2-devel
automake libtool gettext-devel glib-devel"
makedepends="libxml2-devel gtk+3-devel enchant2-devel gucharmap-devel
$(vopt_if python python-devel)"
depends="hicolor-icon-theme desktop-file-utils xmlcatmgr
$(vopt_if python python)"
@ -20,6 +21,16 @@ homepage="http://bluefish.openoffice.nl/"
distfiles="http://www.bennewitz.com/bluefish/stable/source/bluefish-${version}.tar.bz2"
checksum=afeca12b693bb58e30c2199e6a21cc06da02d88e0ac9d08b7a231a9c8e7c3eb2
pre_configure() {
sed -e 's|\[enchant\]|\[enchant-2\]|g' \
-e 's|\[enchant >|\[enchant-2 >|g' \
-e 's|enchant/enchant.h|enchant-2/enchant.h|g' \
-e 's|BF_dependencies enchant|BF_dependencies enchant-2|g' \
-i configure.ac
autoreconf -fi
}
# XXX python option broken with cross compilation
build_options="python"
if [ -z "$CROSS_BUILD" ]; then