diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-05-13 17:48:27 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-05-13 17:51:08 +0200 |
commit | 022e3abda43a0b5dfadd675f045c104d0cb6ebd9 (patch) | |
tree | ad8a3ba54e38ee2a6bda9e51d9b9098ced7ee7a2 /dev-util | |
parent | app-portage/repoman: fix 2.3.9 file.size.fatal (bug 655576) (diff) | |
download | gentoo-022e3abda43a0b5dfadd675f045c104d0cb6ebd9.tar.gz gentoo-022e3abda43a0b5dfadd675f045c104d0cb6ebd9.tar.bz2 gentoo-022e3abda43a0b5dfadd675f045c104d0cb6ebd9.zip |
dev-util/qstlink2: 1.2.3 Qt5-based version bump
- Use udev.eclass to fix rules.d install path
- DEPEND on libusb-1
Thanks-to: Boris Vingradov <no111u3@gmail.com>
Bug: https://bugs.gentoo.org/644378
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/qstlink2/Manifest | 2 | ||||
-rw-r--r-- | dev-util/qstlink2/qstlink2-1.2.3.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/qstlink2/Manifest b/dev-util/qstlink2/Manifest index 3020226d1bc0..f3c31401da7e 100644 --- a/dev-util/qstlink2/Manifest +++ b/dev-util/qstlink2/Manifest @@ -1 +1,3 @@ DIST qstlink2-1.0.3.tar.gz 661197 BLAKE2B 222b1c4b467ce0b745752ce76cc7978ce6af42074940552d9611b30f6a3cb80fcc1c343fcfea12a6c224c277e50446a22faf37938cfcbe56a1a6c681f9cfc760 SHA512 bd6d083623296cfcbc407e8c9c920de24efc91f508fb8bfe64d538ff776ed927cb89efba5c265c393b877cee995ed022b6ac51e081423b787cbcbb176215231b +DIST qstlink2-1.2.3.tar.gz 681169 BLAKE2B e1ebf6a30de3724eedcc5fa00f8a9a79e6fd038b6276dfc424a7d78f8b55b99173037c47fbdba85bbb69a7530682bd3616e185a1bb9882c686b8c3ee34105a7c SHA512 13c06a53f44acc99e620c89052fc2f128076e3aec1cac76ddcee76a49ed473d5ef816d77fc5be23d125bbb16306c176f54c2d611c88d2b9c6e7954752a96c7e8 +DIST qtusb-0.2.1.tar.gz 47928 BLAKE2B 5215e726c111d1835033848ee9d5e3d85c4a1d47be20d04423f5c1582251f75b0cf0272028d307a7a37df1f4533f04189f9660f62a0c5461c9ac803ee8d33aac SHA512 76e6df81d9bbd5725a113932506bd6541d0bb32301ead03d92faf1f0fa4dc68749e2728d8bf3fe8efefd00a3774b46f0c8f81be8028a2c5ceb6bc1b6d36da38d diff --git a/dev-util/qstlink2/qstlink2-1.2.3.ebuild b/dev-util/qstlink2/qstlink2-1.2.3.ebuild new file mode 100644 index 000000000000..f9dfe560686a --- /dev/null +++ b/dev-util/qstlink2/qstlink2-1.2.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +QTUSB_VER=0.2.1 +inherit qmake-utils udev + +DESCRIPTION="GUI and CLI ST-Link V2(Debugger/Programmer) client" +HOMEPAGE="https://github.com/fpoussin/QStlink2/" +SRC_URI="https://github.com/fpoussin/QStlink2/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/fpoussin/QtUsb/archive/v${QTUSB_VER}.tar.gz -> qtusb-${QTUSB_VER}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + virtual/libusb:1 +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/QStlink2-${PV}" + +src_prepare() { + rmdir QtUsb || die + mv "${WORKDIR}/QtUsb-${QTUSB_VER}" QtUsb || die + + default + + sed -i QStlink2.pro -e "s:/etc/udev:$(get_udevdir):" || die +} + +src_configure() { + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} |