summaryrefslogtreecommitdiff
path: root/dev-embedded/stlink
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:18:26 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:18:26 +0100
commit6c30cc2d5bd48ddbdbe8d75544899cd5dbfcaba4 (patch)
tree6ef7f6e1d48141a5da904d788b906da5bba4b697 /dev-embedded/stlink
parent62f82c107c3904ac6917ece47301d2999c7dd90e (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-embedded/stlink')
-rw-r--r--dev-embedded/stlink/Manifest2
-rw-r--r--dev-embedded/stlink/stlink-1.5.0.ebuild36
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-embedded/stlink/Manifest b/dev-embedded/stlink/Manifest
index 46984a917732..edd1c95d8595 100644
--- a/dev-embedded/stlink/Manifest
+++ b/dev-embedded/stlink/Manifest
@@ -1,5 +1,7 @@
AUX stlink-1.4.0-add-LIB_INSTALL_DIR-flag-630932.patch 1760 BLAKE2B b6f195ec18c1886dc561a85bea9792eedada56e9744f51af92f6dfb9f3303f3b6f038afcd60456462ffdc689d283e38f73a5058c8b4774257048f67976fc3407 SHA512 604a0c6e18dbd5a7645a2edc17754d8e6fce4f4d7fa595da1fa52c8e0c8178fcabe163195575e35c07933b04a5804d154b74fed19caec9c92427374905ddf0d0
DIST stlink-1.4.0.tar.gz 138765 BLAKE2B e7dddd51e4ff0c0342b3df62a10b33736acf6380afc449e3ac7d67b607bc217df05b02ddcfed73d83190b9a5cb02f5f1d01beaab5de5f3cd92214fd916793b9e SHA512 cb7617068a6dcaf7e8d0ccfb8b918f0373f6120398dab40a8b8d6567705871226684fd19aad92e4bab623310a5da13ea9fd70153b619f58d3534f0a4ff3a9886
+DIST stlink-1.5.0.tar.gz 140484 BLAKE2B fa6f0a770ccc77629e4edcbd1a6112f8917ac84c00693756d4905b92c5ba83f445193e65c37cda5e5942605bb3da0fa6a6833af52d9572c73b0796ece754ffad SHA512 0e93c0fdcd377c6f2d452b9b6fa00b741dc0dd906673773ef09185aca4f63930db61e137bb28c47e34218edca9f7a80cd05352fb8f9d8e50b000c779cc36580a
EBUILD stlink-1.4.0.ebuild 929 BLAKE2B 86439a1906feff17d6e0e3d89b33fa3c1824d8e0394b3a02d8fa3f66f03bfc75a9af3f7c1c9a24e9e1bec0666af27ded2e7d020d24ecfe226b686775aaed3743 SHA512 7d9b220d6dd5729b5b5756946d7f53b7595ceabad627cd8b03cbd782d42569c565b0d554cd970e11363ba2018e13f361bf9f465ee9d43304125f997d31550c20
+EBUILD stlink-1.5.0.ebuild 798 BLAKE2B 10185c4888c117b2d65cd6ec4e7456e35c253ba6dcd2976140323bb20a65df4bbd675d2d1bcc2baf1b4860eea1fc4ca72cb935dfe36f957065d25814fe54e43e SHA512 2443b473bcc0c32570cc98cd2a1046e77d6fd9684a056c756aea5c53fc29280f14d6784bb49deba9037bc3e07c3b2eeefccee1398b45a9175ab47a342878e696
EBUILD stlink-9999.ebuild 798 BLAKE2B d9f16816c4e8e9eef92b8645520b5b69761d15c4519196fc2bd773d55022236f4baf61b1b32f4ba302b90120639bb46ac29d9087e7a86e5ee8bcc15b3b535c8c SHA512 5cf360edbf4d74654389bd14c3ce1ffd30f70a19ec79b43bb8e4ba433a024e5deb96e6ca62c6052c6e2cfeb7566ed16f801e9b66330394d92373132718c76dcc
MISC metadata.xml 248 BLAKE2B 946598a9bc9f658d98c3282fd6affeb3834a4b6071beca852a2f2381d5c17799b6ed17ed427a8f6e10fb3f715cdf2aad9e4fed2886f0dd67dacfdffcd5137f80 SHA512 89d637e180ed3a2c2096be2210633dc5df0760a7d6acd7b2d2ad8a06d473943ee86bad7e74c7df238a50168d1da8044471713e9b044007b9c2f4eb604fb710d5
diff --git a/dev-embedded/stlink/stlink-1.5.0.ebuild b/dev-embedded/stlink/stlink-1.5.0.ebuild
new file mode 100644
index 000000000000..b733c93f5a36
--- /dev/null
+++ b/dev-embedded/stlink/stlink-1.5.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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/${PV}/${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
+}