You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.1.3-r1.eb...

45 lines
882 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
WX_GTK_VER="3.0"
inherit autotools wxwidgets xdg
DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor"
HOMEPAGE="http://xml-copy-editor.sourceforge.net/"
SRC_URI="mirror://sourceforge/xml-copy-editor/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="aqua nls"
RDEPEND="
app-text/aspell
dev-libs/libxml2
dev-libs/libxslt
dev-libs/xerces-c[icu]
dev-libs/libpcre
x11-libs/wxGTK:${WX_GTK_VER}[X]
"
DEPEND="${RDEPEND}
dev-libs/boost
dev-util/intltool
"
PATCHES=( "${FILESDIR}"/${P}-no-automagic-enchant.patch )
src_prepare() {
default
# bug #440744
sed -i -e 's/ -Wall -g -fexceptions//g' configure.ac || die
eautoreconf
}
src_configure() {
setup-wxwidgets unicode
econf $(use_enable nls)
}