diff options
Diffstat (limited to 'dev-util/qstlink2')
-rw-r--r-- | dev-util/qstlink2/Manifest | 4 | ||||
-rw-r--r-- | dev-util/qstlink2/metadata.xml | 20 | ||||
-rw-r--r-- | dev-util/qstlink2/qstlink2-1.2.3.ebuild | 45 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-util/qstlink2/Manifest b/dev-util/qstlink2/Manifest new file mode 100644 index 000000000000..5fc1f1ee4678 --- /dev/null +++ b/dev-util/qstlink2/Manifest @@ -0,0 +1,4 @@ +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.2.3.ebuild 899 BLAKE2B b1d806b3e66a3903bb89fe8b7ea327bef879f08a4d073cafe64dae432ca2abb261e73f6775e213615002cd967220436ccdb1a13ed950c0ea42317620adfeb9f6 SHA512 76821723e8d535eacf61cc7519922ef064f98a04a8f2a22263a3d2e7c01c6bdf99e1afe3088e20ef4b6de75e1c6b5648cc953cd76184eef6944a2b3159aba63f +MISC metadata.xml 626 BLAKE2B ba349e967f446ed21c1df37f7433be4e009f28a161745fbc3b886544820f17b4e0c3fce00f411b2e0308106d0c19f821ef3ce83e0c44b8e522640b13081131a4 SHA512 5b086323c16218c71c03a9dff91e7c95a3be54c82a871ce3e653a5208876c08d18e4292e9126e49224e65b93315ec2e3ae82a09eede155c5f705e432ac8603a1 diff --git a/dev-util/qstlink2/metadata.xml b/dev-util/qstlink2/metadata.xml new file mode 100644 index 000000000000..a8644ee61d15 --- /dev/null +++ b/dev-util/qstlink2/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>no111u3@gmail.com</email> + <name>Boris Vinogradov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + This is a ST-Link V2 (Debugger/Programmer) client developped for Linux, OSX and Windows. + + It is developped using QT and LibUsb/WinUsb. + </longdescription> + <upstream> + <remote-id type="github">mobyfab/qstlink2</remote-id> + </upstream> +</pkgmetadata> 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..680f49ef0ce4 --- /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 +} |