mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
sci-electronics/openboardview-bin: new package, add 10.0.0
Signed-off-by: tooknox <yt+gentoo@sysv.in>
This commit is contained in:
1
sci-electronics/openboardview-bin/Manifest
Normal file
1
sci-electronics/openboardview-bin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST openboardview_10.0.0-1_amd64.deb 1639918 BLAKE2B e335505cdd6f86802a2789628035cc2db855c63c8bd49ac05346ba0324e54e39bc453d322fe972b5ba0ea392b59c2f07138f1c1e8b076707dcaec5a3a9691ef2 SHA512 bc395dd79d079cdb8914358496aaaf2228c122c086af58cb73a60b722413a7526edb6048e8a5b1ab9b396529670c85f4c3e31984ea45c853c69555fa3582d0bc
|
||||
15
sci-electronics/openboardview-bin/metadata.xml
Normal file
15
sci-electronics/openboardview-bin/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>yt+gentoo@sysv.in</email>
|
||||
<name>tooknox</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
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".
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">OpenBoardView/OpenBoardView</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user