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.
56 lines
1.3 KiB
56 lines
1.3 KiB
9 years ago
|
# Copyright 1999-2015 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
9 years ago
|
|
||
|
EAPI=5
|
||
|
CMAKE_MIN_VERSION="3.0"
|
||
|
|
||
|
# This ebuild could use some python checks, as sigil contains python plugin architecture.
|
||
|
|
||
|
inherit eutils cmake-utils
|
||
|
|
||
|
MY_PN="Sigil"
|
||
|
|
||
|
DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
|
||
|
HOMEPAGE="http://sigil-ebook.com/"
|
||
9 years ago
|
SRC_URI="https://github.com/Sigil-Ebook/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||
9 years ago
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE=""
|
||
|
|
||
|
RDEPEND="
|
||
|
>=app-text/hunspell-1.3.2
|
||
9 years ago
|
>=dev-libs/boost-1.49[threads]
|
||
|
>=dev-libs/libpcre-8.31[pcre16]
|
||
9 years ago
|
>=dev-libs/xerces-c-3.1.1[icu]
|
||
9 years ago
|
>=dev-qt/qtconcurrent-5.4:5
|
||
9 years ago
|
>=dev-qt/qtcore-5.4:5
|
||
|
>=dev-qt/qtgui-5.4:5
|
||
9 years ago
|
>=dev-qt/qtnetwork-5.4:5
|
||
|
>=dev-qt/qtprintsupport-5.4:5
|
||
|
>=dev-qt/qtsvg-5.4:5
|
||
|
>=dev-qt/qtwebkit-5.4:5
|
||
9 years ago
|
>=dev-qt/qtwidgets-5.4:5
|
||
|
>=dev-qt/qtxml-5.4:5
|
||
|
>=dev-qt/qtxmlpatterns-5.4:5
|
||
9 years ago
|
>=sys-libs/zlib-1.2.7[minizip]
|
||
9 years ago
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
9 years ago
|
>=sys-devel/gcc-4.8
|
||
9 years ago
|
virtual/pkgconfig
|
||
|
>=dev-qt/linguist-tools-5.4:5
|
||
|
"
|
||
|
|
||
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
||
|
|
||
|
DOCS=( README.md )
|
||
|
|
||
|
src_prepare() {
|
||
|
# sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
|
||
9 years ago
|
sed -e '/set( QT_LIBS/d' -i src/Sigil/CMakeLists.txt || die "sed failed"
|
||
9 years ago
|
|
||
|
cmake-utils_src_prepare
|
||
|
}
|