diff options
-rw-r--r-- | sci-electronics/pulseview/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/pulseview/pulseview-0.3.0.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/sci-electronics/pulseview/Manifest b/sci-electronics/pulseview/Manifest index 68d32e1e60a0..84ad65c85b5a 100644 --- a/sci-electronics/pulseview/Manifest +++ b/sci-electronics/pulseview/Manifest @@ -1 +1,2 @@ DIST pulseview-0.2.0.tar.gz 148799 SHA256 feb5d33a0a91c989bfc39fa758195755e78e87c3cf445bb135a8c8d4f86bc1dd SHA512 f770510ceade6382de2d09ba7819a9b39623f3ccbbb4a3a64bb0a64f774d356583f6ad2812a845978d1eaf50dcbfd4688ceec3005d0b712a087d1f686d3c0301 WHIRLPOOL 31068fcebd4286d325db37327c351e8cbd00e095901c04a3d034c127b1272e7c463400a91683cbb64a775b86f5cf61411f1f809e7b4dcd76113ceeb63990eaa2 +DIST pulseview-0.3.0.tar.gz 188602 SHA256 5ffe2cb7a602fcdc60933d400c77bcd66e6ce529bc4f6e97d6a5e5a86f2f530e SHA512 81c509ef3e548ab8ff29633a07c280cee1fba5cc94db7fc1fbc64822eccb905ab5fb4126392cabe0c089e51896a02e0fbc6c0f265bf728cee6ac6651c3ab883a WHIRLPOOL f23f420ab2d0083a234eff5d757fac0ebbfbe97670bf229292fb91d7f3ba6f3a37c7716bbece607b6593133da41ac103cfcfb4f46986ba6bc243d379fb4413dd diff --git a/sci-electronics/pulseview/pulseview-0.3.0.ebuild b/sci-electronics/pulseview/pulseview-0.3.0.ebuild new file mode 100644 index 000000000000..ca0801e89fab --- /dev/null +++ b/sci-electronics/pulseview/pulseview-0.3.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +PYTHON_COMPAT=( python3_{3,4} ) + +inherit cmake-utils python-single-r1 + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="git://sigrok.org/${PN}" + inherit git-r3 +else + SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Qt based logic analyzer GUI for sigrok" +HOMEPAGE="http://sigrok.org/wiki/PulseView" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+decode qt4 qt5 static" +REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} ) ^^ ( qt4 qt5 )" + +RDEPEND=" + >=dev-libs/boost-1.53:= + >=dev-libs/glib-2.28.0:2 + >=dev-cpp/glibmm-2.28.0:2 + >=sci-libs/libsigrok-0.4.0[cxx] + qt4? ( + >=dev-qt/qtcore-4.5:4 + >=dev-qt/qtgui-4.5:4 + >=dev-qt/qtsvg-4.5:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtsvg:5 + ) + decode? ( + >=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( HACKING NEWS README ) + +src_configure() { + local mycmakeargs=( + -DDISABLE_WERROR=TRUE + -DENABLE_DECODE=$(usex decode) + -DSTATIC_PKGDEPS_LIBS=$(usex static) + -DFORCE_QT4=$(usex qt4) + ) + cmake-utils_src_configure +} |