diff --git a/sci-electronics/openboardview-bin/Manifest b/sci-electronics/openboardview-bin/Manifest new file mode 100644 index 0000000000..0381fe20fd --- /dev/null +++ b/sci-electronics/openboardview-bin/Manifest @@ -0,0 +1 @@ +DIST openboardview_10.0.0-1_amd64.deb 1639918 BLAKE2B e335505cdd6f86802a2789628035cc2db855c63c8bd49ac05346ba0324e54e39bc453d322fe972b5ba0ea392b59c2f07138f1c1e8b076707dcaec5a3a9691ef2 SHA512 bc395dd79d079cdb8914358496aaaf2228c122c086af58cb73a60b722413a7526edb6048e8a5b1ab9b396529670c85f4c3e31984ea45c853c69555fa3582d0bc diff --git a/sci-electronics/openboardview-bin/metadata.xml b/sci-electronics/openboardview-bin/metadata.xml new file mode 100644 index 0000000000..54b9ff6935 --- /dev/null +++ b/sci-electronics/openboardview-bin/metadata.xml @@ -0,0 +1,15 @@ + + + + + yt+gentoo@sysv.in + tooknox + + + OpenBoardView is a Linux SDL/ImGui edition software for viewing .brd files. + Intended as a drop-in replacement for the "Test_Link" software and "Landrex". + + + OpenBoardView/OpenBoardView + + diff --git a/sci-electronics/openboardview-bin/openboardview-bin-10.0.0.ebuild b/sci-electronics/openboardview-bin/openboardview-bin-10.0.0.ebuild new file mode 100644 index 0000000000..01346120da --- /dev/null +++ b/sci-electronics/openboardview-bin/openboardview-bin-10.0.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker desktop xdg optfeature + +DESCRIPTION="Linux SDL/ImGui edition software for viewing .brd files." +HOMEPAGE="https://openboardview.org" + +SRC_URI="https://github.com/OpenBoardView/OpenBoardView/releases/download/${PV}/openboardview_${PV}-1_amd64.deb" + +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="strip test" + +QA_PREBUILT=" + usr/bin/* +" +RDEPEND=" + dev-db/sqlite:3 + media-libs/fontconfig + media-libs/libsdl2 + sys-libs/zlib + x11-libs/gtk+:3 +" +src_unpack() { + unpacker_src_unpack +} + +src_install() { + # install the primary executable + dobin "${S}"/usr/bin/openboardview + + # install desktop entry + domenu "${S}"/usr/share/applications/openboardview.desktop + + # install application icon + doicon -s scalable "${S}"/usr/share/icons/hicolor/scalable/apps/openboardview.svg + + # install metainfo and mimetype files + insinto /usr/share/metainfo + doins "${S}"/usr/share/metainfo/openboardview.appdata.xml + + insinto /usr/share/mime/packages + doins "${S}"/usr/share/mime/packages/openboardview.xml +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "converting legacy Microsoft Access-based .bv files via the bvconv.sh script" app-office/mdbtools +} + +pkg_postrm() { + xdg_pkg_postrm +}