diff options
author | Martin Gysel <me@bearsh.org> | 2020-02-15 23:52:45 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-07 13:13:46 +0200 |
commit | e2b7a6e1f367d473880f5a5466f0712eebfe4e53 (patch) | |
tree | 46201fac69942f72bc980f6f80666aeca0900fa9 /dev-embedded/ponyprog/ponyprog-3.1.2.ebuild | |
parent | dev-util/cppunit: drop 1.14.0 (diff) | |
download | gentoo-e2b7a6e1f367d473880f5a5466f0712eebfe4e53.tar.gz gentoo-e2b7a6e1f367d473880f5a5466f0712eebfe4e53.tar.bz2 gentoo-e2b7a6e1f367d473880f5a5466f0712eebfe4e53.zip |
dev-embedded/ponyprog: 3.1.2 version bump
- switch to eapi7 and cmake.eclass
- use forked qhexedit2 but as internal copy
- add dep on libusb and libftdi
Bug: https://bugs.gentoo.org/696626
Signed-off-by: Martin Gysel <me@bearsh.org>
Closes: https://github.com/gentoo/gentoo/pull/19870
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-embedded/ponyprog/ponyprog-3.1.2.ebuild')
-rw-r--r-- | dev-embedded/ponyprog/ponyprog-3.1.2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-embedded/ponyprog/ponyprog-3.1.2.ebuild b/dev-embedded/ponyprog/ponyprog-3.1.2.ebuild new file mode 100644 index 000000000000..e70fbc5abc00 --- /dev/null +++ b/dev-embedded/ponyprog/ponyprog-3.1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +QHEXEDIT2_HASH="64f50820118c450ab49ae63bfd9b143eb1971058" + +DESCRIPTION="EEPROM and microcontroller programmer/flasher" +HOMEPAGE="https://github.com/lancos/ponyprog/" +SRC_URI="https://github.com/lancos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/lancos/qhexedit2/archive/${QHEXEDIT2_HASH}.tar.gz -> qhexedit2-${P}.tar.gz +" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +# blocker on libftdi-1.5-r2: see #775116 +RDEPEND="dev-embedded/libftdi:1[cxx] + !=dev-embedded/libftdi-1.5-r2 + virtual/libusb:1 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtprintsupport:5" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1.1-fix-build-system.patch +) + +src_unpack() { + default + mv qhexedit2-*/src ${P}/qhexedit2/ || die "moving qhexedit2 failed" +} + +src_configure() { + local mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" ) + cmake_src_configure +} + +pkg_postinst() { + elog "To use the COM port in user mode (not as root), you need to" + elog "be in the 'uucp' group." + elog + elog "To use the LPT port in user mode (not as root) you need a kernel with" + elog "ppdev, parport and parport_pc compiled in or as modules. You need the" + elog "rights to write to /dev/parport? devices." +} |