Документ взят из кэша поисковой машины. Адрес оригинального документа : http://mirror.msu.net/pub/gentoo-portage/kde-apps/kig/kig-4.14.3.ebuild
Дата изменения: Thu Mar 10 10:47:15 2016
Дата индексирования: Sun Apr 10 17:39:04 2016
Кодировка:
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

KDE_HANDBOOK="optional"
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1 kde4-base

DESCRIPTION="KDE Interactive Geometry tool"
HOMEPAGE="https://www.kde.org/applications/education/kig https://edu.kde.org/kig"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="debug scripting"

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

DEPEND="
${PYTHON_DEPS}
scripting? ( >=dev-libs/boost-1.48:=[python,${PYTHON_USEDEP}] )
"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/${PN}-4.12.0-boostpython.patch" )

pkg_setup() {
python-single-r1_pkg_setup
kde4-base_pkg_setup
}

src_prepare() {
kde4-base_src_prepare

python_fix_shebang .
}

src_configure() {
local mycmakeargs=(
-DPYTHON_EXECUTABLE="${PYTHON}"
$(cmake-utils_use_find_package scripting BoostPython)
)

kde4-base_src_configure
}