This commit is contained in:
layman
2022-02-07 17:07:41 +01:00
parent 5118b384ef
commit 59d04db01b
15 changed files with 146 additions and 146 deletions
+2
View File
@@ -0,0 +1,2 @@
EBUILD stlink-9999.ebuild 835 BLAKE2B 35bcb3ca6902eaee5955c1181e1a59ce5c610441398e7ee08225ebdb14ab103e060d7a68210e6ad888cc1beda4878e6cca7d73e210a5aae2399da9f5dc2c00e0 SHA512 d7b805cb0fdcd6fe52d2cc02f46119cb4b74ff8a30f14e4f6f785ffa05b944cbaead3b6a39a822dd603d295378070f57f24b74c75072122191f4ee798695bd9e
MISC metadata.xml 249 BLAKE2B 0d8c6b8e9873180a796f77c5194270389ae642d0d888d7fa1bbada89861dc1ba1bd9f238acd76f7a07a3eb694ac8bdb19927012814a03ed8d3e87f40676979d1 SHA512 1ac8ddbe837cb8db85bb6e4ee59a6e98554c04231c54cb5158fbe7dda3230aaeb02ab66ff374f5bb348e84159588b0740c43acd99ed590939db70bbd2f15d265
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alexxy@gentoo.org</email>
<name>Alexey Shvetsov</name>
</maintainer>
</pkgmetadata>
+36
View File
@@ -0,0 +1,36 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit udev xdg cmake
DESCRIPTION="stm32 discovery line linux programmer"
HOMEPAGE="https://github.com/stlink-org/stlink"
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/stlink-org/stlink.git"
inherit git-r3
else
SRC_URI="https://github.com/stlink-org/stlink/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="BSD"
SLOT="0"
RDEPEND="virtual/libusb:1
>=dev-libs/glib-2.32.0:2
x11-libs/gtk+:3"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_configure() {
local mycmakeargs=(
-DSTLINK_UDEV_RULES_DIR="$(get_udevdir)"/rules.d
-DSTLINK_MODPROBED_DIR="${EPREFIX}/etc/modprobe.d"
-DSTLINK_STATIC_LIB=OFF
-DLIB_INSTALL_DIR:PATH="$(get_libdir)"
)
cmake_src_configure
}