diff options
Diffstat (limited to 'kde-apps/analitza')
-rw-r--r-- | kde-apps/analitza/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/analitza/analitza-20.04.0.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/kde-apps/analitza/Manifest b/kde-apps/analitza/Manifest index ac034076af8b..ffa15a1ecfe2 100644 --- a/kde-apps/analitza/Manifest +++ b/kde-apps/analitza/Manifest @@ -1,3 +1,5 @@ DIST analitza-19.12.3.tar.xz 331472 BLAKE2B 91222cbba015ba77800aaaa55b711124478a557fb7be915d1c3ec0ea7297e7b2cfe975482b70fffaba1fef8deb86aa988f55bcdf046ea4e70ff0218fe84fe950 SHA512 3b858af0a79174ec8c7ae28a703d067a6d2545dd5319a2d37d72831bba9f6196c6a6cedf6d277eb5ede812fb39ffab297f966da6c40926b26c0943ca10426eb9 +DIST analitza-20.04.0.tar.xz 332792 BLAKE2B 09387fdee31103859ca44350796b665ab80fbf8ae2df972f1fbca627616a94297de0a8eaf67bd32d278e488788667399785ee84a3da899173ec882710d502244 SHA512 db24d29222b88474ee851fab3c90cdf7906f0524b41af71292c7b3f36e2da926b091a9eff06212670687268719ad05577694f865ebebd54c2cd9c417472998b8 EBUILD analitza-19.12.3-r1.ebuild 923 BLAKE2B 31217053e410310f583676574ba8c55e807920c15f76685ac958b06cb48ea0a34619a098a58821d008c215a8ccb28ced51e466302885ed5d52646c3a3a710668 SHA512 4fa4ef70ade35ebee211d285f00dabab88911f1a688644d26fe09b6e3ac517a7f5c7f2df92557a242041fdcad2a538a49a429fbf101ad3a25a0938077332ff9b +EBUILD analitza-20.04.0.ebuild 914 BLAKE2B 1ae95358a4b4648ccf09f183b11ab383e436877d3c8501607bcc59c10c18a2b17fcb9539356bf8708b8bf0251b70b254131f30b9a07b79c715520c2bd1bb0699 SHA512 ce259254cf81f4f3ec936fd8d2811bf72ae5e0eb1152038e18685cf08c094027c4208647cc327791fae0a7a503ce3128c3300ca450b2bd95d326c424b4e3d324 MISC metadata.xml 355 BLAKE2B 1a43036ef3857c12c1f687c3764b29723e20e3816fb4c123ee395f1fbea257233394bb02d9fe35ca9c0a2f3eb0dc78ffabb2c928b2d52f0fecfbdad78d00956e SHA512 cc71d58d08997c2baf094b7ff2dbe5af9cfb5da7fd4ea295315149154d9980d6841bf23b61e72fcd92ecba8533b56e2548aa66577a5fa841451fd1a65d2f84f7 diff --git a/kde-apps/analitza/analitza-20.04.0.ebuild b/kde-apps/analitza/analitza-20.04.0.ebuild new file mode 100644 index 000000000000..949bec3965db --- /dev/null +++ b/kde-apps/analitza/analitza-20.04.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="forceoptional-recursive" +QTMIN=5.12.3 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="KDE library for mathematical features" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64" +IUSE="eigen nls" + +BDEPEND=" + nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 ) +" +DEPEND=" + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5[-gles2-only] + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + eigen? ( dev-cpp/eigen:3 ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + ecm_src_prepare + + if ! use test; then + sed -i \ + -e "/add_subdirectory(examples)/ s/^/#DONT/" \ + analitzaplot/CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package eigen Eigen3) + ) + + ecm_src_configure +} |