From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 21B52138359 for ; Mon, 6 Jul 2020 18:16:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84A7EE0950; Mon, 6 Jul 2020 18:16:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A3C1E0950 for ; Mon, 6 Jul 2020 18:16:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1BA8134F1B9 for ; Mon, 6 Jul 2020 18:16:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1066D2DF for ; Mon, 6 Jul 2020 18:16:03 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1594059327.c01317a60bbc97e51bf1d33efbac8b259e450a01.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/pulseview/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/pulseview/Manifest sci-electronics/pulseview/pulseview-0.4.2.ebuild X-VCS-Directories: sci-electronics/pulseview/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c01317a60bbc97e51bf1d33efbac8b259e450a01 X-VCS-Branch: master Date: Mon, 6 Jul 2020 18:16:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 671f9e50-ec79-4a7f-8eee-7ee76c11abb7 X-Archives-Hash: 2bdea96bc24af3c05b6afed1456347d3 commit: c01317a60bbc97e51bf1d33efbac8b259e450a01 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jul 2 22:36:35 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Jul 6 18:15:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01317a6 sci-electronics/pulseview: 0.4.2 version bump Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-electronics/pulseview/Manifest | 1 + sci-electronics/pulseview/pulseview-0.4.2.ebuild | 74 ++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/sci-electronics/pulseview/Manifest b/sci-electronics/pulseview/Manifest index 48cd9f5d045..9180854c0bb 100644 --- a/sci-electronics/pulseview/Manifest +++ b/sci-electronics/pulseview/Manifest @@ -1 +1,2 @@ DIST pulseview-0.4.1.tar.gz 1342532 BLAKE2B 759779d4024df8f972fbed515764f17557014972abcb39d3942b411bfa78c6f97a89ee98b706adb51d240bdb738925546cec073f98ba829f1e325acaac892c01 SHA512 0bae4357be312bf6e997885270887a5bcc0a8dfb6914e63bb0d5abb35389b6681748e0e4667556ad432c5432c861185bcdd8da7815fb570fc8a2fbbf5eed3801 +DIST pulseview-0.4.2.tar.gz 1399718 BLAKE2B ebbefefa55bb7ce9d1bbdfa8ea44d9536fa4f9ca9f6f13175a5bb6122dcb431ddad7c668e631128ca57fd2231021f8ce1c686fac9fa746ace24cf69ef3d71e71 SHA512 79f653c9faad021c03b59b4a519b594190d5558dfb9be60cabcc2a35e991e66b733b337fec58a9248699e7aef0df3be1472c81f93274b25cec1fc6b73f8f033b diff --git a/sci-electronics/pulseview/pulseview-0.4.2.ebuild b/sci-electronics/pulseview/pulseview-0.4.2.ebuild new file mode 100644 index 00000000000..33c5fe3766d --- /dev/null +++ b/sci-electronics/pulseview/pulseview-0.4.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit cmake python-single-r1 xdg-utils + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="git://sigrok.org/${PN}" + inherit git-r3 +else + SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Qt based logic analyzer GUI for sigrok" +HOMEPAGE="https://sigrok.org/wiki/PulseView" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+decode static" +REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" +RDEPEND=" + >=dev-cpp/glibmm-2.28.0:2 + >=dev-libs/boost-1.55:= + >=dev-libs/glib-2.28.0:2 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + >=sci-libs/libsigrok-0.5.1:=[cxx] + decode? ( + ${PYTHON_DEPS} + >=sci-libs/libsigrokdecode-0.5.2:=[${PYTHON_SINGLE_USEDEP}] + ) +" +DEPEND="${RDEPEND}" + +DOCS=( HACKING NEWS README ) + +pkg_setup() { + use decode && python_setup +} + +src_prepare() { + cmake_src_prepare + cmake_comment_add_subdirectory manual +} + +src_configure() { + local mycmakeargs=( + -DDISABLE_WERROR=TRUE + -DENABLE_DECODE=$(usex decode) + -DSTATIC_PKGDEPS_LIBS=$(usex static) + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}