summaryrefslogtreecommitdiff
path: root/dev-embedded/ponyprog/ponyprog-3.1.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/ponyprog/ponyprog-3.1.2.ebuild')
-rw-r--r--dev-embedded/ponyprog/ponyprog-3.1.2.ebuild39
1 files changed, 14 insertions, 25 deletions
diff --git a/dev-embedded/ponyprog/ponyprog-3.1.2.ebuild b/dev-embedded/ponyprog/ponyprog-3.1.2.ebuild
index e70fbc5abc00..fd87de76d806 100644
--- a/dev-embedded/ponyprog/ponyprog-3.1.2.ebuild
+++ b/dev-embedded/ponyprog/ponyprog-3.1.2.ebuild
@@ -1,46 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
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
-"
+SRC_URI="https://github.com/lancos/${PN}/archive/v${PV}.tar.gz -> ${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
+DEPEND="
+ >=app-editors/qhexedit2-0.8.6_p20190316
+ dev-embedded/libftdi:1[cxx]
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"
-}
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ virtual/libusb:1
+"
+# blocker on libftdi-1.5-r2: see #775116
+RDEPEND="${DEPEND}
+ !=dev-embedded/libftdi-1.5-r2
+"
-src_configure() {
- local mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" )
- cmake_src_configure
-}
+PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
pkg_postinst() {
elog "To use the COM port in user mode (not as root), you need to"