Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/prog-express/
Date: Sun, 07 Feb 2021 00:27:20
Message-Id: 1612657564.985c906b4388e3c2c1aafa9acf88e36da8d3de1a.conikost@gentoo
1 commit: 985c906b4388e3c2c1aafa9acf88e36da8d3de1a
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 7 00:26:04 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 7 00:26:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=985c906b
7
8 app-misc/prog-express: drop dev-dotnet/gtk-sharp
9
10 It seems, that this dependency isn't needed at all anymore,
11 as upstream dropped it and it runs fine here without it.
12 So removing it.
13
14 Closes: https://bugs.gentoo.org/769080
15 Package-Manager: Portage-3.0.14, Repoman-3.0.2
16 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
17
18 app-misc/prog-express/prog-express-3.8.8-r1.ebuild | 81 ++++++++++++++++++++++
19 1 file changed, 81 insertions(+)
20
21 diff --git a/app-misc/prog-express/prog-express-3.8.8-r1.ebuild b/app-misc/prog-express/prog-express-3.8.8-r1.ebuild
22 new file mode 100644
23 index 00000000000..b6202108f46
24 --- /dev/null
25 +++ b/app-misc/prog-express/prog-express-3.8.8-r1.ebuild
26 @@ -0,0 +1,81 @@
27 +# Copyright 1999-2021 Gentoo Authors
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=7
31 +
32 +inherit desktop udev unpacker xdg-utils
33 +
34 +DESCRIPTION="A modern and intuitive control software for the Batronix USB programming devices"
35 +HOMEPAGE="https://www.batronix.com"
36 +SRC_URI="
37 + amd64? ( https://www.batronix.com/exe/Batronix/Prog-Express/deb/${P}-1.amd64.deb )
38 + x86? ( https://www.batronix.com/exe/Batronix/Prog-Express/deb/${P}-1.i386.deb )
39 +"
40 +
41 +KEYWORDS="-* amd64 x86"
42 +LICENSE="prog-express"
43 +SLOT="0"
44 +
45 +RDEPEND="
46 + dev-db/sqlite:3
47 + dev-dotnet/libgdiplus
48 + dev-lang/mono
49 + dev-lang/mono-basic
50 + virtual/libusb:1
51 + virtual/udev
52 +"
53 +
54 +S="${WORKDIR}"
55 +
56 +DOCS=(
57 + "usr/share/doc/prog-express/changelog"
58 + "usr/share/doc/prog-express/manuals"
59 +)
60 +
61 +QA_PREBUILT="
62 + usr/bin/bxusb
63 + usr/bin/bxusb-gui
64 + usr/bin/prog-express
65 + usr/sbin/bxfxload
66 +"
67 +
68 +src_unpack() {
69 + unpack_deb ${A}
70 +}
71 +
72 +src_prepare() {
73 + default
74 +
75 + gunzip usr/share/doc/prog-express/changelog.gz usr/share/man/man1/*.gz || die
76 +}
77 +
78 +src_install() {
79 + dobin usr/bin/{bxusb,bxusb-gui,prog-express}
80 + dosbin usr/sbin/bxfxload
81 +
82 + insinto /usr/lib
83 + doins -r usr/lib/bxusb usr/lib/prog-express
84 +
85 + insinto /usr/lib/prog-express
86 + doins "${FILESDIR}"/pe.exe.config
87 +
88 + udev_dorules lib/udev/rules.d/85-batronix-devices.rules
89 +
90 + doicon usr/share/pixmaps/prog-express.png
91 +
92 + domenu usr/share/applications/prog-express.desktop
93 +
94 + doman usr/share/man/man1/{bxfxload,bxusb,bxusb-gui,prog-express}.1
95 +}
96 +
97 +pkg_postinst() {
98 + udev_reload
99 + xdg_desktop_database_update
100 + xdg_icon_cache_update
101 +}
102 +
103 +pkg_postrm() {
104 + udev_reload
105 + xdg_desktop_database_update
106 + xdg_icon_cache_update
107 +}