diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 11:36:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 11:36:37 +0100 |
commit | d6fe3a53bdeea6b060d1755199cc2c27492dc14c (patch) | |
tree | 7bb8240ab620eafcfe59b3d1b45831bf45e12501 /dev-embedded/usbprog/usbprog-0.3.0_p20140828-r2.ebuild | |
parent | 4bbcd26e7cb1908fb98bb318bfaa13ea9e32d860 (diff) |
gentoo auto-resync : 10:04:2023 - 11:36:36
Diffstat (limited to 'dev-embedded/usbprog/usbprog-0.3.0_p20140828-r2.ebuild')
-rw-r--r-- | dev-embedded/usbprog/usbprog-0.3.0_p20140828-r2.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-embedded/usbprog/usbprog-0.3.0_p20140828-r2.ebuild b/dev-embedded/usbprog/usbprog-0.3.0_p20140828-r2.ebuild new file mode 100644 index 000000000000..a262a146260c --- /dev/null +++ b/dev-embedded/usbprog/usbprog-0.3.0_p20140828-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake readme.gentoo-r1 + +REV="293d559bac55f7c7130ea2769c703c68a19d62c2" + +DESCRIPTION="flashtool for the multi purpose programming adapter usbprog" +HOMEPAGE="https://github.com/bwalle/usbprog-tools https://www.aaabbb.de/FirmwareUsbprog/FirmwareUsbprog_en.php" +SRC_URI="https://github.com/bwalle/usbprog-tools/archive/${REV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gui minimal" + +RDEPEND=" + !minimal? ( + gui? ( dev-qt/qtwidgets:5 ) + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 + sys-libs/ncurses:= + sys-libs/readline:= + ) + virtual/libusb:1 +" +DEPEND="${RDEPEND}" +S="${WORKDIR}/usbprog-tools-${REV}" + +PATCHES=( + "${FILESDIR}/${P}_versions.xml.patch" +) + +DOC_CONTENTS=" +Please visit http://www.aaabbb.de/FirmwareUsbprog/FirmwareUsbprog_en.php +for additional info. +" + +src_configure() { + local mycmakeargs=( + -DBUILD_ONLY_CORE=$(usex minimal) + -DBUILD_GUI=$(usex gui) + -DUSE_QT5=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} |