sci-electronics/flexbv-free-bin: new package, add 5.3156

- also added FlexBV-Free-EULA

Signed-off-by: tooknox <yt+gentoo@sysv.in>
This commit is contained in:
tooknox
2026-06-22 11:37:58 +05:30
parent dd55d763b5
commit c638bb83d9
4 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST flexbv-free-5.3156-linux-x86_64.tar.gz 15357249 BLAKE2B 39f31431e6dc6f4a312d2fc26123c83875acd03958c66964875880e903d53d6b714e06329a950985197b92545fd5f96df7b70256aacf837dc303fef4f1b995d6 SHA512 96aac38ba79a4b9ca4884210aaf1ad44733c058354522cc28e4f75dea87349b590fe43c9053963720a00f4db75addff8056730a36c66f76a9c7d0afa67e939f8

View File

@@ -0,0 +1,55 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="Free version of the FlexBV boardview and schematic software"
HOMEPAGE="https://pldaniels.com/flexbv5/"
SRC_URI="https://pldaniels.com/flexbv5/releases/flexbv-free-${PV}-linux-x86_64.tar.gz"
S="${WORKDIR}/flexbv-free-${PV}-linux-x86_64"
LICENSE="FlexBV-Free-EULA"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror test strip"
QA_PREBUILT="
usr/bin/flexbv
"
RDEPEND="
media-libs/fontconfig
media-libs/libsdl2
sys-libs/zlib
virtual/opengl
"
src_install() {
# install binary
dobin flexbv
# install desktop file
domenu "${S}"/share/applications/flexbv.desktop
# install icon
doicon -s scalable "${S}"/share/icons/hicolor/scalable/apps/flexbv.svg
# install metainfo and mime files
insinto /usr/share/metainfo
doins "${S}"/share/appdata/flexbv.appdata.xml
insinto /usr/share/mime/packages
doins "${S}"/share/mime/packages/flexbv.xml
}
pkg_postinst() {
xdg_pkg_postinst
}
pkg_postrm() {
xdg_pkg_postrm
}

View 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">
FlexBV Free edition is a slimmed down product of the full licenced version.
It's a modern and cross platform alternative to existing boardview programs.
</longdescription>
<upstream>
<bugs-to>https://pldaniels.com</bugs-to>
</upstream>
</pkgmetadata>