net-wireless/editcp-bin 1.0.28->1.0.31

This commit is contained in:
Rick Farina (Zero_Chaos) 2022-08-17 16:26:17 -04:00
parent b26b77e6a3
commit 79166161e5
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 3 additions and 68 deletions

View file

@ -1,2 +1 @@
DIST editcp-1.0.27.tar.xz 29137648 BLAKE2B 98a8b3e589ba87d8703445329c490750c1573e0434b709f54b760c80a73ef30b1a3b5d7a1200484ca4097a9e7e1ca74d2bed59faf4ee15071e4a0dab350b1ba6 SHA512 2d5500465a6b7e9cbc58d7c1d0835ebbc2fdf2fff140e697e80d8655f34123deaf7becb06afad51c4c4ba40033ed6cf6861c2758e7267690985c2b0d054b7221
DIST editcp-1.0.28.tar.xz 29151248 BLAKE2B aa267e22e452ee92742ebc8d09e4c28c3788252172f55d7c992cdfc740a674e56bc41f43517ebd3d7d6ebbd500952ff6741952d855a9f6427ed7fbd17dcc4318 SHA512 0f6469f3bf6cac051302f1342217e80559d711aca5439559d7853b4ca13b4511a3abe4f60a113d4f32b0a93a88964d6751df3ad5953e0362238e69fc845dfd9e
DIST editcp-1.0.31.tar.xz 29160292 BLAKE2B ecc0ced7b75c60a6d8fb233ffa25d9a4a32d1567fc1efd1ea8fa08fbec05fc12f2d9512086f73f01bc6c63b88772bdcbb1b3346f11006afa0967e2c1b1b02d52 SHA512 920e4bcc74872b587bc41a6ad2a9aff288aa67c0d82873ac4d2f17982123f978f862cf46521df557dac3793fc58ab09c23876928722c9c4f04c12067bb8c0c3e

View file

@ -1,64 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop udev xdg
MY_PN="${PN%-bin}"
DESCRIPTION="Codeplug editor for the MD-380/MD-390/MD40/MD-UV380/MD-UV390 DMR radios"
HOMEPAGE="https://www.farnsworth.org/dale/codeplug/editcp"
SRC_URI="https://www.farnsworth.org/dale/codeplug/editcp/downloads/linux/editcp-${PV}.tar.xz
https://www.farnsworth.org/dale/codeplug/editcp/downloads/linux/previous/editcp-${PV}.tar.xz"
KEYWORDS="~amd64"
LICENSE="GPL-3"
SLOT="0"
RESTRICT="strip"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtserialport:5
dev-libs/libpcre:=
!net-wireless/editcp
virtual/libusb:1"
QA_DT_NEEDED="opt/${MY_PN}/(lib|plugins/.*)/lib.*[.]so[.][0-9]\+"
S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
default
sed -i \
-e "s|^dirname=\(.*\)|dirname=/opt/${MY_PN}|" \
-e "s|\(\"\$dirname/\$appname\" \"\$@\"\)|exec \1|" ${MY_PN}.sh || die
rm install
}
src_install() {
insinto "/opt/${MY_PN}"
insopts -m0755
doins -r lib/ plugins/
doins *.sh editcp
dosym "../${MY_PN}/${MY_PN}.sh" "/opt/bin/${MY_PN}"
udev_dorules 99-md380.rules
make_desktop_entry $MY_PN "Editcp (bin)" $MY_PN "Utility"
}
pkg_postinst() {
xdg_desktop_database_update
udev_reload
}
pkg_postrm() {
xdg_desktop_database_update
udev_reload
}

View file

@ -1,7 +1,7 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit desktop udev xdg
@ -19,11 +19,11 @@ SLOT="0"
RESTRICT="strip"
RDEPEND="
dev-qt/qtlocation:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtserialport:5
dev-libs/libpcre:=
!net-wireless/editcp
virtual/libusb:1"
QA_DT_NEEDED="opt/${MY_PN}/(lib|plugins/.*)/lib.*[.]so[.][0-9]\+"