Added bitscope ebuilds

This commit is contained in:
layman 2020-10-12 09:19:38 +02:00
parent f3f1c127a5
commit 55aeac27ba
4 changed files with 115 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST bitscope-dso_2.9.V23KG6ZT_amd64.deb 3650112 BLAKE2B 7c97b41da44a0970e70de1783fe37dbc6a90fc566b8650acb481cea708baa86daff91887b6c7193ee6d8357da4609cd2e2a4092cfb14cfc5a47a744c1df2f419 SHA512 10abadfa8b1e326d382f03adc8efc38d3a16020af557dd4369f0d9e6d74bef45856a2440f9d33657aea05cd82e70da2ed2b5e7158f8b67eff5b7d7aff1af940c
EBUILD bitscope-dso-2.9.ebuild 1135 BLAKE2B dc00d6f37912e81bbb090d850bc42ef90d92f70d12839ce81f2a490ce511b39ebb335898e1aa975fcf5d21d0e336da34310523ba31ea832719a4b0d1a4f3c31a SHA512 ddb2d200ab4315a74e0f092d703fa144a2e7157b31109a35063f07522d09b10871f7ade834900e22e8f4cc9576e4e358e09fbffcdc9ae98651bb9f14b4792dd2

View File

@ -0,0 +1,58 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop eutils udev unpacker xdg
VERSION_TAG="V23KG6ZT"
MY_PV="${PV}.${VERSION_TAG}"
MY_P="${PN}_${MY_PV}"
SRC_URI="amd64? ( http://bitscope.com/download/files/${MY_P}_amd64.deb )"
DESCRIPTION="BitScope DSO for the BitScope PC oscilloscopes."
HOMEPAGE="http://www.bitscope.com/software/dso"
IUSE=""
SLOT="0"
KEYWORDS="-* ~amd64"
LICENSE=""
RESTRICT=""
RDEPEND=">=dev-libs/atk-1.12.4
>=dev-libs/glib-2.12.0
sys-libs/libcap
>=x11-libs/cairo-1.2.4
x11-libs/gtk+:2
>=x11-libs/pango-1.14.0
x11-libs/libX11"
S="${WORKDIR}"
src_unpack() {
unpack_deb ${A}
}
src_prepare() {
default
sed -i "s/Icon=bitscope-dso\.png/Icon=bitscope-dso/" \
"${S}"/usr/share/applications/${PN}.desktop
gunzip -r "${S}"/usr/share/doc/${PN}/
}
src_install() {
insinto /etc/bitscope
doins -r /etc/bitscope
udev_dorules etc/udev/rules.d/77-bitscope.rules
dobin usr/bin/${PN}
dobin usr/bin/start-${PN}
dodoc -r usr/share/doc/${PN}/*
doicon usr/share/pixmaps/${PN}.png
domenu usr/share/applications/${PN}.desktop
}

View File

@ -0,0 +1,2 @@
DIST bitscope-logic_1.3.FC20FKZY_amd64.deb 1481286 BLAKE2B 95b6c522628a7909c7fdeaec4ec4de01bb22ce1e171619aa09c98221b5d0c38c5ff093d507d64c817d7c4b356a0c625a803706477b031efe34f262cd5ffe9445 SHA512 5b8d6d5199e0e24ec58b8930404e7a618a944eb3ce2f4ad2265df4e8853f7db3cf56fa1185f825e5d5d346cf7a373cd5b9789082d111a82521f7f13ccc08b36c
EBUILD bitscope-logic-1.3.ebuild 1088 BLAKE2B 3dd5b7cfb274d4c493ebaccfb9db2f2be13d2677e6cd93024ec5bd897c3078d6548212ad9f15ebb9cd36bdba8e3cae27b6fd1f5312e9a79afe33b790690ca5fc SHA512 d8e2ab60805ac135991ecff7fe74e95bc9d44866d4f91a373ecb9f5ae93cfb900af2c65045a42833c32bad1c1764b69cd455713730f87afb4414ea587d36bd01

View File

@ -0,0 +1,53 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils unpacker desktop xdg
VERSION_TAG="FC20FKZY"
MY_PV="${PV}.${VERSION_TAG}"
MY_P="${PN}_${MY_PV}"
SRC_URI="amd64? ( http://bitscope.com/download/files/${MY_P}_amd64.deb )"
DESCRIPTION="BitScope Logic is a logic analyzer designed for use with the BitScope PC oscilloscopes."
HOMEPAGE="http://www.bitscope.com/software/logic"
IUSE=""
SLOT="0"
KEYWORDS="-* ~amd64"
LICENSE=""
RESTRICT=""
RDEPEND=">=dev-libs/atk-1.12.4
>=dev-libs/glib-2.12.0
sys-libs/libcap
>=x11-libs/cairo-1.2.4
x11-libs/gtk+:2
>=x11-libs/pango-1.14.0
x11-libs/libX11"
S="${WORKDIR}"
src_unpack() {
unpack_deb ${A}
}
src_prepare() {
default
sed -i "s/Icon=bitscope-logic\.png/Icon=bitscope-logic/" \
"${S}"/usr/share/applications/${PN}.desktop
gunzip "${S}"/usr/share/doc/${PN}/changelog.gz
}
src_install() {
dobin usr/bin/${PN}
dobin usr/bin/start-${PN}
dodoc -r usr/share/doc/${PN}/*
doicon usr/share/pixmaps/${PN}.png
domenu usr/share/applications/${PN}.desktop
}