39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# Template file for 'bluefish'
|
|
pkgname=bluefish
|
|
version=2.2.10
|
|
revision=2
|
|
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
|
|
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)"
|
|
xml_entries="nextCatalog /usr/share/xml/bluefish/catalog.xml --"
|
|
pycompile_dirs="/usr/share/bluefish"
|
|
short_desc="A powerful HTML editor for experienced web designers and programmers"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-3"
|
|
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
|
|
build_options_default="python"
|
|
fi
|