diff options
Diffstat (limited to 'games-kids/gcompris/gcompris-0.97-r1.ebuild')
-rw-r--r-- | games-kids/gcompris/gcompris-0.97-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/games-kids/gcompris/gcompris-0.97-r1.ebuild b/games-kids/gcompris/gcompris-0.97-r1.ebuild new file mode 100644 index 000000000000..c320ebcd4ec7 --- /dev/null +++ b/games-kids/gcompris/gcompris-0.97-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="optional" +ECM_TEST="true" +QTMIN=5.12.3 +inherit ecm kde.org + +DESCRIPTION="Full featured educational application for children from 2 to 10" +HOMEPAGE="https://gcompris.net/" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="https://gcompris.net/download/qt/src/${PN}-qt-${PV}.tar.xz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-qt-${PV}" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="kiosk" + +BDEPEND=" + >=dev-qt/linguist-tools-${QTMIN}:5 + test? ( + dev-util/cppcheck + sys-devel/clang + ) +" +COMMON_DEPEND=" + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtsensors-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 +" +DEPEND="${COMMON_DEPEND} + >=dev-qt/qtmultimedia-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=dev-qt/qtxmlpatterns-${QTMIN}:5 +" +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtgraphicaleffects-${QTMIN}:5 + >=dev-qt/qtmultimedia-${QTMIN}:5[qml] + >=dev-qt/qtquickcontrols-${QTMIN}:5 +" + +src_configure() { + local mycmakeargs=( + -DQML_BOX2D_MODULE=disabled + -DWITH_KIOSK_MODE=$(usex kiosk) + ) + ecm_src_configure +} |