diff options
Diffstat (limited to 'app-editors/fb2edit/fb2edit-0.0.8.ebuild')
-rw-r--r-- | app-editors/fb2edit/fb2edit-0.0.8.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-editors/fb2edit/fb2edit-0.0.8.ebuild b/app-editors/fb2edit/fb2edit-0.0.8.ebuild new file mode 100644 index 000000000000..4488bb484a26 --- /dev/null +++ b/app-editors/fb2edit/fb2edit-0.0.8.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="a WYSIWYG FictionBook (fb2) editor" +HOMEPAGE="http://fb2edit.lintest.ru/" +SRC_URI="http://fb2edit.lintest.ru/pub/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND="dev-libs/libxml2 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtwebkit:4 + dev-qt/qtxmlpatterns:4" +RDEPEND="${DEPEND} + x11-themes/hicolor-icon-theme" + +DOCS=( AUTHORS README ) + +src_prepare() { + # drop -g from CFLAGS + sed -i -e '/^add_definitions(-W/s/-g//' CMakeLists.txt || die 'sed failed' + + cmake-utils_src_prepare +} |