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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76176158095 for ; Tue, 6 Sep 2022 03:14:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BF77E0824; Tue, 6 Sep 2022 03:14:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09A1EE0824 for ; Tue, 6 Sep 2022 03:14:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D1C41340DE2 for ; Tue, 6 Sep 2022 03:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5232B526 for ; Tue, 6 Sep 2022 03:14:48 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1662434052.c9e0f9d6ee5ead615a9fa0a8f8dfb265b094c752.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/dsview/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-electronics/dsview/Manifest sci-electronics/dsview/dsview-1.2.1.ebuild X-VCS-Directories: sci-electronics/dsview/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: c9e0f9d6ee5ead615a9fa0a8f8dfb265b094c752 X-VCS-Branch: dev Date: Tue, 6 Sep 2022 03:14:48 +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: 1d667868-2432-475e-998e-e945f03cf51c X-Archives-Hash: 99ea3fd98a89cdce66bafaa453abfe03 commit: c9e0f9d6ee5ead615a9fa0a8f8dfb265b094c752 Author: Huang Rui gmail com> AuthorDate: Tue Sep 6 03:14:12 2022 +0000 Commit: Rui Huang gmail com> CommitDate: Tue Sep 6 03:14:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9e0f9d6 sci-electronics/dsview: add 1.2.1 Signed-off-by: Huang Rui gmail.com> sci-electronics/dsview/Manifest | 1 + sci-electronics/dsview/dsview-1.2.1.ebuild | 69 ++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/sci-electronics/dsview/Manifest b/sci-electronics/dsview/Manifest index 9ae6656af..81f7b61bc 100644 --- a/sci-electronics/dsview/Manifest +++ b/sci-electronics/dsview/Manifest @@ -1 +1,2 @@ DIST dsview-1.2.0.tar.gz 8471857 BLAKE2B 581050fc2f9e68b1f6e3a48ccd0d6672482e5358f27aacb07ded652a4a1aea0061e097dc313e12e83d7d428d3e7cb55f03955274f272c5059bf04a5e97a4bd55 SHA512 f1f22a7d08a83b123d2a777907299c9250a86976cd7edfc9b883b89d06f9664740182a5ae86ab1df9035a83e2ffbb1dad9f88b7fe6eeb2b0f815915b776119d7 +DIST dsview-1.2.1.tar.gz 8357048 BLAKE2B d1269aa6b55d69e6ce2b75ede916daac063200ac3f7be33d51f5363457c699956c9666b12a0a3557ccd8541ded78d3f2ffcb94ea8c71137452624988f711e339 SHA512 305e4223d10e45488cec96427fc43ee327d416bedb9dee603cb8acf8a6aca1b11f358e2ca53b825dc1c7c022da0495f83b497a9a70a3748c7540f5987cb2f993 diff --git a/sci-electronics/dsview/dsview-1.2.1.ebuild b/sci-electronics/dsview/dsview-1.2.1.ebuild new file mode 100644 index 000000000..b1b34addc --- /dev/null +++ b/sci-electronics/dsview/dsview-1.2.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GITHUB_PN="DSView" +PYTHON_COMPAT=( python3_{8..11} ) + +inherit cmake python-r1 udev xdg + +DESCRIPTION="An open source multi-function instrument" +HOMEPAGE=" + https://www.dreamsourcelab.com + https://github.com/DreamSourceLab/DSView +" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/DreamSourceLab/${GITHUB_PN}.git" +else + SRC_URI="https://github.com/DreamSourceLab/${GITHUB_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${GITHUB_PN}-${PV}" +fi + +LICENSE="GPL-3" +SLOT="0" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-cpp/glibmm:2 + dev-libs/boost + dev-libs/glib + dev-libs/libzip + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtsvg:5 + dev-qt/qtconcurrent:5 + sci-libs/fftw:3.0 + virtual/libusb:1 +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + ) + + cmake_src_configure +} + +pkg_postinst() { + udev_reload + xdg_pkg_postinst +} + +pkg_postrm() { + udev_reload + xdg_pkg_postrm +}