New embedded tools

This commit is contained in:
layman 2020-02-13 21:55:56 +01:00
parent 486f6c6eaf
commit 4f9689ee8c
4 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST tytools-0.9.0.tar.gz 1141496 BLAKE2B b759620458bcdfc87fae5f684400ed3c488b4d1f9ed1ca9d002b3a4b8a01178db20c75cec6702a6d5652ef40c0a4420dcb42c202ceb9ffbad840834b3ec0bb97 SHA512 680abc84237755b1f7020eb9040513f99fde05ef0a4a38aaba830e6f02bd952988e4a31e83fdafaafafc6704c6bb2168b65617c472cdef0c9f14a586752069e7
EBUILD tytools-0.9.0.ebuild 685 BLAKE2B cef01695819c086a87cffa903386041a6b9ff4157c5c0db5ca45edb4747d63edd4ebbc3c0a7b75cb74d4b3d0ed858a03efc8b16851785e65e2084f109fb5fd9d SHA512 75bb8882ec6fc55a518d2a716be193a1bba7ad8af7515010c52a93fe5d995beaafbf269bb7f650d0b3d09e949547a07c3c65480f12ab91d8705d3c7dbf255744

View File

@ -0,0 +1,34 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="Collection of tools to manage Teensy boards"
HOMEPAGE="https://koromix.dev/tytools"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="git@github.com:Koromix/${PN}.git"
else
SRC_URI="https://github.com/Koromix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
fi
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
BDEPEND="
virtual/pkgconfig
"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtprintsupport:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
"

View File

@ -0,0 +1 @@
EBUILD xc3sprog-9999.ebuild 906 BLAKE2B 9724e44d038605e3db97343299c70195cf8becd1a44d804bbc5a6ffffa2869935797bb22a27c1786b5b62048debeabd40fa7c514b9721cf9179a8432e4bd338e SHA512 e8c218fba5bcdea224cced84b883b07ec4588e057045f84bd3c72400996a15ac2b6a5ec436e35af1fb34ff14db4e117fd3dc57b61a767ffeafdf9e9bcf6ffd7a

View File

@ -0,0 +1,39 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
ESVN_REPO_URI="svn://svn.code.sf.net/p/xc3sprog/code/trunk"
inherit subversion cmake-utils
DESCRIPTION="A suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs"
HOMEPAGE="http://xc3sprog.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="-ftd2xx"
DEPEND="!ftd2xx? ( dev-embedded/libftdi )
ftd2xx? ( dev-embedded/libftd2xx )
virtual/libusb:0"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e '/if(EXISTS/a set(VERSION_STRING "Gentoo")' \
-e '/if(EXISTS/,/endif(EXISTS/d' CMakeLists.txt || die
sed -i -e 's#usr/lib#opt/lib64#' FindlibFTD2XX.cmake || die
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_use ftd2xx)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
insinto /usr/share/${PF}/
doins -r bscan_spi
}