app-misc/prog-express: bump to version 3.8.3
authorConrad Kostecki <conrad@kostecki.com>
Sat, 21 Sep 2019 20:40:45 +0000 (22:40 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Mon, 23 Sep 2019 17:08:51 +0000 (20:08 +0300)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/12996
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
app-misc/prog-express/Manifest
app-misc/prog-express/prog-express-3.8.3.ebuild [new file with mode: 0644]

index 91e532696e41c969f7f4f3c7c0744b892b439481..c36c04f0b286fce60de1d9be85852d014a0b87b7 100644 (file)
@@ -1,2 +1,4 @@
 DIST prog-express-3.7.8-1.amd64.deb 36468792 BLAKE2B 7edc5b4c9b7c145877298ac33db743960850d2fbd4cc33943612573277a32935dba15a531f13ad7d75309291cf74ca8f0b80b084dafd840f7831362315c6b8c5 SHA512 647549edd846330044bf34eb40436cc622c4e0871726a31049a93b032e5e1c4428231bee97a21cf75baeeade4e651f7d593ed0cdeb0698679582ff6a7f4293e2
 DIST prog-express-3.7.8-1.i386.deb 36468530 BLAKE2B 9e6e81546889a5892bce33168e26b067abe91ceecd9a77f8a0f4af788cbb9da3930e3c1fcf682d6b5aceda04bc84d7ddcf7f45ee4936be8833be4b5244f12541 SHA512 149ae0150d5f8cb99aec92485e4309973f425a87d5c46971b850c69263ea2cbf39df73025709327f80e8b01219114ef9b7219bad7647d947de3625e1bec4904b
+DIST prog-express-3.8.3-1.amd64.deb 37858252 BLAKE2B 0edc06e138fb06bf1d09cc8c1e0650fd1e9f3259f8738c8ec2d072914bc1a215eff60f13871b12ea3e650824c2b2e077edc617bd35e41329505343fdc8c18a0c SHA512 e8e7088eb98e4b63e875308c45ee9dbce8cae5d86ce82eff29a2a3ad2798d22f3621fa38ccc7a66f4e6bd3b71c063e1e793453665640e11ffd0848ec243519ad
+DIST prog-express-3.8.3-1.i386.deb 37858512 BLAKE2B e812e44f7d440a7891e30fc3d9230daf034b7aa0eef800388eeccff50ef9a8dd22e5e989e7d8b6f5d07e77fe317d0fd01dd9e21e7f6510adf2e412c09ce7ac77 SHA512 b5805add8c51c6eeda2ba76ebd3a33df753527a60f81ace515e90945b70c5d720dac5d8dd87c0c381b52a690d2501b618e81cde51320759b639ec9bd143c422f
diff --git a/app-misc/prog-express/prog-express-3.8.3.ebuild b/app-misc/prog-express/prog-express-3.8.3.ebuild
new file mode 100644 (file)
index 0000000..d9dfb64
--- /dev/null
@@ -0,0 +1,82 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop udev unpacker xdg-utils
+
+DESCRIPTION="A modern and intuitive control software for the Batronix USB programming devices"
+HOMEPAGE="https://www.batronix.com"
+SRC_URI="
+       amd64? ( https://www.batronix.com/exe/Batronix/Prog-Express/deb/${P}-1.amd64.deb )
+       x86? ( https://www.batronix.com/exe/Batronix/Prog-Express/deb/${P}-1.i386.deb )
+"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="prog-express"
+SLOT="0"
+
+RDEPEND="
+       dev-db/sqlite:3
+       dev-dotnet/gtk-sharp:2
+       dev-dotnet/libgdiplus
+       dev-lang/mono
+       dev-lang/mono-basic
+       virtual/libusb:1
+       virtual/udev
+"
+
+S="${WORKDIR}"
+
+DOCS=(
+       "usr/share/doc/prog-express/changelog"
+       "usr/share/doc/prog-express/manuals"
+)
+
+QA_PREBUILT="
+       usr/bin/bxusb
+       usr/bin/bxusb-gui
+       usr/bin/prog-express
+       usr/sbin/bxfxload
+"
+
+src_unpack() {
+       unpack_deb ${A}
+}
+
+src_prepare() {
+       default
+
+       gunzip usr/share/doc/prog-express/changelog.gz usr/share/man/man1/*.gz || die
+}
+
+src_install() {
+       dobin usr/bin/{bxusb,bxusb-gui,prog-express}
+       dosbin usr/sbin/bxfxload
+
+       insinto /usr/lib
+       doins -r usr/lib/bxusb usr/lib/prog-express
+
+       insinto /usr/lib/prog-express
+       doins "${FILESDIR}"/pe.exe.config
+
+       udev_dorules lib/udev/rules.d/85-batronix-devices.rules
+
+       doicon usr/share/pixmaps/prog-express.png
+
+       domenu usr/share/applications/prog-express.desktop
+
+       doman usr/share/man/man1/{bxfxload,bxusb,bxusb-gui,prog-express}.1
+}
+
+pkg_postinst() {
+       udev_reload
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       udev_reload
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}