Skip to content

Commit

Permalink
dev-embedded/stlink: Version bump
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov <[email protected]>
  • Loading branch information
alexxy committed Feb 15, 2019
1 parent e39c72b commit 66181f8
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-embedded/stlink/Manifest
Original file line number Diff line number Diff line change
@@ -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
36 changes: 36 additions & 0 deletions dev-embedded/stlink/stlink-1.5.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 66181f8

Please sign in to comment.