summaryrefslogtreecommitdiff
path: root/sci-electronics/pulseview
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /sci-electronics/pulseview
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'sci-electronics/pulseview')
-rw-r--r--sci-electronics/pulseview/Manifest1
-rw-r--r--sci-electronics/pulseview/files/pulseview-0.4.2_p20250515-boost-1.89.patch26
-rw-r--r--sci-electronics/pulseview/files/pulseview-0.5.0-glibmm-2.68-required.patch18
-rw-r--r--sci-electronics/pulseview/metadata.xml14
-rw-r--r--sci-electronics/pulseview/pulseview-0.4.2_p20250515.ebuild68
-rw-r--r--sci-electronics/pulseview/pulseview-9999.ebuild65
6 files changed, 192 insertions, 0 deletions
diff --git a/sci-electronics/pulseview/Manifest b/sci-electronics/pulseview/Manifest
new file mode 100644
index 000000000000..c2b4f786eae5
--- /dev/null
+++ b/sci-electronics/pulseview/Manifest
@@ -0,0 +1 @@
+DIST pulseview-e2fe9df.tar.gz 1971664 BLAKE2B 23897a51d6faf3b0b753e7a4d83f29cd9f800be0bfc70476f103791c450269c3402691a1dc931f92cd6ffa470cad07ff3e711513ccfcbbfaa2c4b93634995261 SHA512 97ceaad6c1452f4f70528706f1b69e4756e7fb1716cdaeaca8c9a2dac306d7a03594d9524923a9f3230705798b104fcd468376219ca1923df185775e4d3cdb5e
diff --git a/sci-electronics/pulseview/files/pulseview-0.4.2_p20250515-boost-1.89.patch b/sci-electronics/pulseview/files/pulseview-0.4.2_p20250515-boost-1.89.patch
new file mode 100644
index 000000000000..fa3198d700dd
--- /dev/null
+++ b/sci-electronics/pulseview/files/pulseview-0.4.2_p20250515-boost-1.89.patch
@@ -0,0 +1,26 @@
+From: Soeren Apel <redacted>
+Date: Mon, 10 Nov 2025 00:27:51 +0000 (+0100)
+Subject: CMakeLists.txt: Remove dependency on system
+X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=af02198741b4e57c9f9b796bd5e6c0f2ae9f2f2b
+
+CMakeLists.txt: Remove dependency on system
+
+See
+https://bbs.archlinux.org/viewtopic.php?id=309669
+and
+https://github.com/boostorg/system/commit/7a495bb46d7ccd808e4be2a6589260839b0fd3a3
+---
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8580fa8e..e0520e0f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -183,7 +183,7 @@ else()
+ set(QT_LIBRARIES Qt6::Gui Qt6::Widgets Qt6::Svg)
+ endif()
+
+-set(BOOSTCOMPS filesystem serialization system)
++set(BOOSTCOMPS filesystem serialization)
+ if(ENABLE_TESTS)
+ list(APPEND BOOSTCOMPS unit_test_framework)
+ endif() \ No newline at end of file
diff --git a/sci-electronics/pulseview/files/pulseview-0.5.0-glibmm-2.68-required.patch b/sci-electronics/pulseview/files/pulseview-0.5.0-glibmm-2.68-required.patch
new file mode 100644
index 000000000000..46309724517a
--- /dev/null
+++ b/sci-electronics/pulseview/files/pulseview-0.5.0-glibmm-2.68-required.patch
@@ -0,0 +1,18 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -120,14 +120,7 @@
+
+ list(APPEND PKGDEPS glib-2.0>=2.28.0)
+
+-# Try to find the prefered glibmm-2.4. If not found then add glibmm-2.68
+-# to the dependency list.
+-pkg_check_modules(GLIBMM_2_4 glibmm-2.4>=2.28.0)
+-if(GLIBMM_2_4_FOUND)
+- list(APPEND PKGDEPS glibmm-2.4>=2.28.0)
+-else()
+- list(APPEND PKGDEPS glibmm-2.68>=2.68.0)
+-endif()
++list(APPEND PKGDEPS glibmm-2.68>=2.68.0)
+
+ if(ENABLE_FLOW)
+ list(APPEND PKGDEPS gstreamermm-1.0>=1.8.0)
diff --git a/sci-electronics/pulseview/metadata.xml b/sci-electronics/pulseview/metadata.xml
new file mode 100644
index 000000000000..9ba604dd5252
--- /dev/null
+++ b/sci-electronics/pulseview/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>embedded@gentoo.org</email>
+ <name>Embedded Gentoo</name>
+</maintainer>
+<upstream>
+ <remote-id type="github">sigrokproject/pulseview</remote-id>
+</upstream>
+<use>
+ <flag name="decode">Enable decoding of protocols while capturing</flag>
+</use>
+</pkgmetadata>
diff --git a/sci-electronics/pulseview/pulseview-0.4.2_p20250515.ebuild b/sci-electronics/pulseview/pulseview-0.4.2_p20250515.ebuild
new file mode 100644
index 000000000000..ae986fc6699a
--- /dev/null
+++ b/sci-electronics/pulseview/pulseview-0.4.2_p20250515.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+case ${PV} in
+*9999*)
+ EGIT_REPO_URI="https://github.com/sigrokproject/${PN}.git"
+ inherit git-r3
+ ;;
+*_p*)
+ COMMIT="e2fe9dfb91c7de85c410922ee9268c3f526bcc54"
+ SRC_URI="https://github.com/sigrokproject/${PN}/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT:0:7}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
+ ;;
+*)
+ SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
+ ;;
+esac
+
+DESCRIPTION="Qt based logic analyzer GUI for sigrok"
+HOMEPAGE="https://sigrok.org/wiki/PulseView"
+
+LICENSE="GPL-3"
+SLOT="0"
+if [[ ${PV} != *9999* ]]; then
+ KEYWORDS="~amd64 ~x86"
+fi
+IUSE="+decode static"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.68.0:2.68
+ dev-libs/boost:=
+ >=dev-libs/glib-2.28.0:2
+ dev-qt/qtbase:6[gui,widgets]
+ dev-qt/qtsvg:6
+ >=sci-libs/libsigrok-0.6.0_pre:=[cxx]
+ decode? ( >=sci-libs/libsigrokdecode-0.6.0_pre:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-qt/qttools:6[linguist]
+ virtual/pkgconfig
+"
+
+DOCS=( HACKING NEWS README )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.5.0-glibmm-2.68-required.patch"
+ "${FILESDIR}/${P}-boost-1.89.patch" # bug 963489
+)
+
+src_prepare() {
+ cmake_src_prepare
+ cmake_comment_add_subdirectory manual
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_WERROR=TRUE
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt5=ON
+ -DENABLE_DECODE=$(usex decode)
+ -DSTATIC_PKGDEPS_LIBS=$(usex static)
+ )
+ cmake_src_configure
+}
diff --git a/sci-electronics/pulseview/pulseview-9999.ebuild b/sci-electronics/pulseview/pulseview-9999.ebuild
new file mode 100644
index 000000000000..929e0bb4b944
--- /dev/null
+++ b/sci-electronics/pulseview/pulseview-9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+case ${PV} in
+*9999*)
+ EGIT_REPO_URI="https://github.com/sigrokproject/${PN}.git"
+ inherit git-r3
+ ;;
+*_p*)
+ COMMIT="e2fe9dfb91c7de85c410922ee9268c3f526bcc54"
+ SRC_URI="https://github.com/sigrokproject/${PN}/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT:0:7}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
+ ;;
+*)
+ SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
+ ;;
+esac
+
+DESCRIPTION="Qt based logic analyzer GUI for sigrok"
+HOMEPAGE="https://sigrok.org/wiki/PulseView"
+
+LICENSE="GPL-3"
+SLOT="0"
+if [[ ${PV} != *9999* ]]; then
+ KEYWORDS="~amd64 ~x86"
+fi
+IUSE="+decode static"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.68.0:2.68
+ dev-libs/boost:=
+ >=dev-libs/glib-2.28.0:2
+ dev-qt/qtbase:6[gui,widgets]
+ dev-qt/qtsvg:6
+ >=sci-libs/libsigrok-0.6.0:=[cxx]
+ decode? ( >=sci-libs/libsigrokdecode-0.6.0:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-qt/qttools:6[linguist]
+ virtual/pkgconfig
+"
+
+DOCS=( HACKING NEWS README )
+
+PATCHES=( "${FILESDIR}/${PN}-0.5.0-glibmm-2.68-required.patch" )
+
+src_prepare() {
+ cmake_src_prepare
+ cmake_comment_add_subdirectory manual
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_WERROR=TRUE
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt5=ON
+ -DENABLE_DECODE=$(usex decode)
+ -DSTATIC_PKGDEPS_LIBS=$(usex static)
+ )
+ cmake_src_configure
+}