diff options
Diffstat (limited to 'dev-util/qstlink2')
-rw-r--r-- | dev-util/qstlink2/Manifest | 3 | ||||
-rw-r--r-- | dev-util/qstlink2/qstlink2-1.2.3.ebuild | 45 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/qstlink2/Manifest b/dev-util/qstlink2/Manifest index da20563f7422..2370312ad92b 100644 --- a/dev-util/qstlink2/Manifest +++ b/dev-util/qstlink2/Manifest @@ -1,3 +1,6 @@ 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 EBUILD qstlink2-1.0.3.ebuild 496 BLAKE2B 6281611b2b87e4cbe52d2fc875cfd35e5219d78e5efea63125839dc43a5688fad48dc8c3d020ad2165df3453b53cbd5b67228c1ca49a6de91876e0475be0e9fc SHA512 b23d8241e1c78908a02b98b63cfcc5b8c032ddae3bf18f0fd7150d66db4f1cd6d24d52685aa136b7cb7c69e45b4666e70539ca947a7416dc6a1a5e86b4b860b4 +EBUILD qstlink2-1.2.3.ebuild 901 BLAKE2B e638f422c7a4507c932bfa62ac5b317b05201bd738fd02aee2e40cc0dfcb6692bbad8784022bdd895ab73cad812f5c7815c7d68450f7e700a47ee759d1312889 SHA512 f99777deb69dc7a15dd1493cc790517f64171bb6216f1d1f89475ee08546111330ca08f7e43f5a66db1d3bf41a35b2444bf166e778e5ea7ca9a38ed2fec0c840 MISC metadata.xml 626 BLAKE2B ba349e967f446ed21c1df37f7433be4e009f28a161745fbc3b886544820f17b4e0c3fce00f411b2e0308106d0c19f821ef3ce83e0c44b8e522640b13081131a4 SHA512 5b086323c16218c71c03a9dff91e7c95a3be54c82a871ce3e653a5208876c08d18e4292e9126e49224e65b93315ec2e3ae82a09eede155c5f705e432ac8603a1 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 +} |