mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
sci-electronics/dsview: add 1.2.1
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
parent
cf11bff06a
commit
c9e0f9d6ee
@ -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
|
||||
|
69
sci-electronics/dsview/dsview-1.2.1.ebuild
Normal file
69
sci-electronics/dsview/dsview-1.2.1.ebuild
Normal file
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user