From 4758e7599fa4e672403650ee1156304b313864c1 Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Sun, 6 Aug 2023 12:13:53 +0800 Subject: dev-embedded/libftd2xx: add 1.4.27 Signed-off-by: Huang Rui Signed-off-by: Viorel Munteanu --- dev-embedded/libftd2xx/Manifest | 3 ++ dev-embedded/libftd2xx/libftd2xx-1.4.27.ebuild | 38 ++++++++++++++++++++++++++ dev-embedded/libftd2xx/metadata.xml | 13 ++++++++- 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 dev-embedded/libftd2xx/libftd2xx-1.4.27.ebuild (limited to 'dev-embedded') diff --git a/dev-embedded/libftd2xx/Manifest b/dev-embedded/libftd2xx/Manifest index 5ad4959cd384..e0157736970f 100644 --- a/dev-embedded/libftd2xx/Manifest +++ b/dev-embedded/libftd2xx/Manifest @@ -1,3 +1,6 @@ +DIST libftd2xx-arm-v6-hf-1.4.27.tar.gz 629185 BLAKE2B 31a94f0bfb5fd66c603a1074ac8286f44a35155f77deab4b9f71485249073faa8a2ff4b448baab6153ea9d84e2f89b45629cb8e738e14f066bc847fc0f476b68 SHA512 80ad93a90e4a112f8a58267c9ff80e5483a45d60869eb02fa82a56b452a860ef68f2086ccb51f71a5f4d5b4dbbf30a85a6aac82a7a27b5337b9693535184387b DIST libftd2xx-arm-v6-hf-1.4.8.tar.gz 882724 BLAKE2B 4ffe647272467698cfe10a2ef201f8adb4bc991df517945ee8f057a07e55c4804bc4d541b6e2bd523fc4f6375b0a28ae7241fdafaed9eae61739d83d0327540a SHA512 bd07f57f9a75c2195aaf71ed1c229e04256a9c9a59f3d2e8f2111bef8a1c58c05457b5d04d7a8f77f9daf076ce3f0b77e317ff1cedce4e3cd4146422cd5cf634 DIST libftd2xx-i386-1.4.8.tar.gz 891331 BLAKE2B 742be8418ac598b0c4b6b1e4be99a57c85e70310c2a15936dba3a765b0168eac37a080619ed92816a96f93106f96b812545d1cf212f5d6d32b03e5100870f6a7 SHA512 d66415b9ecdc2b38370c2c6b97e5d14c3891910ceaf5aee2740b2e893891c4f2ebf395960748d55508f4b63edd3d829d9c0020898c1b83b453496d18b4a85528 +DIST libftd2xx-x86_32-1.4.27.tar.gz 645954 BLAKE2B 11c4268f6a5d73609a596fcdf04844a4de1c1647aa713a0aa78fb794d81101020cf06a26e86a72e5aeac68be9133a32fc0b827b644c844a3c1b8e03a8da53e08 SHA512 22623d49eca62d6aebe1c9b1cdd2c74e121983518e5e0a331bbc2375788b19967c9ceb2699ca07b9805930e317172cdfae5c37fba118060a96a2d86f0a19752b +DIST libftd2xx-x86_64-1.4.27.tar.gz 649157 BLAKE2B 7751002bb5920aa3746b92d5349b93e1c2c205f2c2cf46e73c13a823ce846067adeb07d0416a1b606f9554a703290297e205d30ea3db7e60a1b1189dca963246 SHA512 1eccbd69cd29716c1024f46564fa2c8f4a21795fd432448fed156b55c1f0ad5fc5c869ebd450e82774b65ce96a27f5f34843036c6843f57b083043139aabd38d DIST libftd2xx-x86_64-1.4.8.tar.gz 898269 BLAKE2B e491b58f66ec64014511469e7eb0a628e799ffa4cc52cb94ca66c082dbc56793e3435a80bde7433ce1bea96eea1a52461606ce78a9b2e447f3f9c5a7faef1f1b SHA512 b738b764bcebb5f93f5a968b266547b8775cbc72df8587bfcf67591ce95557b6a43dce2f5dbd9de451f8c9421ec41c25c8fb9bed37b76aec4cd5bac854d4af06 diff --git a/dev-embedded/libftd2xx/libftd2xx-1.4.27.ebuild b/dev-embedded/libftd2xx/libftd2xx-1.4.27.ebuild new file mode 100644 index 000000000000..b0c8a449b844 --- /dev/null +++ b/dev-embedded/libftd2xx/libftd2xx-1.4.27.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Library that allows a direct access to a USB device" +HOMEPAGE="https://www.ftdichip.com/drivers/d2xx-drivers/" +# NOTE: We could include other arm versions here too. +SRC_URI=" + amd64? ( https://ftdichip.com/wp-content/uploads/2022/07/${PN}-x86_64-${PV}.tgz -> ${PN}-x86_64-${PV}.tar.gz ) + arm? ( https://ftdichip.com/wp-content/uploads/2022/07/${PN}-arm-v6-hf-${PV}.tgz -> ${PN}-arm-v6-hf-${PV}.tar.gz ) + x86? ( https://ftdichip.com/wp-content/uploads/2022/07/${PN}-x86_32-${PV}.tgz -> ${PN}-x86_32-${PV}.tar.gz ) +" +S="${WORKDIR}" + +LICENSE="FTDI LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="examples" + +QA_PREBUILT="*" + +src_install() { + cd release/build || die + + dolib.so ${PN}.so.${PV} + dosym ${PN}.so.${PV} /usr/$(get_libdir)/${PN}.so.${PV:0:1} + dosym ${PN}.so.${PV:0:1} /usr/$(get_libdir)/${PN}.so + insinto /usr/include + doins "${S}"/release/ftd2xx.h "${S}"/release/WinTypes.h + + if use examples ; then + docinto sample + dodoc -r "${S}"/release/examples + fi + + dodoc "${S}"/release/ReadMe.txt +} diff --git a/dev-embedded/libftd2xx/metadata.xml b/dev-embedded/libftd2xx/metadata.xml index 85e4ed814fa2..f83e8b333935 100644 --- a/dev-embedded/libftd2xx/metadata.xml +++ b/dev-embedded/libftd2xx/metadata.xml @@ -1,5 +1,16 @@ - + + vowstar@gmail.com + Huang Rui + + + embedded@gentoo.org + Embedded Gentoo + + + proxy-maint@gentoo.org + Proxy Maintainers + -- cgit v1.2.3-65-gdbad