diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2019-02-15 19:47:26 +0300 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2019-02-15 19:48:24 +0300 |
commit | 66181f88d233ca2a92ddb784d9c3da6c49605013 (patch) | |
tree | afe66fe5fe77fb4daad0b2139225bfe3c9124c67 | |
parent | net-misc/stargazer: Revbump for several bugs (diff) | |
download | gentoo-66181f88d233ca2a92ddb784d9c3da6c49605013.tar.gz gentoo-66181f88d233ca2a92ddb784d9c3da6c49605013.tar.bz2 gentoo-66181f88d233ca2a92ddb784d9c3da6c49605013.zip |
dev-embedded/stlink: Version bump
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
-rw-r--r-- | dev-embedded/stlink/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/stlink/stlink-1.5.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-embedded/stlink/Manifest b/dev-embedded/stlink/Manifest index 6d0b6cd5b4a6..ed02cc055d1d 100644 --- a/dev-embedded/stlink/Manifest +++ b/dev-embedded/stlink/Manifest @@ -1,2 +1,3 @@ DIST stlink-1.4.0.tar.gz 138765 BLAKE2B e7dddd51e4ff0c0342b3df62a10b33736acf6380afc449e3ac7d67b607bc217df05b02ddcfed73d83190b9a5cb02f5f1d01beaab5de5f3cd92214fd916793b9e SHA512 cb7617068a6dcaf7e8d0ccfb8b918f0373f6120398dab40a8b8d6567705871226684fd19aad92e4bab623310a5da13ea9fd70153b619f58d3534f0a4ff3a9886 DIST stlink-1.5.0.tar.gz 140484 BLAKE2B fa6f0a770ccc77629e4edcbd1a6112f8917ac84c00693756d4905b92c5ba83f445193e65c37cda5e5942605bb3da0fa6a6833af52d9572c73b0796ece754ffad SHA512 0e93c0fdcd377c6f2d452b9b6fa00b741dc0dd906673773ef09185aca4f63930db61e137bb28c47e34218edca9f7a80cd05352fb8f9d8e50b000c779cc36580a +DIST stlink-1.5.1.tar.gz 190182 BLAKE2B eaea0fbfb7ca3a42e3519e4a5568f254ef57c6223241b4dbeb116a2b1c54e960868bac5249774cfb84869ceb1e6d457d0fe449e682c566ba928ffa32ab1ff88e SHA512 cabf7f6f5a6f3655206694f21162e0d9ac663bea07354186836695da888f2ddebe3871ea56580d1d4781d4c3dbf8a8459ab87ccbcd6f181f8e651ef58e22a372 diff --git a/dev-embedded/stlink/stlink-1.5.1.ebuild b/dev-embedded/stlink/stlink-1.5.1.ebuild new file mode 100644 index 000000000000..73375ac68575 --- /dev/null +++ b/dev-embedded/stlink/stlink-1.5.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cmake-utils udev + +DESCRIPTION="stm32 discovery line linux programmer" +HOMEPAGE="https://github.com/texane/stlink" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/texane/stlink.git" + inherit git-r3 +else + SRC_URI="https://github.com/texane/stlink/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND="virtual/libusb:1 + >=dev-libs/glib-2.32.0:2 + x11-libs/gtk+:3" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DSTLINK_UDEV_RULES_DIR="$(get_udevdir)"/rules.d + -DSTLINK_MODPROBED_DIR="${EPREFIX}/etc/modprobe.d" + -DLIB_INSTALL_DIR:PATH="$(get_libdir)" + ) + + cmake-utils_src_configure +} |