sci-electronics/OpenHantek6022 - 3.3.2.2 (zGentoo)

Search

Package Information

Description:
OpenHantek6022 is a free software for Hantek DSO6022 USB digital signal oscilloscopes
Homepage:
https://github.com/OpenHantek/OpenHantek6022
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
3.3.2.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8

inherit udev cmake xdg-utils

DESCRIPTION="${PN} is a free software for Hantek DSO6022 USB digital signal oscilloscopes"
HOMEPAGE="https://github.com/OpenHantek/${PN}"
SRC_URI="https://github.com/OpenHantek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"


LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
	>=dev-qt/qtwidgets-5.4
	>=sci-libs/fftw-3
	>=dev-libs/libusb-1
	dev-qt/qtopengl
	dev-qt/qtprintsupport
	dev-qt/linguist-tools
	dev-build/cmake
"

src_prepare() {
	sed -i 's:project(OpenHantek CXX)::g' openhantek/CMakeLists.txt || die "couldn't patch CMakeLists.txt"
	cmake_src_prepare
}

src_configure() {
	cmake_src_configure
}

src_install() {
    	cmake_src_install
}

pkg_postinst() {
        xdg_icon_cache_update
	udev_reload
}

pkg_postrm() {
        xdg_icon_cache_update
	udev_reload
}

Dependencies

BDEPEND

	>=dev-qt/qtwidgets-5.4
	>=sci-libs/fftw-3
	>=dev-libs/libusb-1
	dev-qt/qtopengl
	dev-qt/qtprintsupport
	dev-qt/linguist-tools
	dev-build/cmake

Manifest for 3.3.2.2

Type File Size Source URLs
DIST OpenHantek6022-3.3.2.2.tar.gz 16322887 bytes https://github.com/OpenHantek/OpenHantek6022/archive/refs/tags/3.3.2.2.tar.gz